1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1633 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1634 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1635 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1636 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1638 #include <wx/checklst.h>
1641 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1642 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1644 wxPyClientData
* data
= new wxPyClientData(clientData
);
1645 self
->Insert(item
, pos
, data
);
1647 self
->Insert(item
, pos
);
1649 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1651 self
->GetSelections(lst
);
1652 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1653 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1654 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1658 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1660 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1661 self
->GetItem(item
)->SetTextColour(c
);
1664 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1666 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1667 self
->GetItem(item
)->SetBackgroundColour(c
);
1670 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1672 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1673 self
->GetItem(item
)->SetFont(f
);
1676 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1678 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1684 } else if (target
== Py_None
) {
1688 if (!PyTuple_Check(target
)) {
1690 target
= PyTuple_New(1);
1691 PyTuple_SetItem(target
, 0, o2
);
1693 o3
= PyTuple_New(1);
1694 PyTuple_SetItem(o3
, 0, o
);
1697 target
= PySequence_Concat(o2
, o3
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1751 #include <wx/slider.h>
1754 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1755 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1757 #if !wxUSE_TOGGLEBTN
1758 // implement dummy items for platforms that don't have this class
1760 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1762 class wxToggleButton
: public wxControl
1765 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1766 const wxPoint
&, const wxSize
&, long,
1767 const wxValidator
&, const wxString
&)
1768 { wxPyRaiseNotImplemented(); }
1771 { wxPyRaiseNotImplemented(); }
1775 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1777 SWIGINTERNSHORT PyObject
*
1778 SWIG_From_unsigned_SS_long(unsigned long value
)
1780 return (value
> LONG_MAX
) ?
1781 PyLong_FromUnsignedLong(value
)
1782 : PyInt_FromLong((long)(value
));
1785 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1786 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1787 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1789 Py_INCREF(udata
->m_obj
);
1790 return udata
->m_obj
;
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1797 self
->SetClientData(new wxPyUserData(clientData
));
1799 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1800 wxPyUserData
* udata
= NULL
;
1801 if (clientData
&& clientData
!= Py_None
)
1802 udata
= new wxPyUserData(clientData
);
1803 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1804 shortHelp
, longHelp
, udata
);
1806 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1807 wxPyUserData
* udata
= NULL
;
1808 if (clientData
&& clientData
!= Py_None
)
1809 udata
= new wxPyUserData(clientData
);
1810 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1811 shortHelp
, longHelp
, udata
);
1813 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1814 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1816 Py_INCREF(udata
->m_obj
);
1817 return udata
->m_obj
;
1823 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1824 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1827 #include <wx/listctrl.h>
1829 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1830 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1834 PyObject
* func
= (PyObject
*)funcPtr
;
1835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1837 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1838 PyObject
* result
= PyEval_CallObject(func
, args
);
1841 retval
= PyInt_AsLong(result
);
1845 wxPyEndBlockThreads(blocked
);
1849 // C++ Version of a Python aware class
1850 class wxPyListCtrl
: public wxListCtrl
{
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1858 const wxValidator
& validator
,
1859 const wxString
& name
) :
1860 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1862 bool Create(wxWindow
* parent
, wxWindowID id
,
1866 const wxValidator
& validator
,
1867 const wxString
& name
) {
1868 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1887 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1889 item
.SetMask( wxLIST_MASK_STATE
|
1897 if (self
->GetColumn(col
, item
))
1898 return new wxListItem(item
);
1902 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1903 wxListItem
* info
= new wxListItem
;
1904 info
->m_itemId
= itemId
;
1906 info
->m_mask
= 0xFFFF;
1907 self
->GetItem(*info
);
1910 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1912 self
->GetItemPosition(item
, pos
);
1915 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1917 self
->GetItemRect(item
, rect
, code
);
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1922 if (!PyCallable_Check(func
))
1924 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1926 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1930 return (wxWindow
*)self
->m_mainWin
;
1934 #include <wx/treectrl.h>
1935 #include "wx/wxPython/pytree.h"
1937 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl
: public wxTreeCtrl
{
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1950 const wxValidator
& validator
,
1951 const wxString
& name
) :
1952 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1954 bool Create(wxWindow
*parent
, wxWindowID id
,
1958 const wxValidator
& validator
,
1959 const wxString
& name
) {
1960 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1964 int OnCompareItems(const wxTreeItemId
& item1
,
1965 const wxTreeItemId
& item2
) {
1968 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1969 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1970 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1971 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1972 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1976 wxPyEndBlockThreads(blocked
);
1978 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1988 #if UINT_MAX < LONG_MAX
1989 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2000 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2001 unsigned long max_value
,
2004 if (value
> max_value
) {
2006 PyErr_Format(PyExc_OverflowError
,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value
, errmsg
, max_value
);
2016 #if UINT_MAX != ULONG_MAX
2018 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2020 const char* errmsg
= val
? "unsigned int" : (char*)0;
2022 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2023 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2024 if (val
) *val
= (unsigned int)(v
);
2031 SWIG_type_error(errmsg
, obj
);
2036 SWIGINTERNSHORT
unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2039 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2044 SWIGINTERNSHORT
unsigned int
2045 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2048 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2050 this is needed to make valgrind/purify happier.
2052 memset((void*)&v
, 0, sizeof(unsigned int));
2059 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2061 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2064 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2065 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2067 data
= new wxPyTreeItemData();
2068 data
->SetId(item
); // set the id
2069 self
->SetItemData(item
, data
);
2073 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2074 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2076 data
= new wxPyTreeItemData();
2077 data
->SetId(item
); // set the id
2078 self
->SetItemData(item
, data
);
2080 return data
->GetData();
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2083 data
->SetId(item
); // set the id
2084 self
->SetItemData(item
, data
);
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2087 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2089 data
= new wxPyTreeItemData(obj
);
2090 data
->SetId(item
); // set the id
2091 self
->SetItemData(item
, data
);
2095 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2097 PyObject
* rval
= PyList_New(0);
2098 wxArrayTreeItemIds array
;
2100 num
= self
->GetSelections(array
);
2101 for (x
=0; x
< num
; x
++) {
2102 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2103 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval
, item
);
2107 wxPyEndBlockThreads(blocked
);
2110 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2112 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2114 PyObject
* tup
= PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2117 wxPyEndBlockThreads(blocked
);
2120 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2121 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2122 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2123 PyObject
* tup
= PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2126 wxPyEndBlockThreads(blocked
);
2129 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2131 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2132 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2133 wxRect
* r
= new wxRect(rect
);
2134 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked
);
2141 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2143 SWIGINTERNSHORT PyObject
*
2144 SWIG_From_bool(bool value
)
2146 PyObject
*obj
= value
? Py_True
: Py_False
;
2152 // C++ version of Python aware wxControl
2153 class wxPyControl
: public wxControl
2155 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2159 const wxPoint
& pos
= wxDefaultPosition
,
2160 const wxSize
& size
= wxDefaultSize
,
2162 const wxValidator
& validator
=wxDefaultValidator
,
2163 const wxString
& name
= wxPyControlNameStr
)
2164 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2166 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2168 bool DoEraseBackground(wxDC
* dc
) {
2170 return wxWindow::DoEraseBackground(dc
->GetHDC());
2172 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2178 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2179 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2180 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2181 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2183 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2184 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2187 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2188 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2190 DEC_PYCALLBACK__(InitDialog
);
2191 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2192 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2193 DEC_PYCALLBACK_BOOL_(Validate
);
2195 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2196 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2197 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2199 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2200 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2202 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2203 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2205 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2210 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2212 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2213 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2214 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2215 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2217 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2218 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2222 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2224 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2225 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2226 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2227 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2229 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2230 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2231 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2233 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2234 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2236 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2237 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2239 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2243 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2245 #include <wx/generic/dragimgg.h>
2247 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2248 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2250 self
->GetRange(&rv
, NULL
);
2253 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2255 self
->GetRange(NULL
, &rv
);
2261 static int _wrap_ButtonNameStr_set(PyObject
*) {
2262 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2267 static PyObject
*_wrap_ButtonNameStr_get(void) {
2272 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2274 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2281 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 wxWindow
*arg1
= (wxWindow
*) 0 ;
2284 int arg2
= (int) -1 ;
2285 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2286 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2291 long arg6
= (long) 0 ;
2292 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2293 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2294 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2295 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2297 bool temp3
= false ;
2300 bool temp8
= false ;
2301 PyObject
* obj0
= 0 ;
2302 PyObject
* obj1
= 0 ;
2303 PyObject
* obj2
= 0 ;
2304 PyObject
* obj3
= 0 ;
2305 PyObject
* obj4
= 0 ;
2306 PyObject
* obj5
= 0 ;
2307 PyObject
* obj6
= 0 ;
2308 PyObject
* obj7
= 0 ;
2310 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2315 if (SWIG_arg_fail(1)) SWIG_fail
;
2318 arg2
= (int)(SWIG_As_int(obj1
));
2319 if (SWIG_arg_fail(2)) SWIG_fail
;
2324 arg3
= wxString_in_helper(obj2
);
2325 if (arg3
== NULL
) SWIG_fail
;
2332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2343 arg6
= (long)(SWIG_As_long(obj5
));
2344 if (SWIG_arg_fail(6)) SWIG_fail
;
2349 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2350 if (SWIG_arg_fail(7)) SWIG_fail
;
2352 SWIG_null_ref("wxValidator");
2354 if (SWIG_arg_fail(7)) SWIG_fail
;
2359 arg8
= wxString_in_helper(obj7
);
2360 if (arg8
== NULL
) SWIG_fail
;
2365 if (!wxPyCheckForApp()) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2395 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2404 if (!wxPyCheckForApp()) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (wxButton
*)new wxButton();
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2418 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxButton
*arg1
= (wxButton
*) 0 ;
2421 wxWindow
*arg2
= (wxWindow
*) 0 ;
2422 int arg3
= (int) -1 ;
2423 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2424 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2425 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2426 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2427 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2428 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2429 long arg7
= (long) 0 ;
2430 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2431 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2432 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2433 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2435 bool temp4
= false ;
2438 bool temp9
= false ;
2439 PyObject
* obj0
= 0 ;
2440 PyObject
* obj1
= 0 ;
2441 PyObject
* obj2
= 0 ;
2442 PyObject
* obj3
= 0 ;
2443 PyObject
* obj4
= 0 ;
2444 PyObject
* obj5
= 0 ;
2445 PyObject
* obj6
= 0 ;
2446 PyObject
* obj7
= 0 ;
2447 PyObject
* obj8
= 0 ;
2449 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2454 if (SWIG_arg_fail(1)) SWIG_fail
;
2455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2456 if (SWIG_arg_fail(2)) SWIG_fail
;
2459 arg3
= (int)(SWIG_As_int(obj2
));
2460 if (SWIG_arg_fail(3)) SWIG_fail
;
2465 arg4
= wxString_in_helper(obj3
);
2466 if (arg4
== NULL
) SWIG_fail
;
2473 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2479 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2484 arg7
= (long)(SWIG_As_long(obj6
));
2485 if (SWIG_arg_fail(7)) SWIG_fail
;
2490 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2491 if (SWIG_arg_fail(8)) SWIG_fail
;
2493 SWIG_null_ref("wxValidator");
2495 if (SWIG_arg_fail(8)) SWIG_fail
;
2500 arg9
= wxString_in_helper(obj8
);
2501 if (arg9
== NULL
) SWIG_fail
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2537 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxButton
*arg1
= (wxButton
*) 0 ;
2540 PyObject
* obj0
= 0 ;
2542 (char *) "self", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2547 if (SWIG_arg_fail(1)) SWIG_fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 (arg1
)->SetDefault();
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2555 Py_INCREF(Py_None
); resultobj
= Py_None
;
2562 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= wxButton::GetDefaultSize();
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2579 resultptr
= new wxSize((wxSize
&)(result
));
2580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2588 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
*resultobj
;
2590 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2591 wxVisualAttributes result
;
2592 PyObject
* obj0
= 0 ;
2594 (char *) "variant", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2600 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2601 if (SWIG_arg_fail(1)) SWIG_fail
;
2605 if (!wxPyCheckForApp()) SWIG_fail
;
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) SWIG_fail
;
2613 wxVisualAttributes
* resultptr
;
2614 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2623 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2626 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2628 return Py_BuildValue((char *)"");
2630 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxWindow
*arg1
= (wxWindow
*) 0 ;
2633 int arg2
= (int) -1 ;
2634 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2635 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2640 long arg6
= (long) wxBU_AUTODRAW
;
2641 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2642 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2643 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2644 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2645 wxBitmapButton
*result
;
2648 bool temp8
= false ;
2649 PyObject
* obj0
= 0 ;
2650 PyObject
* obj1
= 0 ;
2651 PyObject
* obj2
= 0 ;
2652 PyObject
* obj3
= 0 ;
2653 PyObject
* obj4
= 0 ;
2654 PyObject
* obj5
= 0 ;
2655 PyObject
* obj6
= 0 ;
2656 PyObject
* obj7
= 0 ;
2658 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2663 if (SWIG_arg_fail(1)) SWIG_fail
;
2666 arg2
= (int)(SWIG_As_int(obj1
));
2667 if (SWIG_arg_fail(2)) SWIG_fail
;
2672 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2673 if (SWIG_arg_fail(3)) SWIG_fail
;
2675 SWIG_null_ref("wxBitmap");
2677 if (SWIG_arg_fail(3)) SWIG_fail
;
2683 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2689 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2694 arg6
= (long)(SWIG_As_long(obj5
));
2695 if (SWIG_arg_fail(6)) SWIG_fail
;
2700 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2701 if (SWIG_arg_fail(7)) SWIG_fail
;
2703 SWIG_null_ref("wxValidator");
2705 if (SWIG_arg_fail(7)) SWIG_fail
;
2710 arg8
= wxString_in_helper(obj7
);
2711 if (arg8
== NULL
) SWIG_fail
;
2716 if (!wxPyCheckForApp()) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2738 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 wxBitmapButton
*result
;
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2747 if (!wxPyCheckForApp()) SWIG_fail
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 result
= (wxBitmapButton
*)new wxBitmapButton();
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2761 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2764 wxWindow
*arg2
= (wxWindow
*) 0 ;
2765 int arg3
= (int) -1 ;
2766 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2767 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2768 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2769 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2770 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2771 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2772 long arg7
= (long) wxBU_AUTODRAW
;
2773 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2774 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2775 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2776 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2780 bool temp9
= false ;
2781 PyObject
* obj0
= 0 ;
2782 PyObject
* obj1
= 0 ;
2783 PyObject
* obj2
= 0 ;
2784 PyObject
* obj3
= 0 ;
2785 PyObject
* obj4
= 0 ;
2786 PyObject
* obj5
= 0 ;
2787 PyObject
* obj6
= 0 ;
2788 PyObject
* obj7
= 0 ;
2789 PyObject
* obj8
= 0 ;
2791 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2796 if (SWIG_arg_fail(1)) SWIG_fail
;
2797 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2798 if (SWIG_arg_fail(2)) SWIG_fail
;
2801 arg3
= (int)(SWIG_As_int(obj2
));
2802 if (SWIG_arg_fail(3)) SWIG_fail
;
2807 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2808 if (SWIG_arg_fail(4)) SWIG_fail
;
2810 SWIG_null_ref("wxBitmap");
2812 if (SWIG_arg_fail(4)) SWIG_fail
;
2818 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2824 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2829 arg7
= (long)(SWIG_As_long(obj6
));
2830 if (SWIG_arg_fail(7)) SWIG_fail
;
2835 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2836 if (SWIG_arg_fail(8)) SWIG_fail
;
2838 SWIG_null_ref("wxValidator");
2840 if (SWIG_arg_fail(8)) SWIG_fail
;
2845 arg9
= wxString_in_helper(obj8
);
2846 if (arg9
== NULL
) SWIG_fail
;
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2874 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2878 PyObject
* obj0
= 0 ;
2880 (char *) "self", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2885 if (SWIG_arg_fail(1)) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 result
= (arg1
)->GetBitmapLabel();
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2894 wxBitmap
* resultptr
;
2895 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2904 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2908 PyObject
* obj0
= 0 ;
2910 (char *) "self", NULL
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2915 if (SWIG_arg_fail(1)) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 result
= (arg1
)->GetBitmapDisabled();
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2924 wxBitmap
* resultptr
;
2925 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2934 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2938 PyObject
* obj0
= 0 ;
2940 (char *) "self", NULL
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2945 if (SWIG_arg_fail(1)) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 result
= (arg1
)->GetBitmapFocus();
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2954 wxBitmap
* resultptr
;
2955 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2964 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2968 PyObject
* obj0
= 0 ;
2970 (char *) "self", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2975 if (SWIG_arg_fail(1)) SWIG_fail
;
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 result
= (arg1
)->GetBitmapSelected();
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2984 wxBitmap
* resultptr
;
2985 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2994 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2997 wxBitmap
*arg2
= 0 ;
2998 PyObject
* obj0
= 0 ;
2999 PyObject
* obj1
= 0 ;
3001 (char *) "self",(char *) "bitmap", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
3005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3006 if (SWIG_arg_fail(1)) SWIG_fail
;
3008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3009 if (SWIG_arg_fail(2)) SWIG_fail
;
3011 SWIG_null_ref("wxBitmap");
3013 if (SWIG_arg_fail(2)) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3022 Py_INCREF(Py_None
); resultobj
= Py_None
;
3029 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3031 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3032 wxBitmap
*arg2
= 0 ;
3033 PyObject
* obj0
= 0 ;
3034 PyObject
* obj1
= 0 ;
3036 (char *) "self",(char *) "bitmap", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3041 if (SWIG_arg_fail(1)) SWIG_fail
;
3043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3044 if (SWIG_arg_fail(2)) SWIG_fail
;
3046 SWIG_null_ref("wxBitmap");
3048 if (SWIG_arg_fail(2)) SWIG_fail
;
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3057 Py_INCREF(Py_None
); resultobj
= Py_None
;
3064 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3067 wxBitmap
*arg2
= 0 ;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3071 (char *) "self",(char *) "bitmap", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3076 if (SWIG_arg_fail(1)) SWIG_fail
;
3078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3079 if (SWIG_arg_fail(2)) SWIG_fail
;
3081 SWIG_null_ref("wxBitmap");
3083 if (SWIG_arg_fail(2)) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3092 Py_INCREF(Py_None
); resultobj
= Py_None
;
3099 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3102 wxBitmap
*arg2
= 0 ;
3103 PyObject
* obj0
= 0 ;
3104 PyObject
* obj1
= 0 ;
3106 (char *) "self",(char *) "bitmap", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3111 if (SWIG_arg_fail(1)) SWIG_fail
;
3113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3114 if (SWIG_arg_fail(2)) SWIG_fail
;
3116 SWIG_null_ref("wxBitmap");
3118 if (SWIG_arg_fail(2)) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3127 Py_INCREF(Py_None
); resultobj
= Py_None
;
3134 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3141 PyObject
* obj2
= 0 ;
3143 (char *) "self",(char *) "x",(char *) "y", NULL
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3148 if (SWIG_arg_fail(1)) SWIG_fail
;
3150 arg2
= (int)(SWIG_As_int(obj1
));
3151 if (SWIG_arg_fail(2)) SWIG_fail
;
3154 arg3
= (int)(SWIG_As_int(obj2
));
3155 if (SWIG_arg_fail(3)) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 (arg1
)->SetMargins(arg2
,arg3
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 Py_INCREF(Py_None
); resultobj
= Py_None
;
3171 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3175 PyObject
* obj0
= 0 ;
3177 (char *) "self", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3182 if (SWIG_arg_fail(1)) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3191 resultobj
= SWIG_From_int((int)(result
));
3199 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3203 PyObject
* obj0
= 0 ;
3205 (char *) "self", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3210 if (SWIG_arg_fail(1)) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3219 resultobj
= SWIG_From_int((int)(result
));
3227 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3230 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3232 return Py_BuildValue((char *)"");
3234 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3235 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3240 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3245 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3247 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3254 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxWindow
*arg1
= (wxWindow
*) 0 ;
3257 int arg2
= (int) -1 ;
3258 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3259 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3260 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3261 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3262 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3263 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3264 long arg6
= (long) 0 ;
3265 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3266 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3267 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3268 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3270 bool temp3
= false ;
3273 bool temp8
= false ;
3274 PyObject
* obj0
= 0 ;
3275 PyObject
* obj1
= 0 ;
3276 PyObject
* obj2
= 0 ;
3277 PyObject
* obj3
= 0 ;
3278 PyObject
* obj4
= 0 ;
3279 PyObject
* obj5
= 0 ;
3280 PyObject
* obj6
= 0 ;
3281 PyObject
* obj7
= 0 ;
3283 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3288 if (SWIG_arg_fail(1)) SWIG_fail
;
3291 arg2
= (int)(SWIG_As_int(obj1
));
3292 if (SWIG_arg_fail(2)) SWIG_fail
;
3297 arg3
= wxString_in_helper(obj2
);
3298 if (arg3
== NULL
) SWIG_fail
;
3305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3316 arg6
= (long)(SWIG_As_long(obj5
));
3317 if (SWIG_arg_fail(6)) SWIG_fail
;
3322 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3323 if (SWIG_arg_fail(7)) SWIG_fail
;
3325 SWIG_null_ref("wxValidator");
3327 if (SWIG_arg_fail(7)) SWIG_fail
;
3332 arg8
= wxString_in_helper(obj7
);
3333 if (arg8
== NULL
) SWIG_fail
;
3338 if (!wxPyCheckForApp()) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3368 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3377 if (!wxPyCheckForApp()) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 result
= (wxCheckBox
*)new wxCheckBox();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3391 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3394 wxWindow
*arg2
= (wxWindow
*) 0 ;
3395 int arg3
= (int) -1 ;
3396 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3397 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3398 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3399 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3400 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3401 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3402 long arg7
= (long) 0 ;
3403 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3404 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3405 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3406 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3408 bool temp4
= false ;
3411 bool temp9
= false ;
3412 PyObject
* obj0
= 0 ;
3413 PyObject
* obj1
= 0 ;
3414 PyObject
* obj2
= 0 ;
3415 PyObject
* obj3
= 0 ;
3416 PyObject
* obj4
= 0 ;
3417 PyObject
* obj5
= 0 ;
3418 PyObject
* obj6
= 0 ;
3419 PyObject
* obj7
= 0 ;
3420 PyObject
* obj8
= 0 ;
3422 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3427 if (SWIG_arg_fail(1)) SWIG_fail
;
3428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3429 if (SWIG_arg_fail(2)) SWIG_fail
;
3432 arg3
= (int)(SWIG_As_int(obj2
));
3433 if (SWIG_arg_fail(3)) SWIG_fail
;
3438 arg4
= wxString_in_helper(obj3
);
3439 if (arg4
== NULL
) SWIG_fail
;
3446 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3452 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3457 arg7
= (long)(SWIG_As_long(obj6
));
3458 if (SWIG_arg_fail(7)) SWIG_fail
;
3463 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3464 if (SWIG_arg_fail(8)) SWIG_fail
;
3466 SWIG_null_ref("wxValidator");
3468 if (SWIG_arg_fail(8)) SWIG_fail
;
3473 arg9
= wxString_in_helper(obj8
);
3474 if (arg9
== NULL
) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3510 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
;
3512 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3514 PyObject
* obj0
= 0 ;
3516 (char *) "self", NULL
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3521 if (SWIG_arg_fail(1)) SWIG_fail
;
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 result
= (bool)(arg1
)->GetValue();
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3538 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3544 (char *) "self", NULL
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3549 if (SWIG_arg_fail(1)) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (bool)(arg1
)->IsChecked();
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3566 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3570 PyObject
* obj0
= 0 ;
3571 PyObject
* obj1
= 0 ;
3573 (char *) "self",(char *) "state", NULL
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3578 if (SWIG_arg_fail(1)) SWIG_fail
;
3580 arg2
= (bool const)(SWIG_As_bool(obj1
));
3581 if (SWIG_arg_fail(2)) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 (arg1
)->SetValue(arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 Py_INCREF(Py_None
); resultobj
= Py_None
;
3597 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3600 wxCheckBoxState result
;
3601 PyObject
* obj0
= 0 ;
3603 (char *) "self", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3608 if (SWIG_arg_fail(1)) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 resultobj
= SWIG_From_int((result
));
3623 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3626 wxCheckBoxState arg2
;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3630 (char *) "self",(char *) "state", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3635 if (SWIG_arg_fail(1)) SWIG_fail
;
3637 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3638 if (SWIG_arg_fail(2)) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 Py_INCREF(Py_None
); resultobj
= Py_None
;
3654 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
*resultobj
;
3656 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3658 PyObject
* obj0
= 0 ;
3660 (char *) "self", NULL
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3665 if (SWIG_arg_fail(1)) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3682 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3686 PyObject
* obj0
= 0 ;
3688 (char *) "self", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3693 if (SWIG_arg_fail(1)) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3710 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
*resultobj
;
3712 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3713 wxVisualAttributes result
;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "variant", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3722 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3723 if (SWIG_arg_fail(1)) SWIG_fail
;
3727 if (!wxPyCheckForApp()) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3735 wxVisualAttributes
* resultptr
;
3736 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3745 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3748 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3750 return Py_BuildValue((char *)"");
3752 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3753 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3758 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3763 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3765 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3772 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxWindow
*arg1
= (wxWindow
*) 0 ;
3775 int arg2
= (int) -1 ;
3776 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3777 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3778 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3779 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3780 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3781 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3782 long arg6
= (long) 0 ;
3783 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3784 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3785 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3786 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3790 bool temp5
= false ;
3791 bool temp8
= false ;
3792 PyObject
* obj0
= 0 ;
3793 PyObject
* obj1
= 0 ;
3794 PyObject
* obj2
= 0 ;
3795 PyObject
* obj3
= 0 ;
3796 PyObject
* obj4
= 0 ;
3797 PyObject
* obj5
= 0 ;
3798 PyObject
* obj6
= 0 ;
3799 PyObject
* obj7
= 0 ;
3801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3806 if (SWIG_arg_fail(1)) SWIG_fail
;
3809 arg2
= (int)(SWIG_As_int(obj1
));
3810 if (SWIG_arg_fail(2)) SWIG_fail
;
3816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3822 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3827 if (! PySequence_Check(obj4
)) {
3828 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3831 arg5
= new wxArrayString
;
3833 int i
, len
=PySequence_Length(obj4
);
3834 for (i
=0; i
<len
; i
++) {
3835 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3836 wxString
* s
= wxString_in_helper(item
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3846 arg6
= (long)(SWIG_As_long(obj5
));
3847 if (SWIG_arg_fail(6)) SWIG_fail
;
3852 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3853 if (SWIG_arg_fail(7)) SWIG_fail
;
3855 SWIG_null_ref("wxValidator");
3857 if (SWIG_arg_fail(7)) SWIG_fail
;
3862 arg8
= wxString_in_helper(obj7
);
3863 if (arg8
== NULL
) SWIG_fail
;
3868 if (!wxPyCheckForApp()) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3877 if (temp5
) delete arg5
;
3886 if (temp5
) delete arg5
;
3896 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3905 if (!wxPyCheckForApp()) SWIG_fail
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 result
= (wxChoice
*)new wxChoice();
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3919 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxChoice
*arg1
= (wxChoice
*) 0 ;
3922 wxWindow
*arg2
= (wxWindow
*) 0 ;
3923 int arg3
= (int) -1 ;
3924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3928 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3929 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3930 long arg7
= (long) 0 ;
3931 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3932 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3933 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3934 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3938 bool temp6
= false ;
3939 bool temp9
= false ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3942 PyObject
* obj2
= 0 ;
3943 PyObject
* obj3
= 0 ;
3944 PyObject
* obj4
= 0 ;
3945 PyObject
* obj5
= 0 ;
3946 PyObject
* obj6
= 0 ;
3947 PyObject
* obj7
= 0 ;
3948 PyObject
* obj8
= 0 ;
3950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail
;
3956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3957 if (SWIG_arg_fail(2)) SWIG_fail
;
3960 arg3
= (int)(SWIG_As_int(obj2
));
3961 if (SWIG_arg_fail(3)) SWIG_fail
;
3967 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3973 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3978 if (! PySequence_Check(obj5
)) {
3979 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3982 arg6
= new wxArrayString
;
3984 int i
, len
=PySequence_Length(obj5
);
3985 for (i
=0; i
<len
; i
++) {
3986 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3987 wxString
* s
= wxString_in_helper(item
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3997 arg7
= (long)(SWIG_As_long(obj6
));
3998 if (SWIG_arg_fail(7)) SWIG_fail
;
4003 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4004 if (SWIG_arg_fail(8)) SWIG_fail
;
4006 SWIG_null_ref("wxValidator");
4008 if (SWIG_arg_fail(8)) SWIG_fail
;
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4029 if (temp6
) delete arg6
;
4038 if (temp6
) delete arg6
;
4048 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4051 wxVisualAttributes result
;
4052 PyObject
* obj0
= 0 ;
4054 (char *) "variant", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4060 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4061 if (SWIG_arg_fail(1)) SWIG_fail
;
4065 if (!wxPyCheckForApp()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4073 wxVisualAttributes
* resultptr
;
4074 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4083 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4086 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4088 return Py_BuildValue((char *)"");
4090 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4091 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4096 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4101 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4103 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4110 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxWindow
*arg1
= (wxWindow
*) 0 ;
4113 int arg2
= (int) -1 ;
4114 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4115 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4116 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4117 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4118 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4119 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4120 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4121 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4122 long arg7
= (long) 0 ;
4123 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4124 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4125 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4126 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4128 bool temp3
= false ;
4131 bool temp6
= false ;
4132 bool temp9
= false ;
4133 PyObject
* obj0
= 0 ;
4134 PyObject
* obj1
= 0 ;
4135 PyObject
* obj2
= 0 ;
4136 PyObject
* obj3
= 0 ;
4137 PyObject
* obj4
= 0 ;
4138 PyObject
* obj5
= 0 ;
4139 PyObject
* obj6
= 0 ;
4140 PyObject
* obj7
= 0 ;
4141 PyObject
* obj8
= 0 ;
4143 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4148 if (SWIG_arg_fail(1)) SWIG_fail
;
4151 arg2
= (int)(SWIG_As_int(obj1
));
4152 if (SWIG_arg_fail(2)) SWIG_fail
;
4157 arg3
= wxString_in_helper(obj2
);
4158 if (arg3
== NULL
) SWIG_fail
;
4165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4176 if (! PySequence_Check(obj5
)) {
4177 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4180 arg6
= new wxArrayString
;
4182 int i
, len
=PySequence_Length(obj5
);
4183 for (i
=0; i
<len
; i
++) {
4184 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4185 wxString
* s
= wxString_in_helper(item
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4195 arg7
= (long)(SWIG_As_long(obj6
));
4196 if (SWIG_arg_fail(7)) SWIG_fail
;
4201 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4202 if (SWIG_arg_fail(8)) SWIG_fail
;
4204 SWIG_null_ref("wxValidator");
4206 if (SWIG_arg_fail(8)) SWIG_fail
;
4211 arg9
= wxString_in_helper(obj8
);
4212 if (arg9
== NULL
) SWIG_fail
;
4217 if (!wxPyCheckForApp()) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 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
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4230 if (temp6
) delete arg6
;
4243 if (temp6
) delete arg6
;
4253 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4262 if (!wxPyCheckForApp()) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (wxComboBox
*)new wxComboBox();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4276 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4279 wxWindow
*arg2
= (wxWindow
*) 0 ;
4280 int arg3
= (int) -1 ;
4281 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4282 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4283 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4284 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4285 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4286 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4287 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4288 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4289 long arg8
= (long) 0 ;
4290 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4291 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4292 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4293 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4295 bool temp4
= false ;
4298 bool temp7
= false ;
4299 bool temp10
= false ;
4300 PyObject
* obj0
= 0 ;
4301 PyObject
* obj1
= 0 ;
4302 PyObject
* obj2
= 0 ;
4303 PyObject
* obj3
= 0 ;
4304 PyObject
* obj4
= 0 ;
4305 PyObject
* obj5
= 0 ;
4306 PyObject
* obj6
= 0 ;
4307 PyObject
* obj7
= 0 ;
4308 PyObject
* obj8
= 0 ;
4309 PyObject
* obj9
= 0 ;
4311 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4316 if (SWIG_arg_fail(1)) SWIG_fail
;
4317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4318 if (SWIG_arg_fail(2)) SWIG_fail
;
4321 arg3
= (int)(SWIG_As_int(obj2
));
4322 if (SWIG_arg_fail(3)) SWIG_fail
;
4327 arg4
= wxString_in_helper(obj3
);
4328 if (arg4
== NULL
) SWIG_fail
;
4335 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4341 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4346 if (! PySequence_Check(obj6
)) {
4347 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4350 arg7
= new wxArrayString
;
4352 int i
, len
=PySequence_Length(obj6
);
4353 for (i
=0; i
<len
; i
++) {
4354 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4355 wxString
* s
= wxString_in_helper(item
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4365 arg8
= (long)(SWIG_As_long(obj7
));
4366 if (SWIG_arg_fail(8)) SWIG_fail
;
4371 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4372 if (SWIG_arg_fail(9)) SWIG_fail
;
4374 SWIG_null_ref("wxValidator");
4376 if (SWIG_arg_fail(9)) SWIG_fail
;
4381 arg10
= wxString_in_helper(obj9
);
4382 if (arg10
== NULL
) SWIG_fail
;
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 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
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4401 if (temp7
) delete arg7
;
4414 if (temp7
) delete arg7
;
4424 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4428 PyObject
* obj0
= 0 ;
4430 (char *) "self", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4435 if (SWIG_arg_fail(1)) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= ((wxComboBox
const *)arg1
)->GetValue();
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4456 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4459 wxString
*arg2
= 0 ;
4460 bool temp2
= false ;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4464 (char *) "self",(char *) "value", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4469 if (SWIG_arg_fail(1)) SWIG_fail
;
4471 arg2
= wxString_in_helper(obj1
);
4472 if (arg2
== NULL
) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 (arg1
)->SetValue((wxString
const &)*arg2
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 Py_INCREF(Py_None
); resultobj
= Py_None
;
4497 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4500 PyObject
* obj0
= 0 ;
4502 (char *) "self", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 Py_INCREF(Py_None
); resultobj
= Py_None
;
4522 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4525 PyObject
* obj0
= 0 ;
4527 (char *) "self", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4532 if (SWIG_arg_fail(1)) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4540 Py_INCREF(Py_None
); resultobj
= Py_None
;
4547 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
;
4549 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4550 PyObject
* obj0
= 0 ;
4552 (char *) "self", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4557 if (SWIG_arg_fail(1)) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4572 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4577 PyObject
* obj1
= 0 ;
4579 (char *) "self",(char *) "pos", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail
;
4586 arg2
= (long)(SWIG_As_long(obj1
));
4587 if (SWIG_arg_fail(2)) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 (arg1
)->SetInsertionPoint(arg2
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4603 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4609 (char *) "self", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_From_long((long)(result
));
4631 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4635 PyObject
* obj0
= 0 ;
4637 (char *) "self", NULL
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4642 if (SWIG_arg_fail(1)) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= SWIG_From_long((long)(result
));
4659 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4664 wxString
*arg4
= 0 ;
4665 bool temp4
= false ;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4668 PyObject
* obj2
= 0 ;
4669 PyObject
* obj3
= 0 ;
4671 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4676 if (SWIG_arg_fail(1)) SWIG_fail
;
4678 arg2
= (long)(SWIG_As_long(obj1
));
4679 if (SWIG_arg_fail(2)) SWIG_fail
;
4682 arg3
= (long)(SWIG_As_long(obj2
));
4683 if (SWIG_arg_fail(3)) SWIG_fail
;
4686 arg4
= wxString_in_helper(obj3
);
4687 if (arg4
== NULL
) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4719 (char *) "self",(char *) "n", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail
;
4726 arg2
= (int)(SWIG_As_int(obj1
));
4727 if (SWIG_arg_fail(2)) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 (arg1
)->SetSelection(arg2
);
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 Py_INCREF(Py_None
); resultobj
= Py_None
;
4743 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4752 (char *) "self",(char *) "from",(char *) "to", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4757 if (SWIG_arg_fail(1)) SWIG_fail
;
4759 arg2
= (long)(SWIG_As_long(obj1
));
4760 if (SWIG_arg_fail(2)) SWIG_fail
;
4763 arg3
= (long)(SWIG_As_long(obj2
));
4764 if (SWIG_arg_fail(3)) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 (arg1
)->SetSelection(arg2
,arg3
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 Py_INCREF(Py_None
); resultobj
= Py_None
;
4780 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4783 wxString
*arg2
= 0 ;
4785 bool temp2
= false ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4789 (char *) "self",(char *) "string", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4794 if (SWIG_arg_fail(1)) SWIG_fail
;
4796 arg2
= wxString_in_helper(obj1
);
4797 if (arg2
== NULL
) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4824 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4828 wxString
*arg3
= 0 ;
4829 bool temp3
= false ;
4830 PyObject
* obj0
= 0 ;
4831 PyObject
* obj1
= 0 ;
4832 PyObject
* obj2
= 0 ;
4834 (char *) "self",(char *) "n",(char *) "string", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail
;
4841 arg2
= (int)(SWIG_As_int(obj1
));
4842 if (SWIG_arg_fail(2)) SWIG_fail
;
4845 arg3
= wxString_in_helper(obj2
);
4846 if (arg3
== NULL
) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 Py_INCREF(Py_None
); resultobj
= Py_None
;
4871 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4876 PyObject
* obj1
= 0 ;
4878 (char *) "self",(char *) "editable", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) 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
= (bool)(SWIG_As_bool(obj1
));
4886 if (SWIG_arg_fail(2)) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 (arg1
)->SetEditable(arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 Py_INCREF(Py_None
); resultobj
= Py_None
;
4902 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4905 PyObject
* obj0
= 0 ;
4907 (char *) "self", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4912 if (SWIG_arg_fail(1)) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 (arg1
)->SetInsertionPointEnd();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 Py_INCREF(Py_None
); resultobj
= Py_None
;
4927 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4934 PyObject
* obj2
= 0 ;
4936 (char *) "self",(char *) "from",(char *) "to", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4941 if (SWIG_arg_fail(1)) SWIG_fail
;
4943 arg2
= (long)(SWIG_As_long(obj1
));
4944 if (SWIG_arg_fail(2)) SWIG_fail
;
4947 arg3
= (long)(SWIG_As_long(obj2
));
4948 if (SWIG_arg_fail(3)) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 (arg1
)->Remove(arg2
,arg3
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
4974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4975 if (SWIG_arg_fail(1)) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4992 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
*resultobj
;
4994 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4995 PyObject
* obj0
= 0 ;
4997 (char *) "self", NULL
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5002 if (SWIG_arg_fail(1)) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 Py_INCREF(Py_None
); resultobj
= Py_None
;
5017 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5020 PyObject
* obj0
= 0 ;
5022 (char *) "self", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5027 if (SWIG_arg_fail(1)) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 Py_INCREF(Py_None
); resultobj
= Py_None
;
5042 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5045 PyObject
* obj0
= 0 ;
5047 (char *) "self", NULL
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5052 if (SWIG_arg_fail(1)) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 (arg1
)->SelectAll();
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 Py_INCREF(Py_None
); resultobj
= Py_None
;
5067 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5073 (char *) "self", NULL
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5078 if (SWIG_arg_fail(1)) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5095 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5099 PyObject
* obj0
= 0 ;
5101 (char *) "self", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5106 if (SWIG_arg_fail(1)) SWIG_fail
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5123 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
*resultobj
;
5125 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5127 PyObject
* obj0
= 0 ;
5129 (char *) "self", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5134 if (SWIG_arg_fail(1)) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5151 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
;
5153 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5157 (char *) "self", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5179 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5183 PyObject
* obj0
= 0 ;
5185 (char *) "self", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5207 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5210 wxVisualAttributes result
;
5211 PyObject
* obj0
= 0 ;
5213 (char *) "variant", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5219 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5220 if (SWIG_arg_fail(1)) SWIG_fail
;
5224 if (!wxPyCheckForApp()) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5232 wxVisualAttributes
* resultptr
;
5233 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5242 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5245 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5247 return Py_BuildValue((char *)"");
5249 static int _wrap_GaugeNameStr_set(PyObject
*) {
5250 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5255 static PyObject
*_wrap_GaugeNameStr_get(void) {
5260 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5262 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5269 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
*resultobj
;
5271 wxWindow
*arg1
= (wxWindow
*) 0 ;
5272 int arg2
= (int) -1 ;
5273 int arg3
= (int) 100 ;
5274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5278 long arg6
= (long) wxGA_HORIZONTAL
;
5279 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5280 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5281 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5282 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5286 bool temp8
= false ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5289 PyObject
* obj2
= 0 ;
5290 PyObject
* obj3
= 0 ;
5291 PyObject
* obj4
= 0 ;
5292 PyObject
* obj5
= 0 ;
5293 PyObject
* obj6
= 0 ;
5294 PyObject
* obj7
= 0 ;
5296 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail
;
5304 arg2
= (int)(SWIG_As_int(obj1
));
5305 if (SWIG_arg_fail(2)) SWIG_fail
;
5310 arg3
= (int)(SWIG_As_int(obj2
));
5311 if (SWIG_arg_fail(3)) SWIG_fail
;
5317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5328 arg6
= (long)(SWIG_As_long(obj5
));
5329 if (SWIG_arg_fail(6)) SWIG_fail
;
5334 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5335 if (SWIG_arg_fail(7)) SWIG_fail
;
5337 SWIG_null_ref("wxValidator");
5339 if (SWIG_arg_fail(7)) SWIG_fail
;
5344 arg8
= wxString_in_helper(obj7
);
5345 if (arg8
== NULL
) SWIG_fail
;
5350 if (!wxPyCheckForApp()) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5372 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5381 if (!wxPyCheckForApp()) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (wxGauge
*)new wxGauge();
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5395 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxGauge
*arg1
= (wxGauge
*) 0 ;
5398 wxWindow
*arg2
= (wxWindow
*) 0 ;
5399 int arg3
= (int) -1 ;
5400 int arg4
= (int) 100 ;
5401 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5402 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5403 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5404 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5405 long arg7
= (long) wxGA_HORIZONTAL
;
5406 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5407 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5408 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5409 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5413 bool temp9
= false ;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5416 PyObject
* obj2
= 0 ;
5417 PyObject
* obj3
= 0 ;
5418 PyObject
* obj4
= 0 ;
5419 PyObject
* obj5
= 0 ;
5420 PyObject
* obj6
= 0 ;
5421 PyObject
* obj7
= 0 ;
5422 PyObject
* obj8
= 0 ;
5424 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5429 if (SWIG_arg_fail(1)) SWIG_fail
;
5430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5431 if (SWIG_arg_fail(2)) SWIG_fail
;
5434 arg3
= (int)(SWIG_As_int(obj2
));
5435 if (SWIG_arg_fail(3)) SWIG_fail
;
5440 arg4
= (int)(SWIG_As_int(obj3
));
5441 if (SWIG_arg_fail(4)) SWIG_fail
;
5447 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5453 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5458 arg7
= (long)(SWIG_As_long(obj6
));
5459 if (SWIG_arg_fail(7)) SWIG_fail
;
5464 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5465 if (SWIG_arg_fail(8)) SWIG_fail
;
5467 SWIG_null_ref("wxValidator");
5469 if (SWIG_arg_fail(8)) SWIG_fail
;
5474 arg9
= wxString_in_helper(obj8
);
5475 if (arg9
== NULL
) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5503 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxGauge
*arg1
= (wxGauge
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5508 PyObject
* obj1
= 0 ;
5510 (char *) "self",(char *) "range", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5515 if (SWIG_arg_fail(1)) SWIG_fail
;
5517 arg2
= (int)(SWIG_As_int(obj1
));
5518 if (SWIG_arg_fail(2)) SWIG_fail
;
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 (arg1
)->SetRange(arg2
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 Py_INCREF(Py_None
); resultobj
= Py_None
;
5534 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxGauge
*arg1
= (wxGauge
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "self", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_From_int((int)(result
));
5562 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxGauge
*arg1
= (wxGauge
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5569 (char *) "self",(char *) "pos", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5574 if (SWIG_arg_fail(1)) SWIG_fail
;
5576 arg2
= (int)(SWIG_As_int(obj1
));
5577 if (SWIG_arg_fail(2)) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->SetValue(arg2
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxGauge
*arg1
= (wxGauge
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5599 (char *) "self", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5604 if (SWIG_arg_fail(1)) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= SWIG_From_int((int)(result
));
5621 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxGauge
*arg1
= (wxGauge
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5627 (char *) "self", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5632 if (SWIG_arg_fail(1)) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5649 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxGauge
*arg1
= (wxGauge
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5654 PyObject
* obj1
= 0 ;
5656 (char *) "self",(char *) "w", NULL
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5661 if (SWIG_arg_fail(1)) SWIG_fail
;
5663 arg2
= (int)(SWIG_As_int(obj1
));
5664 if (SWIG_arg_fail(2)) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 (arg1
)->SetShadowWidth(arg2
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 Py_INCREF(Py_None
); resultobj
= Py_None
;
5680 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxGauge
*arg1
= (wxGauge
*) 0 ;
5684 PyObject
* obj0
= 0 ;
5686 (char *) "self", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5691 if (SWIG_arg_fail(1)) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= SWIG_From_int((int)(result
));
5708 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxGauge
*arg1
= (wxGauge
*) 0 ;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5715 (char *) "self",(char *) "w", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5720 if (SWIG_arg_fail(1)) SWIG_fail
;
5722 arg2
= (int)(SWIG_As_int(obj1
));
5723 if (SWIG_arg_fail(2)) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 (arg1
)->SetBezelFace(arg2
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 Py_INCREF(Py_None
); resultobj
= Py_None
;
5739 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxGauge
*arg1
= (wxGauge
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5745 (char *) "self", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5750 if (SWIG_arg_fail(1)) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5759 resultobj
= SWIG_From_int((int)(result
));
5767 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
;
5769 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5770 wxVisualAttributes result
;
5771 PyObject
* obj0
= 0 ;
5773 (char *) "variant", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5779 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5780 if (SWIG_arg_fail(1)) SWIG_fail
;
5784 if (!wxPyCheckForApp()) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5792 wxVisualAttributes
* resultptr
;
5793 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5802 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5805 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5807 return Py_BuildValue((char *)"");
5809 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5810 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5815 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5820 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5822 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5829 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5830 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5835 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5840 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5842 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5849 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5850 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5855 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5860 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5862 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5869 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxWindow
*arg1
= (wxWindow
*) 0 ;
5872 int arg2
= (int) -1 ;
5873 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5874 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5879 long arg6
= (long) 0 ;
5880 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5882 wxStaticBox
*result
;
5883 bool temp3
= false ;
5886 bool temp7
= false ;
5887 PyObject
* obj0
= 0 ;
5888 PyObject
* obj1
= 0 ;
5889 PyObject
* obj2
= 0 ;
5890 PyObject
* obj3
= 0 ;
5891 PyObject
* obj4
= 0 ;
5892 PyObject
* obj5
= 0 ;
5893 PyObject
* obj6
= 0 ;
5895 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5900 if (SWIG_arg_fail(1)) SWIG_fail
;
5903 arg2
= (int)(SWIG_As_int(obj1
));
5904 if (SWIG_arg_fail(2)) SWIG_fail
;
5909 arg3
= wxString_in_helper(obj2
);
5910 if (arg3
== NULL
) SWIG_fail
;
5917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5923 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5928 arg6
= (long)(SWIG_As_long(obj5
));
5929 if (SWIG_arg_fail(6)) SWIG_fail
;
5934 arg7
= wxString_in_helper(obj6
);
5935 if (arg7
== NULL
) SWIG_fail
;
5940 if (!wxPyCheckForApp()) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5970 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxStaticBox
*result
;
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
5979 if (!wxPyCheckForApp()) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (wxStaticBox
*)new wxStaticBox();
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5993 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
5996 wxWindow
*arg2
= (wxWindow
*) 0 ;
5997 int arg3
= (int) -1 ;
5998 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5999 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6000 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6001 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6002 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6003 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6004 long arg7
= (long) 0 ;
6005 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6006 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6008 bool temp4
= false ;
6011 bool temp8
= false ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6014 PyObject
* obj2
= 0 ;
6015 PyObject
* obj3
= 0 ;
6016 PyObject
* obj4
= 0 ;
6017 PyObject
* obj5
= 0 ;
6018 PyObject
* obj6
= 0 ;
6019 PyObject
* obj7
= 0 ;
6021 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail
;
6027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6028 if (SWIG_arg_fail(2)) SWIG_fail
;
6031 arg3
= (int)(SWIG_As_int(obj2
));
6032 if (SWIG_arg_fail(3)) SWIG_fail
;
6037 arg4
= wxString_in_helper(obj3
);
6038 if (arg4
== NULL
) SWIG_fail
;
6045 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6051 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6056 arg7
= (long)(SWIG_As_long(obj6
));
6057 if (SWIG_arg_fail(7)) SWIG_fail
;
6062 arg8
= wxString_in_helper(obj7
);
6063 if (arg8
== NULL
) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6099 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
;
6101 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6102 wxVisualAttributes result
;
6103 PyObject
* obj0
= 0 ;
6105 (char *) "variant", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6111 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6112 if (SWIG_arg_fail(1)) SWIG_fail
;
6116 if (!wxPyCheckForApp()) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6124 wxVisualAttributes
* resultptr
;
6125 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6134 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6137 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6139 return Py_BuildValue((char *)"");
6141 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
;
6143 wxWindow
*arg1
= (wxWindow
*) 0 ;
6144 int arg2
= (int) -1 ;
6145 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6146 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6147 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6148 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6149 long arg5
= (long) wxLI_HORIZONTAL
;
6150 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6151 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6152 wxStaticLine
*result
;
6155 bool temp6
= false ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6158 PyObject
* obj2
= 0 ;
6159 PyObject
* obj3
= 0 ;
6160 PyObject
* obj4
= 0 ;
6161 PyObject
* obj5
= 0 ;
6163 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6168 if (SWIG_arg_fail(1)) SWIG_fail
;
6171 arg2
= (int)(SWIG_As_int(obj1
));
6172 if (SWIG_arg_fail(2)) SWIG_fail
;
6178 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6184 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6189 arg5
= (long)(SWIG_As_long(obj4
));
6190 if (SWIG_arg_fail(5)) SWIG_fail
;
6195 arg6
= wxString_in_helper(obj5
);
6196 if (arg6
== NULL
) SWIG_fail
;
6201 if (!wxPyCheckForApp()) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6223 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxStaticLine
*result
;
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6232 if (!wxPyCheckForApp()) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= (wxStaticLine
*)new wxStaticLine();
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6246 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6249 wxWindow
*arg2
= (wxWindow
*) 0 ;
6250 int arg3
= (int) -1 ;
6251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6255 long arg6
= (long) wxLI_HORIZONTAL
;
6256 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6261 bool temp7
= false ;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6264 PyObject
* obj2
= 0 ;
6265 PyObject
* obj3
= 0 ;
6266 PyObject
* obj4
= 0 ;
6267 PyObject
* obj5
= 0 ;
6268 PyObject
* obj6
= 0 ;
6270 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6275 if (SWIG_arg_fail(1)) SWIG_fail
;
6276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6277 if (SWIG_arg_fail(2)) SWIG_fail
;
6280 arg3
= (int)(SWIG_As_int(obj2
));
6281 if (SWIG_arg_fail(3)) SWIG_fail
;
6287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6298 arg6
= (long)(SWIG_As_long(obj5
));
6299 if (SWIG_arg_fail(6)) SWIG_fail
;
6304 arg7
= wxString_in_helper(obj6
);
6305 if (arg7
== NULL
) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6333 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6344 if (SWIG_arg_fail(1)) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6361 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= (int)wxStaticLine::GetDefaultSize();
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_From_int((int)(result
));
6385 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6388 wxVisualAttributes result
;
6389 PyObject
* obj0
= 0 ;
6391 (char *) "variant", NULL
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6397 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6398 if (SWIG_arg_fail(1)) SWIG_fail
;
6402 if (!wxPyCheckForApp()) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6410 wxVisualAttributes
* resultptr
;
6411 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6420 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6423 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6425 return Py_BuildValue((char *)"");
6427 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxWindow
*arg1
= (wxWindow
*) 0 ;
6430 int arg2
= (int) -1 ;
6431 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6432 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6433 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6434 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6435 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6436 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6437 long arg6
= (long) 0 ;
6438 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6439 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6440 wxStaticText
*result
;
6441 bool temp3
= false ;
6444 bool temp7
= false ;
6445 PyObject
* obj0
= 0 ;
6446 PyObject
* obj1
= 0 ;
6447 PyObject
* obj2
= 0 ;
6448 PyObject
* obj3
= 0 ;
6449 PyObject
* obj4
= 0 ;
6450 PyObject
* obj5
= 0 ;
6451 PyObject
* obj6
= 0 ;
6453 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail
;
6461 arg2
= (int)(SWIG_As_int(obj1
));
6462 if (SWIG_arg_fail(2)) SWIG_fail
;
6467 arg3
= wxString_in_helper(obj2
);
6468 if (arg3
== NULL
) SWIG_fail
;
6475 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6481 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6486 arg6
= (long)(SWIG_As_long(obj5
));
6487 if (SWIG_arg_fail(6)) SWIG_fail
;
6492 arg7
= wxString_in_helper(obj6
);
6493 if (arg7
== NULL
) SWIG_fail
;
6498 if (!wxPyCheckForApp()) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6528 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxStaticText
*result
;
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6537 if (!wxPyCheckForApp()) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (wxStaticText
*)new wxStaticText();
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6551 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6554 wxWindow
*arg2
= (wxWindow
*) 0 ;
6555 int arg3
= (int) -1 ;
6556 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6557 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6558 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6559 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6560 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6561 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6562 long arg7
= (long) 0 ;
6563 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6564 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6566 bool temp4
= false ;
6569 bool temp8
= false ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 PyObject
* obj2
= 0 ;
6573 PyObject
* obj3
= 0 ;
6574 PyObject
* obj4
= 0 ;
6575 PyObject
* obj5
= 0 ;
6576 PyObject
* obj6
= 0 ;
6577 PyObject
* obj7
= 0 ;
6579 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6584 if (SWIG_arg_fail(1)) SWIG_fail
;
6585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6586 if (SWIG_arg_fail(2)) SWIG_fail
;
6589 arg3
= (int)(SWIG_As_int(obj2
));
6590 if (SWIG_arg_fail(3)) SWIG_fail
;
6595 arg4
= wxString_in_helper(obj3
);
6596 if (arg4
== NULL
) SWIG_fail
;
6603 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6609 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6614 arg7
= (long)(SWIG_As_long(obj6
));
6615 if (SWIG_arg_fail(7)) SWIG_fail
;
6620 arg8
= wxString_in_helper(obj7
);
6621 if (arg8
== NULL
) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6657 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6660 wxVisualAttributes result
;
6661 PyObject
* obj0
= 0 ;
6663 (char *) "variant", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6669 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6670 if (SWIG_arg_fail(1)) SWIG_fail
;
6674 if (!wxPyCheckForApp()) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6682 wxVisualAttributes
* resultptr
;
6683 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6692 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6695 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6697 return Py_BuildValue((char *)"");
6699 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxWindow
*arg1
= (wxWindow
*) 0 ;
6702 int arg2
= (int) -1 ;
6703 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6704 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6709 long arg6
= (long) 0 ;
6710 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6712 wxStaticBitmap
*result
;
6715 bool temp7
= false ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6718 PyObject
* obj2
= 0 ;
6719 PyObject
* obj3
= 0 ;
6720 PyObject
* obj4
= 0 ;
6721 PyObject
* obj5
= 0 ;
6722 PyObject
* obj6
= 0 ;
6724 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6729 if (SWIG_arg_fail(1)) SWIG_fail
;
6732 arg2
= (int)(SWIG_As_int(obj1
));
6733 if (SWIG_arg_fail(2)) SWIG_fail
;
6738 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6739 if (SWIG_arg_fail(3)) SWIG_fail
;
6741 SWIG_null_ref("wxBitmap");
6743 if (SWIG_arg_fail(3)) SWIG_fail
;
6749 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6755 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6760 arg6
= (long)(SWIG_As_long(obj5
));
6761 if (SWIG_arg_fail(6)) SWIG_fail
;
6766 arg7
= wxString_in_helper(obj6
);
6767 if (arg7
== NULL
) SWIG_fail
;
6772 if (!wxPyCheckForApp()) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6794 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxStaticBitmap
*result
;
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6803 if (!wxPyCheckForApp()) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6817 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6820 wxWindow
*arg2
= (wxWindow
*) 0 ;
6821 int arg3
= (int) -1 ;
6822 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6823 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6824 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6825 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6826 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6827 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6828 long arg7
= (long) 0 ;
6829 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6830 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6834 bool temp8
= false ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6837 PyObject
* obj2
= 0 ;
6838 PyObject
* obj3
= 0 ;
6839 PyObject
* obj4
= 0 ;
6840 PyObject
* obj5
= 0 ;
6841 PyObject
* obj6
= 0 ;
6842 PyObject
* obj7
= 0 ;
6844 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6849 if (SWIG_arg_fail(1)) SWIG_fail
;
6850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6851 if (SWIG_arg_fail(2)) SWIG_fail
;
6854 arg3
= (int)(SWIG_As_int(obj2
));
6855 if (SWIG_arg_fail(3)) SWIG_fail
;
6860 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6861 if (SWIG_arg_fail(4)) SWIG_fail
;
6863 SWIG_null_ref("wxBitmap");
6865 if (SWIG_arg_fail(4)) SWIG_fail
;
6871 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6877 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6882 arg7
= (long)(SWIG_As_long(obj6
));
6883 if (SWIG_arg_fail(7)) SWIG_fail
;
6888 arg8
= wxString_in_helper(obj7
);
6889 if (arg8
== NULL
) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6917 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6921 PyObject
* obj0
= 0 ;
6923 (char *) "self", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6928 if (SWIG_arg_fail(1)) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 result
= (arg1
)->GetBitmap();
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6937 wxBitmap
* resultptr
;
6938 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6947 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6950 wxBitmap
*arg2
= 0 ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6954 (char *) "self",(char *) "bitmap", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6959 if (SWIG_arg_fail(1)) SWIG_fail
;
6961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6962 if (SWIG_arg_fail(2)) SWIG_fail
;
6964 SWIG_null_ref("wxBitmap");
6966 if (SWIG_arg_fail(2)) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 Py_INCREF(Py_None
); resultobj
= Py_None
;
6982 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6989 (char *) "self",(char *) "icon", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6994 if (SWIG_arg_fail(1)) SWIG_fail
;
6996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
6997 if (SWIG_arg_fail(2)) SWIG_fail
;
6999 SWIG_null_ref("wxIcon");
7001 if (SWIG_arg_fail(2)) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 Py_INCREF(Py_None
); resultobj
= Py_None
;
7017 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7020 wxVisualAttributes result
;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "variant", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7029 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7030 if (SWIG_arg_fail(1)) SWIG_fail
;
7034 if (!wxPyCheckForApp()) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7042 wxVisualAttributes
* resultptr
;
7043 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7052 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7055 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7057 return Py_BuildValue((char *)"");
7059 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7060 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7065 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7070 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7072 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7079 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxWindow
*arg1
= (wxWindow
*) 0 ;
7082 int arg2
= (int) -1 ;
7083 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7084 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7085 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7086 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7087 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7088 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7089 long arg6
= (long) 0 ;
7090 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7091 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7092 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7097 bool temp5
= false ;
7098 bool temp8
= false ;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7101 PyObject
* obj2
= 0 ;
7102 PyObject
* obj3
= 0 ;
7103 PyObject
* obj4
= 0 ;
7104 PyObject
* obj5
= 0 ;
7105 PyObject
* obj6
= 0 ;
7106 PyObject
* obj7
= 0 ;
7108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7113 if (SWIG_arg_fail(1)) SWIG_fail
;
7116 arg2
= (int)(SWIG_As_int(obj1
));
7117 if (SWIG_arg_fail(2)) SWIG_fail
;
7123 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7129 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7134 if (! PySequence_Check(obj4
)) {
7135 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7138 arg5
= new wxArrayString
;
7140 int i
, len
=PySequence_Length(obj4
);
7141 for (i
=0; i
<len
; i
++) {
7142 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7143 wxString
* s
= wxString_in_helper(item
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7153 arg6
= (long)(SWIG_As_long(obj5
));
7154 if (SWIG_arg_fail(6)) SWIG_fail
;
7159 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7160 if (SWIG_arg_fail(7)) SWIG_fail
;
7162 SWIG_null_ref("wxValidator");
7164 if (SWIG_arg_fail(7)) SWIG_fail
;
7169 arg8
= wxString_in_helper(obj7
);
7170 if (arg8
== NULL
) SWIG_fail
;
7175 if (!wxPyCheckForApp()) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7184 if (temp5
) delete arg5
;
7193 if (temp5
) delete arg5
;
7203 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7212 if (!wxPyCheckForApp()) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 result
= (wxListBox
*)new wxListBox();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7226 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxListBox
*arg1
= (wxListBox
*) 0 ;
7229 wxWindow
*arg2
= (wxWindow
*) 0 ;
7230 int arg3
= (int) -1 ;
7231 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7232 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7233 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7234 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7235 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7236 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7237 long arg7
= (long) 0 ;
7238 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7239 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7240 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7241 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7245 bool temp6
= false ;
7246 bool temp9
= false ;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7249 PyObject
* obj2
= 0 ;
7250 PyObject
* obj3
= 0 ;
7251 PyObject
* obj4
= 0 ;
7252 PyObject
* obj5
= 0 ;
7253 PyObject
* obj6
= 0 ;
7254 PyObject
* obj7
= 0 ;
7255 PyObject
* obj8
= 0 ;
7257 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7262 if (SWIG_arg_fail(1)) SWIG_fail
;
7263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7264 if (SWIG_arg_fail(2)) SWIG_fail
;
7267 arg3
= (int)(SWIG_As_int(obj2
));
7268 if (SWIG_arg_fail(3)) SWIG_fail
;
7274 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7280 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7285 if (! PySequence_Check(obj5
)) {
7286 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7289 arg6
= new wxArrayString
;
7291 int i
, len
=PySequence_Length(obj5
);
7292 for (i
=0; i
<len
; i
++) {
7293 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7294 wxString
* s
= wxString_in_helper(item
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7304 arg7
= (long)(SWIG_As_long(obj6
));
7305 if (SWIG_arg_fail(7)) SWIG_fail
;
7310 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7311 if (SWIG_arg_fail(8)) SWIG_fail
;
7313 SWIG_null_ref("wxValidator");
7315 if (SWIG_arg_fail(8)) SWIG_fail
;
7320 arg9
= wxString_in_helper(obj8
);
7321 if (arg9
== NULL
) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7336 if (temp6
) delete arg6
;
7345 if (temp6
) delete arg6
;
7355 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxListBox
*arg1
= (wxListBox
*) 0 ;
7358 wxString
*arg2
= 0 ;
7360 PyObject
*arg4
= (PyObject
*) NULL
;
7361 bool temp2
= false ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7364 PyObject
* obj2
= 0 ;
7365 PyObject
* obj3
= 0 ;
7367 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7372 if (SWIG_arg_fail(1)) SWIG_fail
;
7374 arg2
= wxString_in_helper(obj1
);
7375 if (arg2
== NULL
) SWIG_fail
;
7379 arg3
= (int)(SWIG_As_int(obj2
));
7380 if (SWIG_arg_fail(3)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7407 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxListBox
*arg1
= (wxListBox
*) 0 ;
7410 wxArrayString
*arg2
= 0 ;
7412 bool temp2
= false ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 PyObject
* obj2
= 0 ;
7417 (char *) "self",(char *) "items",(char *) "pos", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail
;
7424 if (! PySequence_Check(obj1
)) {
7425 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7428 arg2
= new wxArrayString
;
7430 int i
, len
=PySequence_Length(obj1
);
7431 for (i
=0; i
<len
; i
++) {
7432 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7433 wxString
* s
= wxString_in_helper(item
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7441 arg3
= (int)(SWIG_As_int(obj2
));
7442 if (SWIG_arg_fail(3)) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 if (temp2
) delete arg2
;
7458 if (temp2
) delete arg2
;
7464 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxListBox
*arg1
= (wxListBox
*) 0 ;
7467 wxArrayString
*arg2
= 0 ;
7468 bool temp2
= false ;
7469 PyObject
* obj0
= 0 ;
7470 PyObject
* obj1
= 0 ;
7472 (char *) "self",(char *) "items", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail
;
7479 if (! PySequence_Check(obj1
)) {
7480 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7483 arg2
= new wxArrayString
;
7485 int i
, len
=PySequence_Length(obj1
);
7486 for (i
=0; i
<len
; i
++) {
7487 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7488 wxString
* s
= wxString_in_helper(item
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 (arg1
)->Set((wxArrayString
const &)*arg2
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 Py_INCREF(Py_None
); resultobj
= Py_None
;
7504 if (temp2
) delete arg2
;
7509 if (temp2
) delete arg2
;
7515 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxListBox
*arg1
= (wxListBox
*) 0 ;
7520 PyObject
* obj0
= 0 ;
7521 PyObject
* obj1
= 0 ;
7523 (char *) "self",(char *) "n", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7528 if (SWIG_arg_fail(1)) SWIG_fail
;
7530 arg2
= (int)(SWIG_As_int(obj1
));
7531 if (SWIG_arg_fail(2)) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7549 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxListBox
*arg1
= (wxListBox
*) 0 ;
7553 bool arg3
= (bool) true ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7556 PyObject
* obj2
= 0 ;
7558 (char *) "self",(char *) "n",(char *) "select", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7563 if (SWIG_arg_fail(1)) SWIG_fail
;
7565 arg2
= (int)(SWIG_As_int(obj1
));
7566 if (SWIG_arg_fail(2)) SWIG_fail
;
7570 arg3
= (bool)(SWIG_As_bool(obj2
));
7571 if (SWIG_arg_fail(3)) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 (arg1
)->SetSelection(arg2
,arg3
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 Py_INCREF(Py_None
); resultobj
= Py_None
;
7588 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxListBox
*arg1
= (wxListBox
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7595 (char *) "self",(char *) "n", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7600 if (SWIG_arg_fail(1)) SWIG_fail
;
7602 arg2
= (int)(SWIG_As_int(obj1
));
7603 if (SWIG_arg_fail(2)) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 (arg1
)->Select(arg2
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 Py_INCREF(Py_None
); resultobj
= Py_None
;
7619 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxListBox
*arg1
= (wxListBox
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7626 (char *) "self",(char *) "n", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7631 if (SWIG_arg_fail(1)) SWIG_fail
;
7633 arg2
= (int)(SWIG_As_int(obj1
));
7634 if (SWIG_arg_fail(2)) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 (arg1
)->Deselect(arg2
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 Py_INCREF(Py_None
); resultobj
= Py_None
;
7650 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxListBox
*arg1
= (wxListBox
*) 0 ;
7653 int arg2
= (int) -1 ;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7657 (char *) "self",(char *) "itemToLeaveSelected", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7662 if (SWIG_arg_fail(1)) SWIG_fail
;
7665 arg2
= (int)(SWIG_As_int(obj1
));
7666 if (SWIG_arg_fail(2)) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 (arg1
)->DeselectAll(arg2
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 Py_INCREF(Py_None
); resultobj
= Py_None
;
7683 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxListBox
*arg1
= (wxListBox
*) 0 ;
7686 wxString
*arg2
= 0 ;
7687 bool arg3
= (bool) true ;
7689 bool temp2
= false ;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7692 PyObject
* obj2
= 0 ;
7694 (char *) "self",(char *) "s",(char *) "select", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7699 if (SWIG_arg_fail(1)) SWIG_fail
;
7701 arg2
= wxString_in_helper(obj1
);
7702 if (arg2
== NULL
) SWIG_fail
;
7707 arg3
= (bool)(SWIG_As_bool(obj2
));
7708 if (SWIG_arg_fail(3)) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7735 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxListBox
*arg1
= (wxListBox
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7741 (char *) "self", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7746 if (SWIG_arg_fail(1)) SWIG_fail
;
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7761 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxListBox
*arg1
= (wxListBox
*) 0 ;
7765 PyObject
* obj0
= 0 ;
7766 PyObject
* obj1
= 0 ;
7768 (char *) "self",(char *) "n", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7773 if (SWIG_arg_fail(1)) SWIG_fail
;
7775 arg2
= (int)(SWIG_As_int(obj1
));
7776 if (SWIG_arg_fail(2)) SWIG_fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 (arg1
)->SetFirstItem(arg2
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 Py_INCREF(Py_None
); resultobj
= Py_None
;
7792 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7794 wxListBox
*arg1
= (wxListBox
*) 0 ;
7795 wxString
*arg2
= 0 ;
7796 bool temp2
= false ;
7797 PyObject
* obj0
= 0 ;
7798 PyObject
* obj1
= 0 ;
7800 (char *) "self",(char *) "s", NULL
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7805 if (SWIG_arg_fail(1)) SWIG_fail
;
7807 arg2
= wxString_in_helper(obj1
);
7808 if (arg2
== NULL
) SWIG_fail
;
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7815 wxPyEndAllowThreads(__tstate
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 Py_INCREF(Py_None
); resultobj
= Py_None
;
7833 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxListBox
*arg1
= (wxListBox
*) 0 ;
7837 PyObject
* obj0
= 0 ;
7838 PyObject
* obj1
= 0 ;
7840 (char *) "self",(char *) "n", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail
;
7847 arg2
= (int)(SWIG_As_int(obj1
));
7848 if (SWIG_arg_fail(2)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 (arg1
)->EnsureVisible(arg2
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 Py_INCREF(Py_None
); resultobj
= Py_None
;
7864 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxListBox
*arg1
= (wxListBox
*) 0 ;
7867 wxString
*arg2
= 0 ;
7868 bool temp2
= false ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7872 (char *) "self",(char *) "s", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7877 if (SWIG_arg_fail(1)) SWIG_fail
;
7879 arg2
= wxString_in_helper(obj1
);
7880 if (arg2
== NULL
) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7890 Py_INCREF(Py_None
); resultobj
= Py_None
;
7905 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxListBox
*arg1
= (wxListBox
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7911 (char *) "self", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7916 if (SWIG_arg_fail(1)) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7933 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxListBox
*arg1
= (wxListBox
*) 0 ;
7937 wxColour
*arg3
= 0 ;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7941 PyObject
* obj2
= 0 ;
7943 (char *) "self",(char *) "item",(char *) "c", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7948 if (SWIG_arg_fail(1)) SWIG_fail
;
7950 arg2
= (int)(SWIG_As_int(obj1
));
7951 if (SWIG_arg_fail(2)) SWIG_fail
;
7955 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7964 Py_INCREF(Py_None
); resultobj
= Py_None
;
7971 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
;
7973 wxListBox
*arg1
= (wxListBox
*) 0 ;
7975 wxColour
*arg3
= 0 ;
7977 PyObject
* obj0
= 0 ;
7978 PyObject
* obj1
= 0 ;
7979 PyObject
* obj2
= 0 ;
7981 (char *) "self",(char *) "item",(char *) "c", NULL
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7986 if (SWIG_arg_fail(1)) SWIG_fail
;
7988 arg2
= (int)(SWIG_As_int(obj1
));
7989 if (SWIG_arg_fail(2)) SWIG_fail
;
7993 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 Py_INCREF(Py_None
); resultobj
= Py_None
;
8009 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxListBox
*arg1
= (wxListBox
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8016 PyObject
* obj2
= 0 ;
8018 (char *) "self",(char *) "item",(char *) "f", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail
;
8025 arg2
= (int)(SWIG_As_int(obj1
));
8026 if (SWIG_arg_fail(2)) SWIG_fail
;
8029 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8030 if (SWIG_arg_fail(3)) SWIG_fail
;
8032 SWIG_null_ref("wxFont");
8034 if (SWIG_arg_fail(3)) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 Py_INCREF(Py_None
); resultobj
= Py_None
;
8050 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8053 wxVisualAttributes result
;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "variant", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8062 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8063 if (SWIG_arg_fail(1)) SWIG_fail
;
8067 if (!wxPyCheckForApp()) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8075 wxVisualAttributes
* resultptr
;
8076 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8085 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8088 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8090 return Py_BuildValue((char *)"");
8092 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxWindow
*arg1
= (wxWindow
*) 0 ;
8095 int arg2
= (int) -1 ;
8096 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8097 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8098 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8099 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8100 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8101 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8102 long arg6
= (long) 0 ;
8103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8105 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8107 wxCheckListBox
*result
;
8110 bool temp5
= false ;
8111 bool temp8
= false ;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8114 PyObject
* obj2
= 0 ;
8115 PyObject
* obj3
= 0 ;
8116 PyObject
* obj4
= 0 ;
8117 PyObject
* obj5
= 0 ;
8118 PyObject
* obj6
= 0 ;
8119 PyObject
* obj7
= 0 ;
8121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8126 if (SWIG_arg_fail(1)) SWIG_fail
;
8129 arg2
= (int)(SWIG_As_int(obj1
));
8130 if (SWIG_arg_fail(2)) SWIG_fail
;
8136 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8142 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8147 if (! PySequence_Check(obj4
)) {
8148 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8151 arg5
= new wxArrayString
;
8153 int i
, len
=PySequence_Length(obj4
);
8154 for (i
=0; i
<len
; i
++) {
8155 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8156 wxString
* s
= wxString_in_helper(item
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8166 arg6
= (long)(SWIG_As_long(obj5
));
8167 if (SWIG_arg_fail(6)) SWIG_fail
;
8172 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8173 if (SWIG_arg_fail(7)) SWIG_fail
;
8175 SWIG_null_ref("wxValidator");
8177 if (SWIG_arg_fail(7)) SWIG_fail
;
8182 arg8
= wxString_in_helper(obj7
);
8183 if (arg8
== NULL
) SWIG_fail
;
8188 if (!wxPyCheckForApp()) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8197 if (temp5
) delete arg5
;
8206 if (temp5
) delete arg5
;
8216 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxCheckListBox
*result
;
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8225 if (!wxPyCheckForApp()) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= (wxCheckListBox
*)new wxCheckListBox();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8239 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8242 wxWindow
*arg2
= (wxWindow
*) 0 ;
8243 int arg3
= (int) -1 ;
8244 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8245 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8246 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8247 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8248 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8249 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8250 long arg7
= (long) 0 ;
8251 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8252 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8253 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8254 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8258 bool temp6
= false ;
8259 bool temp9
= false ;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8262 PyObject
* obj2
= 0 ;
8263 PyObject
* obj3
= 0 ;
8264 PyObject
* obj4
= 0 ;
8265 PyObject
* obj5
= 0 ;
8266 PyObject
* obj6
= 0 ;
8267 PyObject
* obj7
= 0 ;
8268 PyObject
* obj8
= 0 ;
8270 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8275 if (SWIG_arg_fail(1)) SWIG_fail
;
8276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8277 if (SWIG_arg_fail(2)) SWIG_fail
;
8280 arg3
= (int)(SWIG_As_int(obj2
));
8281 if (SWIG_arg_fail(3)) SWIG_fail
;
8287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8298 if (! PySequence_Check(obj5
)) {
8299 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8302 arg6
= new wxArrayString
;
8304 int i
, len
=PySequence_Length(obj5
);
8305 for (i
=0; i
<len
; i
++) {
8306 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8307 wxString
* s
= wxString_in_helper(item
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8317 arg7
= (long)(SWIG_As_long(obj6
));
8318 if (SWIG_arg_fail(7)) SWIG_fail
;
8323 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8324 if (SWIG_arg_fail(8)) SWIG_fail
;
8326 SWIG_null_ref("wxValidator");
8328 if (SWIG_arg_fail(8)) SWIG_fail
;
8333 arg9
= wxString_in_helper(obj8
);
8334 if (arg9
== NULL
) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8349 if (temp6
) delete arg6
;
8358 if (temp6
) delete arg6
;
8368 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8373 PyObject
* obj0
= 0 ;
8374 PyObject
* obj1
= 0 ;
8376 (char *) "self",(char *) "index", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8381 if (SWIG_arg_fail(1)) SWIG_fail
;
8383 arg2
= (int)(SWIG_As_int(obj1
));
8384 if (SWIG_arg_fail(2)) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (bool)(arg1
)->IsChecked(arg2
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8402 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8406 int arg3
= (int) true ;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8409 PyObject
* obj2
= 0 ;
8411 (char *) "self",(char *) "index",(char *) "check", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8416 if (SWIG_arg_fail(1)) SWIG_fail
;
8418 arg2
= (int)(SWIG_As_int(obj1
));
8419 if (SWIG_arg_fail(2)) SWIG_fail
;
8423 arg3
= (int)(SWIG_As_int(obj2
));
8424 if (SWIG_arg_fail(3)) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 (arg1
)->Check(arg2
,arg3
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 Py_INCREF(Py_None
); resultobj
= Py_None
;
8441 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
;
8443 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8447 PyObject
* obj0
= 0 ;
8448 PyObject
* obj1
= 0 ;
8450 (char *) "self",(char *) "pt", NULL
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8455 if (SWIG_arg_fail(1)) SWIG_fail
;
8458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8468 resultobj
= SWIG_From_int((int)(result
));
8476 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
;
8478 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8482 PyObject
* obj0
= 0 ;
8483 PyObject
* obj1
= 0 ;
8484 PyObject
* obj2
= 0 ;
8486 (char *) "self",(char *) "x",(char *) "y", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8491 if (SWIG_arg_fail(1)) SWIG_fail
;
8493 arg2
= (int)(SWIG_As_int(obj1
));
8494 if (SWIG_arg_fail(2)) SWIG_fail
;
8497 arg3
= (int)(SWIG_As_int(obj2
));
8498 if (SWIG_arg_fail(3)) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_From_int((int)(result
));
8516 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8519 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8521 return Py_BuildValue((char *)"");
8523 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8524 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8529 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8534 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8536 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8543 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxColour
const &arg1_defvalue
= wxNullColour
;
8546 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8547 wxColour
const &arg2_defvalue
= wxNullColour
;
8548 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8549 wxFont
const &arg3_defvalue
= wxNullFont
;
8550 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8551 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8555 PyObject
* obj0
= 0 ;
8556 PyObject
* obj1
= 0 ;
8557 PyObject
* obj2
= 0 ;
8558 PyObject
* obj3
= 0 ;
8560 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8567 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8578 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8579 if (SWIG_arg_fail(3)) SWIG_fail
;
8581 SWIG_null_ref("wxFont");
8583 if (SWIG_arg_fail(3)) SWIG_fail
;
8588 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8589 if (SWIG_arg_fail(4)) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8606 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8609 PyObject
* obj0
= 0 ;
8611 (char *) "self", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8616 if (SWIG_arg_fail(1)) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8624 Py_INCREF(Py_None
); resultobj
= Py_None
;
8631 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8636 (char *) "self", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8641 if (SWIG_arg_fail(1)) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 Py_INCREF(Py_None
); resultobj
= Py_None
;
8656 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8659 wxColour
*arg2
= 0 ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8664 (char *) "self",(char *) "colText", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8669 if (SWIG_arg_fail(1)) SWIG_fail
;
8672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8691 wxColour
*arg2
= 0 ;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8696 (char *) "self",(char *) "colBack", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8701 if (SWIG_arg_fail(1)) SWIG_fail
;
8704 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 Py_INCREF(Py_None
); resultobj
= Py_None
;
8720 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8724 long arg3
= (long) wxTEXT_ATTR_FONT
;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8727 PyObject
* obj2
= 0 ;
8729 (char *) "self",(char *) "font",(char *) "flags", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8734 if (SWIG_arg_fail(1)) SWIG_fail
;
8736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8737 if (SWIG_arg_fail(2)) SWIG_fail
;
8739 SWIG_null_ref("wxFont");
8741 if (SWIG_arg_fail(2)) SWIG_fail
;
8745 arg3
= (long)(SWIG_As_long(obj2
));
8746 if (SWIG_arg_fail(3)) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 Py_INCREF(Py_None
); resultobj
= Py_None
;
8763 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8766 wxTextAttrAlignment arg2
;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8770 (char *) "self",(char *) "alignment", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8775 if (SWIG_arg_fail(1)) SWIG_fail
;
8777 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8778 if (SWIG_arg_fail(2)) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8797 wxArrayInt
*arg2
= 0 ;
8798 bool temp2
= false ;
8799 PyObject
* obj0
= 0 ;
8800 PyObject
* obj1
= 0 ;
8802 (char *) "self",(char *) "tabs", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8807 if (SWIG_arg_fail(1)) SWIG_fail
;
8809 if (! PySequence_Check(obj1
)) {
8810 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8813 arg2
= new wxArrayInt
;
8815 int i
, len
=PySequence_Length(obj1
);
8816 for (i
=0; i
<len
; i
++) {
8817 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8818 PyObject
* number
= PyNumber_Int(item
);
8819 arg2
->Add(PyInt_AS_LONG(number
));
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 Py_INCREF(Py_None
); resultobj
= Py_None
;
8833 if (temp2
) delete arg2
;
8838 if (temp2
) delete arg2
;
8844 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8848 int arg3
= (int) 0 ;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8851 PyObject
* obj2
= 0 ;
8853 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8858 if (SWIG_arg_fail(1)) SWIG_fail
;
8860 arg2
= (int)(SWIG_As_int(obj1
));
8861 if (SWIG_arg_fail(2)) SWIG_fail
;
8865 arg3
= (int)(SWIG_As_int(obj2
));
8866 if (SWIG_arg_fail(3)) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 (arg1
)->SetLeftIndent(arg2
,arg3
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8883 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8890 (char *) "self",(char *) "indent", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8895 if (SWIG_arg_fail(1)) SWIG_fail
;
8897 arg2
= (int)(SWIG_As_int(obj1
));
8898 if (SWIG_arg_fail(2)) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 (arg1
)->SetRightIndent(arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 Py_INCREF(Py_None
); resultobj
= Py_None
;
8914 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8919 PyObject
* obj1
= 0 ;
8921 (char *) "self",(char *) "flags", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail
;
8928 arg2
= (long)(SWIG_As_long(obj1
));
8929 if (SWIG_arg_fail(2)) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->SetFlags(arg2
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8951 (char *) "self", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
8955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8956 if (SWIG_arg_fail(1)) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8973 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8977 PyObject
* obj0
= 0 ;
8979 (char *) "self", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
8983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9001 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9005 PyObject
* obj0
= 0 ;
9007 (char *) "self", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9012 if (SWIG_arg_fail(1)) SWIG_fail
;
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9029 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9033 PyObject
* obj0
= 0 ;
9035 (char *) "self", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9040 if (SWIG_arg_fail(1)) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9057 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9061 PyObject
* obj0
= 0 ;
9063 (char *) "self", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9068 if (SWIG_arg_fail(1)) SWIG_fail
;
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9085 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9089 PyObject
* obj0
= 0 ;
9091 (char *) "self", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9113 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9119 (char *) "self", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9141 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9149 (char *) "self",(char *) "flag", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail
;
9156 arg2
= (long)(SWIG_As_long(obj1
));
9157 if (SWIG_arg_fail(2)) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9175 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "self", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9186 if (SWIG_arg_fail(1)) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9191 result
= (wxColour
*) &_result_ref
;
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9204 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9208 PyObject
* obj0
= 0 ;
9210 (char *) "self", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9215 if (SWIG_arg_fail(1)) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9220 result
= (wxColour
*) &_result_ref
;
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9233 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9244 if (SWIG_arg_fail(1)) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9249 result
= (wxFont
*) &_result_ref
;
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9256 wxFont
* resultptr
= new wxFont(*result
);
9257 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9265 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9268 wxTextAttrAlignment result
;
9269 PyObject
* obj0
= 0 ;
9271 (char *) "self", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_From_int((result
));
9291 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9295 PyObject
* obj0
= 0 ;
9297 (char *) "self", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9302 if (SWIG_arg_fail(1)) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9307 result
= (wxArrayInt
*) &_result_ref
;
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= PyList_New(0);
9316 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9317 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9318 PyList_Append(resultobj
, val
);
9328 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9334 (char *) "self", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9339 if (SWIG_arg_fail(1)) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_From_long((long)(result
));
9356 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
;
9358 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9362 (char *) "self", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9367 if (SWIG_arg_fail(1)) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= SWIG_From_long((long)(result
));
9384 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9388 PyObject
* obj0
= 0 ;
9390 (char *) "self", NULL
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9395 if (SWIG_arg_fail(1)) SWIG_fail
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= SWIG_From_long((long)(result
));
9412 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
;
9414 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9416 PyObject
* obj0
= 0 ;
9418 (char *) "self", NULL
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9423 if (SWIG_arg_fail(1)) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9432 resultobj
= SWIG_From_long((long)(result
));
9440 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9446 (char *) "self", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9451 if (SWIG_arg_fail(1)) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9468 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxTextAttr
*arg1
= 0 ;
9471 wxTextAttr
*arg2
= 0 ;
9472 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9476 PyObject
* obj2
= 0 ;
9478 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail
;
9486 SWIG_null_ref("wxTextAttr");
9488 if (SWIG_arg_fail(1)) SWIG_fail
;
9491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9492 if (SWIG_arg_fail(2)) SWIG_fail
;
9494 SWIG_null_ref("wxTextAttr");
9496 if (SWIG_arg_fail(2)) SWIG_fail
;
9498 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9499 if (SWIG_arg_fail(3)) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9508 wxTextAttr
* resultptr
;
9509 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9518 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9521 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9523 return Py_BuildValue((char *)"");
9525 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxWindow
*arg1
= (wxWindow
*) 0 ;
9528 int arg2
= (int) -1 ;
9529 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9530 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9535 long arg6
= (long) 0 ;
9536 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9537 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9538 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9539 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9541 bool temp3
= false ;
9544 bool temp8
= false ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 PyObject
* obj2
= 0 ;
9548 PyObject
* obj3
= 0 ;
9549 PyObject
* obj4
= 0 ;
9550 PyObject
* obj5
= 0 ;
9551 PyObject
* obj6
= 0 ;
9552 PyObject
* obj7
= 0 ;
9554 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9559 if (SWIG_arg_fail(1)) SWIG_fail
;
9562 arg2
= (int)(SWIG_As_int(obj1
));
9563 if (SWIG_arg_fail(2)) SWIG_fail
;
9568 arg3
= wxString_in_helper(obj2
);
9569 if (arg3
== NULL
) SWIG_fail
;
9576 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9582 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9587 arg6
= (long)(SWIG_As_long(obj5
));
9588 if (SWIG_arg_fail(6)) SWIG_fail
;
9593 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9594 if (SWIG_arg_fail(7)) SWIG_fail
;
9596 SWIG_null_ref("wxValidator");
9598 if (SWIG_arg_fail(7)) SWIG_fail
;
9603 arg8
= wxString_in_helper(obj7
);
9604 if (arg8
== NULL
) SWIG_fail
;
9609 if (!wxPyCheckForApp()) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9639 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9648 if (!wxPyCheckForApp()) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (wxTextCtrl
*)new wxTextCtrl();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9662 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9665 wxWindow
*arg2
= (wxWindow
*) 0 ;
9666 int arg3
= (int) -1 ;
9667 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9668 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9669 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9670 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9671 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9672 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9673 long arg7
= (long) 0 ;
9674 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9675 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9676 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9677 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9679 bool temp4
= false ;
9682 bool temp9
= false ;
9683 PyObject
* obj0
= 0 ;
9684 PyObject
* obj1
= 0 ;
9685 PyObject
* obj2
= 0 ;
9686 PyObject
* obj3
= 0 ;
9687 PyObject
* obj4
= 0 ;
9688 PyObject
* obj5
= 0 ;
9689 PyObject
* obj6
= 0 ;
9690 PyObject
* obj7
= 0 ;
9691 PyObject
* obj8
= 0 ;
9693 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9698 if (SWIG_arg_fail(1)) SWIG_fail
;
9699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9700 if (SWIG_arg_fail(2)) SWIG_fail
;
9703 arg3
= (int)(SWIG_As_int(obj2
));
9704 if (SWIG_arg_fail(3)) SWIG_fail
;
9709 arg4
= wxString_in_helper(obj3
);
9710 if (arg4
== NULL
) SWIG_fail
;
9717 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9723 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9728 arg7
= (long)(SWIG_As_long(obj6
));
9729 if (SWIG_arg_fail(7)) SWIG_fail
;
9734 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9735 if (SWIG_arg_fail(8)) SWIG_fail
;
9737 SWIG_null_ref("wxValidator");
9739 if (SWIG_arg_fail(8)) SWIG_fail
;
9744 arg9
= wxString_in_helper(obj8
);
9745 if (arg9
== NULL
) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9781 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9787 (char *) "self", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9792 if (SWIG_arg_fail(1)) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9813 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
;
9815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9816 wxString
*arg2
= 0 ;
9817 bool temp2
= false ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9821 (char *) "self",(char *) "value", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9826 if (SWIG_arg_fail(1)) SWIG_fail
;
9828 arg2
= wxString_in_helper(obj1
);
9829 if (arg2
== NULL
) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 (arg1
)->SetValue((wxString
const &)*arg2
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 Py_INCREF(Py_None
); resultobj
= Py_None
;
9854 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9860 PyObject
* obj0
= 0 ;
9861 PyObject
* obj1
= 0 ;
9862 PyObject
* obj2
= 0 ;
9864 (char *) "self",(char *) "from",(char *) "to", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail
;
9871 arg2
= (long)(SWIG_As_long(obj1
));
9872 if (SWIG_arg_fail(2)) SWIG_fail
;
9875 arg3
= (long)(SWIG_As_long(obj2
));
9876 if (SWIG_arg_fail(3)) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9898 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9904 PyObject
* obj1
= 0 ;
9906 (char *) "self",(char *) "lineNo", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9911 if (SWIG_arg_fail(1)) SWIG_fail
;
9913 arg2
= (long)(SWIG_As_long(obj1
));
9914 if (SWIG_arg_fail(2)) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_From_int((int)(result
));
9932 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
;
9934 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9938 PyObject
* obj1
= 0 ;
9940 (char *) "self",(char *) "lineNo", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
9944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9945 if (SWIG_arg_fail(1)) SWIG_fail
;
9947 arg2
= (long)(SWIG_As_long(obj1
));
9948 if (SWIG_arg_fail(2)) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
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_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9976 (char *) "self", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
9980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9981 if (SWIG_arg_fail(1)) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= SWIG_From_int((int)(result
));
9998 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10026 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
*resultobj
;
10028 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10030 PyObject
* obj0
= 0 ;
10031 char *kwnames
[] = {
10032 (char *) "self", NULL
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10037 if (SWIG_arg_fail(1)) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10054 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
;
10056 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10058 PyObject
* obj0
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10065 if (SWIG_arg_fail(1)) SWIG_fail
;
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10082 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10093 if (SWIG_arg_fail(1)) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10110 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10113 long *arg2
= (long *) 0 ;
10114 long *arg3
= (long *) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 char *kwnames
[] = {
10121 (char *) "self", NULL
10124 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10125 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10128 if (SWIG_arg_fail(1)) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 Py_INCREF(Py_None
); resultobj
= Py_None
;
10137 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10138 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10139 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10140 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10147 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10151 PyObject
* obj0
= 0 ;
10152 char *kwnames
[] = {
10153 (char *) "self", NULL
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10158 if (SWIG_arg_fail(1)) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10179 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10182 PyObject
* obj0
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10189 if (SWIG_arg_fail(1)) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 Py_INCREF(Py_None
); resultobj
= Py_None
;
10204 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10209 wxString
*arg4
= 0 ;
10210 bool temp4
= false ;
10211 PyObject
* obj0
= 0 ;
10212 PyObject
* obj1
= 0 ;
10213 PyObject
* obj2
= 0 ;
10214 PyObject
* obj3
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10221 if (SWIG_arg_fail(1)) SWIG_fail
;
10223 arg2
= (long)(SWIG_As_long(obj1
));
10224 if (SWIG_arg_fail(2)) SWIG_fail
;
10227 arg3
= (long)(SWIG_As_long(obj2
));
10228 if (SWIG_arg_fail(3)) SWIG_fail
;
10231 arg4
= wxString_in_helper(obj3
);
10232 if (arg4
== NULL
) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 Py_INCREF(Py_None
); resultobj
= Py_None
;
10257 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10262 PyObject
* obj0
= 0 ;
10263 PyObject
* obj1
= 0 ;
10264 PyObject
* obj2
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self",(char *) "from",(char *) "to", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10271 if (SWIG_arg_fail(1)) SWIG_fail
;
10273 arg2
= (long)(SWIG_As_long(obj1
));
10274 if (SWIG_arg_fail(2)) SWIG_fail
;
10277 arg3
= (long)(SWIG_As_long(obj2
));
10278 if (SWIG_arg_fail(3)) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 (arg1
)->Remove(arg2
,arg3
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 Py_INCREF(Py_None
); resultobj
= Py_None
;
10294 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10297 wxString
*arg2
= 0 ;
10299 bool temp2
= false ;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self",(char *) "file", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10308 if (SWIG_arg_fail(1)) SWIG_fail
;
10310 arg2
= wxString_in_helper(obj1
);
10311 if (arg2
== NULL
) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10338 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10341 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10342 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10344 bool temp2
= false ;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self",(char *) "file", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10353 if (SWIG_arg_fail(1)) SWIG_fail
;
10356 arg2
= wxString_in_helper(obj1
);
10357 if (arg2
== NULL
) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10385 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10388 PyObject
* obj0
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "self", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10395 if (SWIG_arg_fail(1)) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 (arg1
)->MarkDirty();
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 Py_INCREF(Py_None
); resultobj
= Py_None
;
10410 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10413 PyObject
* obj0
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10420 if (SWIG_arg_fail(1)) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 (arg1
)->DiscardEdits();
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 Py_INCREF(Py_None
); resultobj
= Py_None
;
10435 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10438 unsigned long arg2
;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self",(char *) "len", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10447 if (SWIG_arg_fail(1)) SWIG_fail
;
10449 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10450 if (SWIG_arg_fail(2)) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 (arg1
)->SetMaxLength(arg2
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 Py_INCREF(Py_None
); resultobj
= Py_None
;
10466 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10469 wxString
*arg2
= 0 ;
10470 bool temp2
= false ;
10471 PyObject
* obj0
= 0 ;
10472 PyObject
* obj1
= 0 ;
10473 char *kwnames
[] = {
10474 (char *) "self",(char *) "text", NULL
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10479 if (SWIG_arg_fail(1)) SWIG_fail
;
10481 arg2
= wxString_in_helper(obj1
);
10482 if (arg2
== NULL
) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 (arg1
)->WriteText((wxString
const &)*arg2
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10492 Py_INCREF(Py_None
); resultobj
= Py_None
;
10507 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10510 wxString
*arg2
= 0 ;
10511 bool temp2
= false ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self",(char *) "text", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail
;
10522 arg2
= wxString_in_helper(obj1
);
10523 if (arg2
== NULL
) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 (arg1
)->AppendText((wxString
const &)*arg2
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 Py_INCREF(Py_None
); resultobj
= Py_None
;
10548 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10551 wxKeyEvent
*arg2
= 0 ;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self",(char *) "event", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10561 if (SWIG_arg_fail(1)) SWIG_fail
;
10563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10564 if (SWIG_arg_fail(2)) SWIG_fail
;
10565 if (arg2
== NULL
) {
10566 SWIG_null_ref("wxKeyEvent");
10568 if (SWIG_arg_fail(2)) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10586 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
;
10588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10591 wxTextAttr
*arg4
= 0 ;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 PyObject
* obj2
= 0 ;
10596 PyObject
* obj3
= 0 ;
10597 char *kwnames
[] = {
10598 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10603 if (SWIG_arg_fail(1)) SWIG_fail
;
10605 arg2
= (long)(SWIG_As_long(obj1
));
10606 if (SWIG_arg_fail(2)) SWIG_fail
;
10609 arg3
= (long)(SWIG_As_long(obj2
));
10610 if (SWIG_arg_fail(3)) SWIG_fail
;
10613 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10614 if (SWIG_arg_fail(4)) SWIG_fail
;
10615 if (arg4
== NULL
) {
10616 SWIG_null_ref("wxTextAttr");
10618 if (SWIG_arg_fail(4)) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10636 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10640 wxTextAttr
*arg3
= 0 ;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 PyObject
* obj2
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self",(char *) "position",(char *) "style", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10651 if (SWIG_arg_fail(1)) SWIG_fail
;
10653 arg2
= (long)(SWIG_As_long(obj1
));
10654 if (SWIG_arg_fail(2)) SWIG_fail
;
10657 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10658 if (SWIG_arg_fail(3)) SWIG_fail
;
10659 if (arg3
== NULL
) {
10660 SWIG_null_ref("wxTextAttr");
10662 if (SWIG_arg_fail(3)) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10680 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10683 wxTextAttr
*arg2
= 0 ;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self",(char *) "style", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10693 if (SWIG_arg_fail(1)) SWIG_fail
;
10695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10696 if (SWIG_arg_fail(2)) SWIG_fail
;
10697 if (arg2
== NULL
) {
10698 SWIG_null_ref("wxTextAttr");
10700 if (SWIG_arg_fail(2)) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10718 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10721 wxTextAttr
*result
;
10722 PyObject
* obj0
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10729 if (SWIG_arg_fail(1)) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10734 result
= (wxTextAttr
*) &_result_ref
;
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10747 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
;
10749 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 PyObject
* obj2
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "x",(char *) "y", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10764 arg2
= (long)(SWIG_As_long(obj1
));
10765 if (SWIG_arg_fail(2)) SWIG_fail
;
10768 arg3
= (long)(SWIG_As_long(obj2
));
10769 if (SWIG_arg_fail(3)) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= SWIG_From_long((long)(result
));
10787 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10791 long *arg3
= (long *) 0 ;
10792 long *arg4
= (long *) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self",(char *) "pos", NULL
10803 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10804 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10807 if (SWIG_arg_fail(1)) SWIG_fail
;
10809 arg2
= (long)(SWIG_As_long(obj1
));
10810 if (SWIG_arg_fail(2)) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10821 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10822 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10823 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10830 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self",(char *) "pos", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10842 if (SWIG_arg_fail(1)) SWIG_fail
;
10844 arg2
= (long)(SWIG_As_long(obj1
));
10845 if (SWIG_arg_fail(2)) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 (arg1
)->ShowPosition(arg2
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 Py_INCREF(Py_None
); resultobj
= Py_None
;
10861 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10864 wxPoint
*arg2
= 0 ;
10865 long *arg3
= (long *) 0 ;
10866 long *arg4
= (long *) 0 ;
10867 wxTextCtrlHitTestResult result
;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self",(char *) "pt", NULL
10879 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10880 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10883 if (SWIG_arg_fail(1)) SWIG_fail
;
10886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= SWIG_From_int((result
));
10896 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10897 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10898 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10899 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10906 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10909 wxPoint
*arg2
= 0 ;
10910 long *arg3
= (long *) 0 ;
10911 wxTextCtrlHitTestResult result
;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self",(char *) "pt", NULL
10921 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail
;
10927 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= SWIG_From_int((result
));
10937 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10938 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10945 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
;
10947 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "self", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
10954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10955 if (SWIG_arg_fail(1)) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 Py_INCREF(Py_None
); resultobj
= Py_None
;
10970 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10973 PyObject
* obj0
= 0 ;
10974 char *kwnames
[] = {
10975 (char *) "self", NULL
10978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
10979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10980 if (SWIG_arg_fail(1)) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10988 Py_INCREF(Py_None
); resultobj
= Py_None
;
10995 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
;
10997 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "self", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11005 if (SWIG_arg_fail(1)) SWIG_fail
;
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11013 Py_INCREF(Py_None
); resultobj
= Py_None
;
11020 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
;
11022 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11031 if (SWIG_arg_fail(1)) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11048 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11052 PyObject
* obj0
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11059 if (SWIG_arg_fail(1)) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11076 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 char *kwnames
[] = {
11082 (char *) "self", NULL
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11087 if (SWIG_arg_fail(1)) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11104 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11107 PyObject
* obj0
= 0 ;
11108 char *kwnames
[] = {
11109 (char *) "self", NULL
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11114 if (SWIG_arg_fail(1)) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11129 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11132 PyObject
* obj0
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11139 if (SWIG_arg_fail(1)) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 Py_INCREF(Py_None
); resultobj
= Py_None
;
11154 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 char *kwnames
[] = {
11160 (char *) "self", NULL
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11165 if (SWIG_arg_fail(1)) SWIG_fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11182 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11186 PyObject
* obj0
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11193 if (SWIG_arg_fail(1)) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11210 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
;
11212 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11214 PyObject
* obj0
= 0 ;
11215 PyObject
* obj1
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self",(char *) "pos", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11222 if (SWIG_arg_fail(1)) SWIG_fail
;
11224 arg2
= (long)(SWIG_As_long(obj1
));
11225 if (SWIG_arg_fail(2)) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 (arg1
)->SetInsertionPoint(arg2
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 Py_INCREF(Py_None
); resultobj
= Py_None
;
11241 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11251 if (SWIG_arg_fail(1)) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 (arg1
)->SetInsertionPointEnd();
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 Py_INCREF(Py_None
); resultobj
= Py_None
;
11266 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
;
11268 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11270 PyObject
* obj0
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11277 if (SWIG_arg_fail(1)) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= SWIG_From_long((long)(result
));
11294 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11305 if (SWIG_arg_fail(1)) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_From_long((long)(result
));
11322 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11327 PyObject
* obj0
= 0 ;
11328 PyObject
* obj1
= 0 ;
11329 PyObject
* obj2
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self",(char *) "from",(char *) "to", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11336 if (SWIG_arg_fail(1)) SWIG_fail
;
11338 arg2
= (long)(SWIG_As_long(obj1
));
11339 if (SWIG_arg_fail(2)) SWIG_fail
;
11342 arg3
= (long)(SWIG_As_long(obj2
));
11343 if (SWIG_arg_fail(3)) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 (arg1
)->SetSelection(arg2
,arg3
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 Py_INCREF(Py_None
); resultobj
= Py_None
;
11359 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 (arg1
)->SelectAll();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 Py_INCREF(Py_None
); resultobj
= Py_None
;
11384 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 char *kwnames
[] = {
11391 (char *) "self",(char *) "editable", NULL
11394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11396 if (SWIG_arg_fail(1)) SWIG_fail
;
11398 arg2
= (bool)(SWIG_As_bool(obj1
));
11399 if (SWIG_arg_fail(2)) SWIG_fail
;
11402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 (arg1
)->SetEditable(arg2
);
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 Py_INCREF(Py_None
); resultobj
= Py_None
;
11415 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11418 wxString
*arg2
= 0 ;
11419 bool temp2
= false ;
11420 PyObject
* obj0
= 0 ;
11421 PyObject
* obj1
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self",(char *) "text", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail
;
11430 arg2
= wxString_in_helper(obj1
);
11431 if (arg2
== NULL
) SWIG_fail
;
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 Py_INCREF(Py_None
); resultobj
= Py_None
;
11456 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11462 PyObject
* obj0
= 0 ;
11463 PyObject
* obj1
= 0 ;
11464 PyObject
* obj2
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "from",(char *) "to", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11471 if (SWIG_arg_fail(1)) SWIG_fail
;
11473 arg2
= (long)(SWIG_As_long(obj1
));
11474 if (SWIG_arg_fail(2)) SWIG_fail
;
11477 arg3
= (long)(SWIG_As_long(obj2
));
11478 if (SWIG_arg_fail(3)) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11500 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11503 wxVisualAttributes result
;
11504 PyObject
* obj0
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "variant", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11512 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11513 if (SWIG_arg_fail(1)) SWIG_fail
;
11517 if (!wxPyCheckForApp()) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11525 wxVisualAttributes
* resultptr
;
11526 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11535 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11538 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11540 return Py_BuildValue((char *)"");
11542 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11545 wxMouseEvent
*arg2
= 0 ;
11548 wxTextUrlEvent
*result
;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 PyObject
* obj2
= 0 ;
11552 PyObject
* obj3
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11559 arg1
= (int)(SWIG_As_int(obj0
));
11560 if (SWIG_arg_fail(1)) SWIG_fail
;
11563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11564 if (SWIG_arg_fail(2)) SWIG_fail
;
11565 if (arg2
== NULL
) {
11566 SWIG_null_ref("wxMouseEvent");
11568 if (SWIG_arg_fail(2)) SWIG_fail
;
11571 arg3
= (long)(SWIG_As_long(obj2
));
11572 if (SWIG_arg_fail(3)) SWIG_fail
;
11575 arg4
= (long)(SWIG_As_long(obj3
));
11576 if (SWIG_arg_fail(4)) SWIG_fail
;
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11592 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
;
11594 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11595 wxMouseEvent
*result
;
11596 PyObject
* obj0
= 0 ;
11597 char *kwnames
[] = {
11598 (char *) "self", NULL
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11603 if (SWIG_arg_fail(1)) SWIG_fail
;
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11608 result
= (wxMouseEvent
*) &_result_ref
;
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11621 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11632 if (SWIG_arg_fail(1)) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= SWIG_From_long((long)(result
));
11649 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
;
11651 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11653 PyObject
* obj0
= 0 ;
11654 char *kwnames
[] = {
11655 (char *) "self", NULL
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11660 if (SWIG_arg_fail(1)) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= SWIG_From_long((long)(result
));
11677 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11680 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11682 return Py_BuildValue((char *)"");
11684 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11685 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11690 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11695 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11697 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11704 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxWindow
*arg1
= (wxWindow
*) 0 ;
11707 int arg2
= (int) -1 ;
11708 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11709 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11710 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11711 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11712 long arg5
= (long) wxSB_HORIZONTAL
;
11713 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11714 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11715 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11716 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11717 wxScrollBar
*result
;
11720 bool temp7
= false ;
11721 PyObject
* obj0
= 0 ;
11722 PyObject
* obj1
= 0 ;
11723 PyObject
* obj2
= 0 ;
11724 PyObject
* obj3
= 0 ;
11725 PyObject
* obj4
= 0 ;
11726 PyObject
* obj5
= 0 ;
11727 PyObject
* obj6
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11734 if (SWIG_arg_fail(1)) SWIG_fail
;
11737 arg2
= (int)(SWIG_As_int(obj1
));
11738 if (SWIG_arg_fail(2)) SWIG_fail
;
11744 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11750 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11755 arg5
= (long)(SWIG_As_long(obj4
));
11756 if (SWIG_arg_fail(5)) SWIG_fail
;
11761 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11762 if (SWIG_arg_fail(6)) SWIG_fail
;
11763 if (arg6
== NULL
) {
11764 SWIG_null_ref("wxValidator");
11766 if (SWIG_arg_fail(6)) SWIG_fail
;
11771 arg7
= wxString_in_helper(obj6
);
11772 if (arg7
== NULL
) SWIG_fail
;
11777 if (!wxPyCheckForApp()) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11799 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxScrollBar
*result
;
11802 char *kwnames
[] = {
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11808 if (!wxPyCheckForApp()) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (wxScrollBar
*)new wxScrollBar();
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11822 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11825 wxWindow
*arg2
= (wxWindow
*) 0 ;
11826 int arg3
= (int) -1 ;
11827 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11828 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11829 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11830 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11831 long arg6
= (long) wxSB_HORIZONTAL
;
11832 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11833 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11834 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11835 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11839 bool temp8
= false ;
11840 PyObject
* obj0
= 0 ;
11841 PyObject
* obj1
= 0 ;
11842 PyObject
* obj2
= 0 ;
11843 PyObject
* obj3
= 0 ;
11844 PyObject
* obj4
= 0 ;
11845 PyObject
* obj5
= 0 ;
11846 PyObject
* obj6
= 0 ;
11847 PyObject
* obj7
= 0 ;
11848 char *kwnames
[] = {
11849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11854 if (SWIG_arg_fail(1)) SWIG_fail
;
11855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11856 if (SWIG_arg_fail(2)) SWIG_fail
;
11859 arg3
= (int)(SWIG_As_int(obj2
));
11860 if (SWIG_arg_fail(3)) SWIG_fail
;
11866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11877 arg6
= (long)(SWIG_As_long(obj5
));
11878 if (SWIG_arg_fail(6)) SWIG_fail
;
11883 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11884 if (SWIG_arg_fail(7)) SWIG_fail
;
11885 if (arg7
== NULL
) {
11886 SWIG_null_ref("wxValidator");
11888 if (SWIG_arg_fail(7)) SWIG_fail
;
11893 arg8
= wxString_in_helper(obj7
);
11894 if (arg8
== NULL
) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11922 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 char *kwnames
[] = {
11928 (char *) "self", NULL
11931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
11932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11933 if (SWIG_arg_fail(1)) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= SWIG_From_int((int)(result
));
11950 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
;
11952 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
11960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11961 if (SWIG_arg_fail(1)) SWIG_fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_From_int((int)(result
));
11978 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11982 PyObject
* obj0
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
11988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11989 if (SWIG_arg_fail(1)) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= SWIG_From_int((int)(result
));
12006 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12017 if (SWIG_arg_fail(1)) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_From_int((int)(result
));
12034 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12045 if (SWIG_arg_fail(1)) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12062 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
;
12064 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self",(char *) "viewStart", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12074 if (SWIG_arg_fail(1)) SWIG_fail
;
12076 arg2
= (int)(SWIG_As_int(obj1
));
12077 if (SWIG_arg_fail(2)) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 (arg1
)->SetThumbPosition(arg2
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 Py_INCREF(Py_None
); resultobj
= Py_None
;
12093 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12100 bool arg6
= (bool) true ;
12101 PyObject
* obj0
= 0 ;
12102 PyObject
* obj1
= 0 ;
12103 PyObject
* obj2
= 0 ;
12104 PyObject
* obj3
= 0 ;
12105 PyObject
* obj4
= 0 ;
12106 PyObject
* obj5
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12113 if (SWIG_arg_fail(1)) SWIG_fail
;
12115 arg2
= (int)(SWIG_As_int(obj1
));
12116 if (SWIG_arg_fail(2)) SWIG_fail
;
12119 arg3
= (int)(SWIG_As_int(obj2
));
12120 if (SWIG_arg_fail(3)) SWIG_fail
;
12123 arg4
= (int)(SWIG_As_int(obj3
));
12124 if (SWIG_arg_fail(4)) SWIG_fail
;
12127 arg5
= (int)(SWIG_As_int(obj4
));
12128 if (SWIG_arg_fail(5)) SWIG_fail
;
12132 arg6
= (bool)(SWIG_As_bool(obj5
));
12133 if (SWIG_arg_fail(6)) SWIG_fail
;
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 Py_INCREF(Py_None
); resultobj
= Py_None
;
12150 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12153 wxVisualAttributes result
;
12154 PyObject
* obj0
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "variant", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12162 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12163 if (SWIG_arg_fail(1)) SWIG_fail
;
12167 if (!wxPyCheckForApp()) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12175 wxVisualAttributes
* resultptr
;
12176 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12185 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12188 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12190 return Py_BuildValue((char *)"");
12192 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12193 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12198 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12203 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12205 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12212 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12213 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12218 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12223 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12225 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12232 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxWindow
*arg1
= (wxWindow
*) 0 ;
12235 int arg2
= (int) -1 ;
12236 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12237 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12238 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12239 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12240 long arg5
= (long) wxSP_HORIZONTAL
;
12241 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12242 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12243 wxSpinButton
*result
;
12246 bool temp6
= false ;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 PyObject
* obj2
= 0 ;
12250 PyObject
* obj3
= 0 ;
12251 PyObject
* obj4
= 0 ;
12252 PyObject
* obj5
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12259 if (SWIG_arg_fail(1)) SWIG_fail
;
12262 arg2
= (int)(SWIG_As_int(obj1
));
12263 if (SWIG_arg_fail(2)) SWIG_fail
;
12269 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12275 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12280 arg5
= (long)(SWIG_As_long(obj4
));
12281 if (SWIG_arg_fail(5)) SWIG_fail
;
12286 arg6
= wxString_in_helper(obj5
);
12287 if (arg6
== NULL
) SWIG_fail
;
12292 if (!wxPyCheckForApp()) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12314 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxSpinButton
*result
;
12317 char *kwnames
[] = {
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12323 if (!wxPyCheckForApp()) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (wxSpinButton
*)new wxSpinButton();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12337 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12340 wxWindow
*arg2
= (wxWindow
*) 0 ;
12341 int arg3
= (int) -1 ;
12342 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12343 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12344 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12345 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12346 long arg6
= (long) wxSP_HORIZONTAL
;
12347 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12348 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12352 bool temp7
= false ;
12353 PyObject
* obj0
= 0 ;
12354 PyObject
* obj1
= 0 ;
12355 PyObject
* obj2
= 0 ;
12356 PyObject
* obj3
= 0 ;
12357 PyObject
* obj4
= 0 ;
12358 PyObject
* obj5
= 0 ;
12359 PyObject
* obj6
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12366 if (SWIG_arg_fail(1)) SWIG_fail
;
12367 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12368 if (SWIG_arg_fail(2)) SWIG_fail
;
12371 arg3
= (int)(SWIG_As_int(obj2
));
12372 if (SWIG_arg_fail(3)) SWIG_fail
;
12378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12389 arg6
= (long)(SWIG_As_long(obj5
));
12390 if (SWIG_arg_fail(6)) SWIG_fail
;
12395 arg7
= wxString_in_helper(obj6
);
12396 if (arg7
== NULL
) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12424 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12435 if (SWIG_arg_fail(1)) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_From_int((int)(result
));
12452 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12456 PyObject
* obj0
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_From_int((int)(result
));
12480 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= SWIG_From_int((int)(result
));
12508 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self",(char *) "val", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12520 if (SWIG_arg_fail(1)) SWIG_fail
;
12522 arg2
= (int)(SWIG_As_int(obj1
));
12523 if (SWIG_arg_fail(2)) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 (arg1
)->SetValue(arg2
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 Py_INCREF(Py_None
); resultobj
= Py_None
;
12539 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 PyObject
* obj1
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self",(char *) "minVal", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12551 if (SWIG_arg_fail(1)) SWIG_fail
;
12553 arg2
= (int)(SWIG_As_int(obj1
));
12554 if (SWIG_arg_fail(2)) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 (arg1
)->SetMin(arg2
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 Py_INCREF(Py_None
); resultobj
= Py_None
;
12570 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 char *kwnames
[] = {
12577 (char *) "self",(char *) "maxVal", NULL
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail
;
12584 arg2
= (int)(SWIG_As_int(obj1
));
12585 if (SWIG_arg_fail(2)) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 (arg1
)->SetMax(arg2
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 Py_INCREF(Py_None
); resultobj
= Py_None
;
12601 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
;
12603 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12606 PyObject
* obj0
= 0 ;
12607 PyObject
* obj1
= 0 ;
12608 PyObject
* obj2
= 0 ;
12609 char *kwnames
[] = {
12610 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12615 if (SWIG_arg_fail(1)) SWIG_fail
;
12617 arg2
= (int)(SWIG_As_int(obj1
));
12618 if (SWIG_arg_fail(2)) SWIG_fail
;
12621 arg3
= (int)(SWIG_As_int(obj2
));
12622 if (SWIG_arg_fail(3)) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 (arg1
)->SetRange(arg2
,arg3
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 Py_INCREF(Py_None
); resultobj
= Py_None
;
12638 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12649 if (SWIG_arg_fail(1)) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12666 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12669 wxVisualAttributes result
;
12670 PyObject
* obj0
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "variant", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12678 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12679 if (SWIG_arg_fail(1)) SWIG_fail
;
12683 if (!wxPyCheckForApp()) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12691 wxVisualAttributes
* resultptr
;
12692 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12701 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12704 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12706 return Py_BuildValue((char *)"");
12708 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxWindow
*arg1
= (wxWindow
*) 0 ;
12711 int arg2
= (int) -1 ;
12712 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12713 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12714 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12715 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12716 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12717 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12718 long arg6
= (long) wxSP_ARROW_KEYS
;
12719 int arg7
= (int) 0 ;
12720 int arg8
= (int) 100 ;
12721 int arg9
= (int) 0 ;
12722 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12723 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12724 wxSpinCtrl
*result
;
12725 bool temp3
= false ;
12728 bool temp10
= false ;
12729 PyObject
* obj0
= 0 ;
12730 PyObject
* obj1
= 0 ;
12731 PyObject
* obj2
= 0 ;
12732 PyObject
* obj3
= 0 ;
12733 PyObject
* obj4
= 0 ;
12734 PyObject
* obj5
= 0 ;
12735 PyObject
* obj6
= 0 ;
12736 PyObject
* obj7
= 0 ;
12737 PyObject
* obj8
= 0 ;
12738 PyObject
* obj9
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12745 if (SWIG_arg_fail(1)) SWIG_fail
;
12748 arg2
= (int)(SWIG_As_int(obj1
));
12749 if (SWIG_arg_fail(2)) SWIG_fail
;
12754 arg3
= wxString_in_helper(obj2
);
12755 if (arg3
== NULL
) SWIG_fail
;
12762 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12768 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12773 arg6
= (long)(SWIG_As_long(obj5
));
12774 if (SWIG_arg_fail(6)) SWIG_fail
;
12779 arg7
= (int)(SWIG_As_int(obj6
));
12780 if (SWIG_arg_fail(7)) SWIG_fail
;
12785 arg8
= (int)(SWIG_As_int(obj7
));
12786 if (SWIG_arg_fail(8)) SWIG_fail
;
12791 arg9
= (int)(SWIG_As_int(obj8
));
12792 if (SWIG_arg_fail(9)) SWIG_fail
;
12797 arg10
= wxString_in_helper(obj9
);
12798 if (arg10
== NULL
) SWIG_fail
;
12803 if (!wxPyCheckForApp()) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12833 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxSpinCtrl
*result
;
12836 char *kwnames
[] = {
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12842 if (!wxPyCheckForApp()) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12856 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12859 wxWindow
*arg2
= (wxWindow
*) 0 ;
12860 int arg3
= (int) -1 ;
12861 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12862 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12863 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12864 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12865 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12866 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12867 long arg7
= (long) wxSP_ARROW_KEYS
;
12868 int arg8
= (int) 0 ;
12869 int arg9
= (int) 100 ;
12870 int arg10
= (int) 0 ;
12871 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12872 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12874 bool temp4
= false ;
12877 bool temp11
= false ;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 PyObject
* obj2
= 0 ;
12881 PyObject
* obj3
= 0 ;
12882 PyObject
* obj4
= 0 ;
12883 PyObject
* obj5
= 0 ;
12884 PyObject
* obj6
= 0 ;
12885 PyObject
* obj7
= 0 ;
12886 PyObject
* obj8
= 0 ;
12887 PyObject
* obj9
= 0 ;
12888 PyObject
* obj10
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12895 if (SWIG_arg_fail(1)) SWIG_fail
;
12896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12897 if (SWIG_arg_fail(2)) SWIG_fail
;
12900 arg3
= (int)(SWIG_As_int(obj2
));
12901 if (SWIG_arg_fail(3)) SWIG_fail
;
12906 arg4
= wxString_in_helper(obj3
);
12907 if (arg4
== NULL
) SWIG_fail
;
12914 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12920 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12925 arg7
= (long)(SWIG_As_long(obj6
));
12926 if (SWIG_arg_fail(7)) SWIG_fail
;
12931 arg8
= (int)(SWIG_As_int(obj7
));
12932 if (SWIG_arg_fail(8)) SWIG_fail
;
12937 arg9
= (int)(SWIG_As_int(obj8
));
12938 if (SWIG_arg_fail(9)) SWIG_fail
;
12943 arg10
= (int)(SWIG_As_int(obj9
));
12944 if (SWIG_arg_fail(10)) SWIG_fail
;
12949 arg11
= wxString_in_helper(obj10
);
12950 if (arg11
== NULL
) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12986 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
12996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12997 if (SWIG_arg_fail(1)) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_From_int((int)(result
));
13014 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
;
13016 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13018 PyObject
* obj0
= 0 ;
13019 PyObject
* obj1
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self",(char *) "value", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13026 if (SWIG_arg_fail(1)) SWIG_fail
;
13028 arg2
= (int)(SWIG_As_int(obj1
));
13029 if (SWIG_arg_fail(2)) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 (arg1
)->SetValue(arg2
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 Py_INCREF(Py_None
); resultobj
= Py_None
;
13045 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13048 wxString
*arg2
= 0 ;
13049 bool temp2
= false ;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self",(char *) "text", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13058 if (SWIG_arg_fail(1)) SWIG_fail
;
13060 arg2
= wxString_in_helper(obj1
);
13061 if (arg2
== NULL
) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 (arg1
)->SetValue((wxString
const &)*arg2
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 PyObject
* obj2
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13100 if (SWIG_arg_fail(1)) SWIG_fail
;
13102 arg2
= (int)(SWIG_As_int(obj1
));
13103 if (SWIG_arg_fail(2)) SWIG_fail
;
13106 arg3
= (int)(SWIG_As_int(obj2
));
13107 if (SWIG_arg_fail(3)) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 (arg1
)->SetRange(arg2
,arg3
);
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 Py_INCREF(Py_None
); resultobj
= Py_None
;
13123 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13134 if (SWIG_arg_fail(1)) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= SWIG_From_int((int)(result
));
13151 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13155 PyObject
* obj0
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13162 if (SWIG_arg_fail(1)) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= SWIG_From_int((int)(result
));
13179 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 PyObject
* obj2
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self",(char *) "from",(char *) "to", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13193 if (SWIG_arg_fail(1)) SWIG_fail
;
13195 arg2
= (long)(SWIG_As_long(obj1
));
13196 if (SWIG_arg_fail(2)) SWIG_fail
;
13199 arg3
= (long)(SWIG_As_long(obj2
));
13200 if (SWIG_arg_fail(3)) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 (arg1
)->SetSelection(arg2
,arg3
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 Py_INCREF(Py_None
); resultobj
= Py_None
;
13216 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13219 wxVisualAttributes result
;
13220 PyObject
* obj0
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "variant", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13228 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13229 if (SWIG_arg_fail(1)) SWIG_fail
;
13233 if (!wxPyCheckForApp()) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13241 wxVisualAttributes
* resultptr
;
13242 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13251 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13254 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13256 return Py_BuildValue((char *)"");
13258 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13261 int arg2
= (int) 0 ;
13262 wxSpinEvent
*result
;
13263 PyObject
* obj0
= 0 ;
13264 PyObject
* obj1
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "commandType",(char *) "winid", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13272 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13273 if (SWIG_arg_fail(1)) SWIG_fail
;
13278 arg2
= (int)(SWIG_As_int(obj1
));
13279 if (SWIG_arg_fail(2)) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13296 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13300 PyObject
* obj0
= 0 ;
13301 char *kwnames
[] = {
13302 (char *) "self", NULL
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13307 if (SWIG_arg_fail(1)) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13316 resultobj
= SWIG_From_int((int)(result
));
13324 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13328 PyObject
* obj0
= 0 ;
13329 PyObject
* obj1
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "pos", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13336 if (SWIG_arg_fail(1)) SWIG_fail
;
13338 arg2
= (int)(SWIG_As_int(obj1
));
13339 if (SWIG_arg_fail(2)) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 (arg1
)->SetPosition(arg2
);
13345 wxPyEndAllowThreads(__tstate
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 Py_INCREF(Py_None
); resultobj
= Py_None
;
13355 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13358 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13360 return Py_BuildValue((char *)"");
13362 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13363 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13368 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13373 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13375 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13382 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13383 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13388 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13393 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13395 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13402 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
;
13404 wxWindow
*arg1
= (wxWindow
*) 0 ;
13405 int arg2
= (int) -1 ;
13406 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13407 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13412 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13413 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13414 int arg7
= (int) 0 ;
13415 long arg8
= (long) wxRA_HORIZONTAL
;
13416 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13417 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13418 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13419 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13420 wxRadioBox
*result
;
13421 bool temp3
= false ;
13424 bool temp6
= false ;
13425 bool temp10
= false ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 PyObject
* obj2
= 0 ;
13429 PyObject
* obj3
= 0 ;
13430 PyObject
* obj4
= 0 ;
13431 PyObject
* obj5
= 0 ;
13432 PyObject
* obj6
= 0 ;
13433 PyObject
* obj7
= 0 ;
13434 PyObject
* obj8
= 0 ;
13435 PyObject
* obj9
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail
;
13445 arg2
= (int)(SWIG_As_int(obj1
));
13446 if (SWIG_arg_fail(2)) SWIG_fail
;
13451 arg3
= wxString_in_helper(obj2
);
13452 if (arg3
== NULL
) SWIG_fail
;
13459 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13465 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13470 if (! PySequence_Check(obj5
)) {
13471 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13474 arg6
= new wxArrayString
;
13476 int i
, len
=PySequence_Length(obj5
);
13477 for (i
=0; i
<len
; i
++) {
13478 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13479 wxString
* s
= wxString_in_helper(item
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13489 arg7
= (int)(SWIG_As_int(obj6
));
13490 if (SWIG_arg_fail(7)) SWIG_fail
;
13495 arg8
= (long)(SWIG_As_long(obj7
));
13496 if (SWIG_arg_fail(8)) SWIG_fail
;
13501 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13502 if (SWIG_arg_fail(9)) SWIG_fail
;
13503 if (arg9
== NULL
) {
13504 SWIG_null_ref("wxValidator");
13506 if (SWIG_arg_fail(9)) SWIG_fail
;
13511 arg10
= wxString_in_helper(obj9
);
13512 if (arg10
== NULL
) SWIG_fail
;
13517 if (!wxPyCheckForApp()) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 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
);
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13530 if (temp6
) delete arg6
;
13543 if (temp6
) delete arg6
;
13553 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxRadioBox
*result
;
13556 char *kwnames
[] = {
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13562 if (!wxPyCheckForApp()) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (wxRadioBox
*)new wxRadioBox();
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13576 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
;
13578 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13579 wxWindow
*arg2
= (wxWindow
*) 0 ;
13580 int arg3
= (int) -1 ;
13581 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13582 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13583 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13584 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13585 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13586 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13587 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13588 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13589 int arg8
= (int) 0 ;
13590 long arg9
= (long) wxRA_HORIZONTAL
;
13591 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13592 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13593 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13594 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13596 bool temp4
= false ;
13599 bool temp7
= false ;
13600 bool temp11
= false ;
13601 PyObject
* obj0
= 0 ;
13602 PyObject
* obj1
= 0 ;
13603 PyObject
* obj2
= 0 ;
13604 PyObject
* obj3
= 0 ;
13605 PyObject
* obj4
= 0 ;
13606 PyObject
* obj5
= 0 ;
13607 PyObject
* obj6
= 0 ;
13608 PyObject
* obj7
= 0 ;
13609 PyObject
* obj8
= 0 ;
13610 PyObject
* obj9
= 0 ;
13611 PyObject
* obj10
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13618 if (SWIG_arg_fail(1)) SWIG_fail
;
13619 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13620 if (SWIG_arg_fail(2)) SWIG_fail
;
13623 arg3
= (int)(SWIG_As_int(obj2
));
13624 if (SWIG_arg_fail(3)) SWIG_fail
;
13629 arg4
= wxString_in_helper(obj3
);
13630 if (arg4
== NULL
) SWIG_fail
;
13637 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13643 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13648 if (! PySequence_Check(obj6
)) {
13649 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13652 arg7
= new wxArrayString
;
13654 int i
, len
=PySequence_Length(obj6
);
13655 for (i
=0; i
<len
; i
++) {
13656 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13657 wxString
* s
= wxString_in_helper(item
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13667 arg8
= (int)(SWIG_As_int(obj7
));
13668 if (SWIG_arg_fail(8)) SWIG_fail
;
13673 arg9
= (long)(SWIG_As_long(obj8
));
13674 if (SWIG_arg_fail(9)) SWIG_fail
;
13679 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13680 if (SWIG_arg_fail(10)) SWIG_fail
;
13681 if (arg10
== NULL
) {
13682 SWIG_null_ref("wxValidator");
13684 if (SWIG_arg_fail(10)) SWIG_fail
;
13689 arg11
= wxString_in_helper(obj10
);
13690 if (arg11
== NULL
) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 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
);
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13709 if (temp7
) delete arg7
;
13722 if (temp7
) delete arg7
;
13732 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 PyObject
* obj1
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self",(char *) "n", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13744 if (SWIG_arg_fail(1)) SWIG_fail
;
13746 arg2
= (int)(SWIG_As_int(obj1
));
13747 if (SWIG_arg_fail(2)) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 (arg1
)->SetSelection(arg2
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 Py_INCREF(Py_None
); resultobj
= Py_None
;
13763 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13774 if (SWIG_arg_fail(1)) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= SWIG_From_int((int)(result
));
13791 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13802 if (SWIG_arg_fail(1)) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13823 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13826 wxString
*arg2
= 0 ;
13828 bool temp2
= false ;
13829 PyObject
* obj0
= 0 ;
13830 PyObject
* obj1
= 0 ;
13831 char *kwnames
[] = {
13832 (char *) "self",(char *) "s", NULL
13835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13837 if (SWIG_arg_fail(1)) SWIG_fail
;
13839 arg2
= wxString_in_helper(obj1
);
13840 if (arg2
== NULL
) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13867 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
;
13869 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13871 PyObject
* obj0
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "self", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13878 if (SWIG_arg_fail(1)) SWIG_fail
;
13880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13881 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= SWIG_From_int((int)(result
));
13895 static PyObject
*_wrap_RadioBox_FindString(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_FindString",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
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= SWIG_From_int((int)(result
));
13939 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13944 PyObject
* obj0
= 0 ;
13945 PyObject
* obj1
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self",(char *) "n", NULL
13950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13952 if (SWIG_arg_fail(1)) SWIG_fail
;
13954 arg2
= (int)(SWIG_As_int(obj1
));
13955 if (SWIG_arg_fail(2)) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13977 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13981 wxString
*arg3
= 0 ;
13982 bool temp3
= false ;
13983 PyObject
* obj0
= 0 ;
13984 PyObject
* obj1
= 0 ;
13985 PyObject
* obj2
= 0 ;
13986 char *kwnames
[] = {
13987 (char *) "self",(char *) "n",(char *) "label", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13992 if (SWIG_arg_fail(1)) SWIG_fail
;
13994 arg2
= (int)(SWIG_As_int(obj1
));
13995 if (SWIG_arg_fail(2)) SWIG_fail
;
13998 arg3
= wxString_in_helper(obj2
);
13999 if (arg3
== NULL
) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 Py_INCREF(Py_None
); resultobj
= Py_None
;
14024 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14028 bool arg3
= (bool) true ;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 PyObject
* obj2
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self",(char *) "n",(char *) "enable", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14038 if (SWIG_arg_fail(1)) SWIG_fail
;
14040 arg2
= (int)(SWIG_As_int(obj1
));
14041 if (SWIG_arg_fail(2)) SWIG_fail
;
14045 arg3
= (bool)(SWIG_As_bool(obj2
));
14046 if (SWIG_arg_fail(3)) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 (arg1
)->Enable(arg2
,arg3
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 Py_INCREF(Py_None
); resultobj
= Py_None
;
14063 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14067 bool arg3
= (bool) true ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 PyObject
* obj2
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self",(char *) "n",(char *) "show", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14077 if (SWIG_arg_fail(1)) SWIG_fail
;
14079 arg2
= (int)(SWIG_As_int(obj1
));
14080 if (SWIG_arg_fail(2)) SWIG_fail
;
14084 arg3
= (bool)(SWIG_As_bool(obj2
));
14085 if (SWIG_arg_fail(3)) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 (arg1
)->Show(arg2
,arg3
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 Py_INCREF(Py_None
); resultobj
= Py_None
;
14102 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14103 PyObject
*resultobj
;
14104 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14106 PyObject
* obj0
= 0 ;
14107 char *kwnames
[] = {
14108 (char *) "self", NULL
14111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14113 if (SWIG_arg_fail(1)) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= SWIG_From_int((int)(result
));
14130 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
;
14132 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14134 PyObject
* obj0
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "self", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14141 if (SWIG_arg_fail(1)) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14150 resultobj
= SWIG_From_int((int)(result
));
14158 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 PyObject
* obj2
= 0 ;
14168 PyObject
* obj3
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14175 if (SWIG_arg_fail(1)) SWIG_fail
;
14177 arg2
= (int)(SWIG_As_int(obj1
));
14178 if (SWIG_arg_fail(2)) SWIG_fail
;
14181 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14182 if (SWIG_arg_fail(3)) SWIG_fail
;
14185 arg4
= (long)(SWIG_As_long(obj3
));
14186 if (SWIG_arg_fail(4)) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_From_int((int)(result
));
14204 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
;
14206 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14207 wxVisualAttributes result
;
14208 PyObject
* obj0
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "variant", NULL
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14216 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14217 if (SWIG_arg_fail(1)) SWIG_fail
;
14221 if (!wxPyCheckForApp()) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14229 wxVisualAttributes
* resultptr
;
14230 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14239 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14242 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14244 return Py_BuildValue((char *)"");
14246 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxWindow
*arg1
= (wxWindow
*) 0 ;
14249 int arg2
= (int) -1 ;
14250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14256 long arg6
= (long) 0 ;
14257 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14258 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14259 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14260 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14261 wxRadioButton
*result
;
14262 bool temp3
= false ;
14265 bool temp8
= false ;
14266 PyObject
* obj0
= 0 ;
14267 PyObject
* obj1
= 0 ;
14268 PyObject
* obj2
= 0 ;
14269 PyObject
* obj3
= 0 ;
14270 PyObject
* obj4
= 0 ;
14271 PyObject
* obj5
= 0 ;
14272 PyObject
* obj6
= 0 ;
14273 PyObject
* obj7
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14280 if (SWIG_arg_fail(1)) SWIG_fail
;
14283 arg2
= (int)(SWIG_As_int(obj1
));
14284 if (SWIG_arg_fail(2)) SWIG_fail
;
14289 arg3
= wxString_in_helper(obj2
);
14290 if (arg3
== NULL
) SWIG_fail
;
14297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14308 arg6
= (long)(SWIG_As_long(obj5
));
14309 if (SWIG_arg_fail(6)) SWIG_fail
;
14314 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14315 if (SWIG_arg_fail(7)) SWIG_fail
;
14316 if (arg7
== NULL
) {
14317 SWIG_null_ref("wxValidator");
14319 if (SWIG_arg_fail(7)) SWIG_fail
;
14324 arg8
= wxString_in_helper(obj7
);
14325 if (arg8
== NULL
) SWIG_fail
;
14330 if (!wxPyCheckForApp()) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14360 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxRadioButton
*result
;
14363 char *kwnames
[] = {
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14369 if (!wxPyCheckForApp()) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (wxRadioButton
*)new wxRadioButton();
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14383 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14386 wxWindow
*arg2
= (wxWindow
*) 0 ;
14387 int arg3
= (int) -1 ;
14388 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14389 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14390 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14391 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14392 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14393 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14394 long arg7
= (long) 0 ;
14395 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14396 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14397 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14398 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14400 bool temp4
= false ;
14403 bool temp9
= false ;
14404 PyObject
* obj0
= 0 ;
14405 PyObject
* obj1
= 0 ;
14406 PyObject
* obj2
= 0 ;
14407 PyObject
* obj3
= 0 ;
14408 PyObject
* obj4
= 0 ;
14409 PyObject
* obj5
= 0 ;
14410 PyObject
* obj6
= 0 ;
14411 PyObject
* obj7
= 0 ;
14412 PyObject
* obj8
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14419 if (SWIG_arg_fail(1)) SWIG_fail
;
14420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14421 if (SWIG_arg_fail(2)) SWIG_fail
;
14424 arg3
= (int)(SWIG_As_int(obj2
));
14425 if (SWIG_arg_fail(3)) SWIG_fail
;
14430 arg4
= wxString_in_helper(obj3
);
14431 if (arg4
== NULL
) SWIG_fail
;
14438 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14444 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14449 arg7
= (long)(SWIG_As_long(obj6
));
14450 if (SWIG_arg_fail(7)) SWIG_fail
;
14455 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14456 if (SWIG_arg_fail(8)) SWIG_fail
;
14457 if (arg8
== NULL
) {
14458 SWIG_null_ref("wxValidator");
14460 if (SWIG_arg_fail(8)) SWIG_fail
;
14465 arg9
= wxString_in_helper(obj8
);
14466 if (arg9
== NULL
) SWIG_fail
;
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14502 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14513 if (SWIG_arg_fail(1)) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (bool)(arg1
)->GetValue();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14530 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14534 PyObject
* obj0
= 0 ;
14535 PyObject
* obj1
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self",(char *) "value", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14542 if (SWIG_arg_fail(1)) SWIG_fail
;
14544 arg2
= (bool)(SWIG_As_bool(obj1
));
14545 if (SWIG_arg_fail(2)) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 (arg1
)->SetValue(arg2
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 Py_INCREF(Py_None
); resultobj
= Py_None
;
14561 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14564 wxVisualAttributes result
;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "variant", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14573 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14574 if (SWIG_arg_fail(1)) SWIG_fail
;
14578 if (!wxPyCheckForApp()) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 wxVisualAttributes
* resultptr
;
14587 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14596 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14599 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14601 return Py_BuildValue((char *)"");
14603 static int _wrap_SliderNameStr_set(PyObject
*) {
14604 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14609 static PyObject
*_wrap_SliderNameStr_get(void) {
14614 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14616 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14623 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
;
14625 wxWindow
*arg1
= (wxWindow
*) 0 ;
14626 int arg2
= (int) -1 ;
14627 int arg3
= (int) 0 ;
14628 int arg4
= (int) 0 ;
14629 int arg5
= (int) 100 ;
14630 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14631 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14632 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14633 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14634 long arg8
= (long) wxSL_HORIZONTAL
;
14635 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14636 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14637 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14638 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14642 bool temp10
= false ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 PyObject
* obj2
= 0 ;
14646 PyObject
* obj3
= 0 ;
14647 PyObject
* obj4
= 0 ;
14648 PyObject
* obj5
= 0 ;
14649 PyObject
* obj6
= 0 ;
14650 PyObject
* obj7
= 0 ;
14651 PyObject
* obj8
= 0 ;
14652 PyObject
* obj9
= 0 ;
14653 char *kwnames
[] = {
14654 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14659 if (SWIG_arg_fail(1)) SWIG_fail
;
14662 arg2
= (int)(SWIG_As_int(obj1
));
14663 if (SWIG_arg_fail(2)) SWIG_fail
;
14668 arg3
= (int)(SWIG_As_int(obj2
));
14669 if (SWIG_arg_fail(3)) SWIG_fail
;
14674 arg4
= (int)(SWIG_As_int(obj3
));
14675 if (SWIG_arg_fail(4)) SWIG_fail
;
14680 arg5
= (int)(SWIG_As_int(obj4
));
14681 if (SWIG_arg_fail(5)) SWIG_fail
;
14687 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14693 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14698 arg8
= (long)(SWIG_As_long(obj7
));
14699 if (SWIG_arg_fail(8)) SWIG_fail
;
14704 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14705 if (SWIG_arg_fail(9)) SWIG_fail
;
14706 if (arg9
== NULL
) {
14707 SWIG_null_ref("wxValidator");
14709 if (SWIG_arg_fail(9)) SWIG_fail
;
14714 arg10
= wxString_in_helper(obj9
);
14715 if (arg10
== NULL
) SWIG_fail
;
14720 if (!wxPyCheckForApp()) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14742 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14745 char *kwnames
[] = {
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14751 if (!wxPyCheckForApp()) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= (wxSlider
*)new wxSlider();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14765 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxSlider
*arg1
= (wxSlider
*) 0 ;
14768 wxWindow
*arg2
= (wxWindow
*) 0 ;
14769 int arg3
= (int) -1 ;
14770 int arg4
= (int) 0 ;
14771 int arg5
= (int) 0 ;
14772 int arg6
= (int) 100 ;
14773 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14774 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14775 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14776 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14777 long arg9
= (long) wxSL_HORIZONTAL
;
14778 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14779 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14780 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14781 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14785 bool temp11
= false ;
14786 PyObject
* obj0
= 0 ;
14787 PyObject
* obj1
= 0 ;
14788 PyObject
* obj2
= 0 ;
14789 PyObject
* obj3
= 0 ;
14790 PyObject
* obj4
= 0 ;
14791 PyObject
* obj5
= 0 ;
14792 PyObject
* obj6
= 0 ;
14793 PyObject
* obj7
= 0 ;
14794 PyObject
* obj8
= 0 ;
14795 PyObject
* obj9
= 0 ;
14796 PyObject
* obj10
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14803 if (SWIG_arg_fail(1)) SWIG_fail
;
14804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14805 if (SWIG_arg_fail(2)) SWIG_fail
;
14808 arg3
= (int)(SWIG_As_int(obj2
));
14809 if (SWIG_arg_fail(3)) SWIG_fail
;
14814 arg4
= (int)(SWIG_As_int(obj3
));
14815 if (SWIG_arg_fail(4)) SWIG_fail
;
14820 arg5
= (int)(SWIG_As_int(obj4
));
14821 if (SWIG_arg_fail(5)) SWIG_fail
;
14826 arg6
= (int)(SWIG_As_int(obj5
));
14827 if (SWIG_arg_fail(6)) SWIG_fail
;
14833 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14839 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14844 arg9
= (long)(SWIG_As_long(obj8
));
14845 if (SWIG_arg_fail(9)) SWIG_fail
;
14850 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14851 if (SWIG_arg_fail(10)) SWIG_fail
;
14852 if (arg10
== NULL
) {
14853 SWIG_null_ref("wxValidator");
14855 if (SWIG_arg_fail(10)) SWIG_fail
;
14860 arg11
= wxString_in_helper(obj10
);
14861 if (arg11
== NULL
) SWIG_fail
;
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14869 wxPyEndAllowThreads(__tstate
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14889 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxSlider
*arg1
= (wxSlider
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14900 if (SWIG_arg_fail(1)) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= SWIG_From_int((int)(result
));
14917 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxSlider
*arg1
= (wxSlider
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self",(char *) "value", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14929 if (SWIG_arg_fail(1)) SWIG_fail
;
14931 arg2
= (int)(SWIG_As_int(obj1
));
14932 if (SWIG_arg_fail(2)) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 (arg1
)->SetValue(arg2
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 Py_INCREF(Py_None
); resultobj
= Py_None
;
14948 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14949 PyObject
*resultobj
;
14950 wxSlider
*arg1
= (wxSlider
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 PyObject
* obj2
= 0 ;
14956 char *kwnames
[] = {
14957 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14962 if (SWIG_arg_fail(1)) SWIG_fail
;
14964 arg2
= (int)(SWIG_As_int(obj1
));
14965 if (SWIG_arg_fail(2)) SWIG_fail
;
14968 arg3
= (int)(SWIG_As_int(obj2
));
14969 if (SWIG_arg_fail(3)) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 (arg1
)->SetRange(arg2
,arg3
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 Py_INCREF(Py_None
); resultobj
= Py_None
;
14985 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxSlider
*arg1
= (wxSlider
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
14995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14996 if (SWIG_arg_fail(1)) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_From_int((int)(result
));
15013 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxSlider
*arg1
= (wxSlider
*) 0 ;
15017 PyObject
* obj0
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15024 if (SWIG_arg_fail(1)) SWIG_fail
;
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_From_int((int)(result
));
15041 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxSlider
*arg1
= (wxSlider
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self",(char *) "minValue", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15053 if (SWIG_arg_fail(1)) SWIG_fail
;
15055 arg2
= (int)(SWIG_As_int(obj1
));
15056 if (SWIG_arg_fail(2)) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->SetMin(arg2
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 Py_INCREF(Py_None
); resultobj
= Py_None
;
15072 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxSlider
*arg1
= (wxSlider
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 PyObject
* obj1
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self",(char *) "maxValue", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15084 if (SWIG_arg_fail(1)) SWIG_fail
;
15086 arg2
= (int)(SWIG_As_int(obj1
));
15087 if (SWIG_arg_fail(2)) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 (arg1
)->SetMax(arg2
);
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 Py_INCREF(Py_None
); resultobj
= Py_None
;
15103 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxSlider
*arg1
= (wxSlider
*) 0 ;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "self",(char *) "lineSize", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15115 if (SWIG_arg_fail(1)) SWIG_fail
;
15117 arg2
= (int)(SWIG_As_int(obj1
));
15118 if (SWIG_arg_fail(2)) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 (arg1
)->SetLineSize(arg2
);
15124 wxPyEndAllowThreads(__tstate
);
15125 if (PyErr_Occurred()) SWIG_fail
;
15127 Py_INCREF(Py_None
); resultobj
= Py_None
;
15134 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
;
15136 wxSlider
*arg1
= (wxSlider
*) 0 ;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15140 char *kwnames
[] = {
15141 (char *) "self",(char *) "pageSize", NULL
15144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15146 if (SWIG_arg_fail(1)) SWIG_fail
;
15148 arg2
= (int)(SWIG_As_int(obj1
));
15149 if (SWIG_arg_fail(2)) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 (arg1
)->SetPageSize(arg2
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 Py_INCREF(Py_None
); resultobj
= Py_None
;
15165 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxSlider
*arg1
= (wxSlider
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15176 if (SWIG_arg_fail(1)) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= SWIG_From_int((int)(result
));
15193 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxSlider
*arg1
= (wxSlider
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15204 if (SWIG_arg_fail(1)) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= SWIG_From_int((int)(result
));
15221 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxSlider
*arg1
= (wxSlider
*) 0 ;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self",(char *) "lenPixels", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15233 if (SWIG_arg_fail(1)) SWIG_fail
;
15235 arg2
= (int)(SWIG_As_int(obj1
));
15236 if (SWIG_arg_fail(2)) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 (arg1
)->SetThumbLength(arg2
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 Py_INCREF(Py_None
); resultobj
= Py_None
;
15252 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxSlider
*arg1
= (wxSlider
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15263 if (SWIG_arg_fail(1)) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_From_int((int)(result
));
15280 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxSlider
*arg1
= (wxSlider
*) 0 ;
15284 int arg3
= (int) 1 ;
15285 PyObject
* obj0
= 0 ;
15286 PyObject
* obj1
= 0 ;
15287 PyObject
* obj2
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self",(char *) "n",(char *) "pos", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail
;
15296 arg2
= (int)(SWIG_As_int(obj1
));
15297 if (SWIG_arg_fail(2)) SWIG_fail
;
15301 arg3
= (int)(SWIG_As_int(obj2
));
15302 if (SWIG_arg_fail(3)) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 (arg1
)->SetTickFreq(arg2
,arg3
);
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 Py_INCREF(Py_None
); resultobj
= Py_None
;
15319 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 wxSlider
*arg1
= (wxSlider
*) 0 ;
15323 PyObject
* obj0
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15330 if (SWIG_arg_fail(1)) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_From_int((int)(result
));
15347 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxSlider
*arg1
= (wxSlider
*) 0 ;
15350 PyObject
* obj0
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15357 if (SWIG_arg_fail(1)) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 (arg1
)->ClearTicks();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 Py_INCREF(Py_None
); resultobj
= Py_None
;
15372 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxSlider
*arg1
= (wxSlider
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self",(char *) "tickPos", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15384 if (SWIG_arg_fail(1)) SWIG_fail
;
15386 arg2
= (int)(SWIG_As_int(obj1
));
15387 if (SWIG_arg_fail(2)) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 (arg1
)->SetTick(arg2
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 Py_INCREF(Py_None
); resultobj
= Py_None
;
15403 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxSlider
*arg1
= (wxSlider
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 (arg1
)->ClearSel();
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 Py_INCREF(Py_None
); resultobj
= Py_None
;
15428 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
;
15430 wxSlider
*arg1
= (wxSlider
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "self", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15439 if (SWIG_arg_fail(1)) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= SWIG_From_int((int)(result
));
15456 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxSlider
*arg1
= (wxSlider
*) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15467 if (SWIG_arg_fail(1)) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15476 resultobj
= SWIG_From_int((int)(result
));
15484 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15486 wxSlider
*arg1
= (wxSlider
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 PyObject
* obj1
= 0 ;
15491 PyObject
* obj2
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self",(char *) "min",(char *) "max", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15498 if (SWIG_arg_fail(1)) SWIG_fail
;
15500 arg2
= (int)(SWIG_As_int(obj1
));
15501 if (SWIG_arg_fail(2)) SWIG_fail
;
15504 arg3
= (int)(SWIG_As_int(obj2
));
15505 if (SWIG_arg_fail(3)) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 (arg1
)->SetSelection(arg2
,arg3
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 Py_INCREF(Py_None
); resultobj
= Py_None
;
15521 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15523 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15524 wxVisualAttributes result
;
15525 PyObject
* obj0
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "variant", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15533 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15534 if (SWIG_arg_fail(1)) SWIG_fail
;
15538 if (!wxPyCheckForApp()) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15546 wxVisualAttributes
* resultptr
;
15547 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15556 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15559 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15561 return Py_BuildValue((char *)"");
15563 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15564 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15569 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15574 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15576 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15583 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxWindow
*arg1
= (wxWindow
*) 0 ;
15586 int arg2
= (int) -1 ;
15587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15589 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15590 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15591 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15592 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15593 long arg6
= (long) 0 ;
15594 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15595 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15596 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15597 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15598 wxToggleButton
*result
;
15599 bool temp3
= false ;
15602 bool temp8
= false ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 PyObject
* obj2
= 0 ;
15606 PyObject
* obj3
= 0 ;
15607 PyObject
* obj4
= 0 ;
15608 PyObject
* obj5
= 0 ;
15609 PyObject
* obj6
= 0 ;
15610 PyObject
* obj7
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15617 if (SWIG_arg_fail(1)) SWIG_fail
;
15620 arg2
= (int)(SWIG_As_int(obj1
));
15621 if (SWIG_arg_fail(2)) SWIG_fail
;
15626 arg3
= wxString_in_helper(obj2
);
15627 if (arg3
== NULL
) SWIG_fail
;
15634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15645 arg6
= (long)(SWIG_As_long(obj5
));
15646 if (SWIG_arg_fail(6)) SWIG_fail
;
15651 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15652 if (SWIG_arg_fail(7)) SWIG_fail
;
15653 if (arg7
== NULL
) {
15654 SWIG_null_ref("wxValidator");
15656 if (SWIG_arg_fail(7)) SWIG_fail
;
15661 arg8
= wxString_in_helper(obj7
);
15662 if (arg8
== NULL
) SWIG_fail
;
15667 if (!wxPyCheckForApp()) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15697 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxToggleButton
*result
;
15700 char *kwnames
[] = {
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15706 if (!wxPyCheckForApp()) SWIG_fail
;
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 result
= (wxToggleButton
*)new wxToggleButton();
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15720 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
;
15722 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15723 wxWindow
*arg2
= (wxWindow
*) 0 ;
15724 int arg3
= (int) -1 ;
15725 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15726 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15727 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15728 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15729 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15730 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15731 long arg7
= (long) 0 ;
15732 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15733 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15734 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15735 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15737 bool temp4
= false ;
15740 bool temp9
= false ;
15741 PyObject
* obj0
= 0 ;
15742 PyObject
* obj1
= 0 ;
15743 PyObject
* obj2
= 0 ;
15744 PyObject
* obj3
= 0 ;
15745 PyObject
* obj4
= 0 ;
15746 PyObject
* obj5
= 0 ;
15747 PyObject
* obj6
= 0 ;
15748 PyObject
* obj7
= 0 ;
15749 PyObject
* obj8
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15756 if (SWIG_arg_fail(1)) SWIG_fail
;
15757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15758 if (SWIG_arg_fail(2)) SWIG_fail
;
15761 arg3
= (int)(SWIG_As_int(obj2
));
15762 if (SWIG_arg_fail(3)) SWIG_fail
;
15767 arg4
= wxString_in_helper(obj3
);
15768 if (arg4
== NULL
) SWIG_fail
;
15775 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15781 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15786 arg7
= (long)(SWIG_As_long(obj6
));
15787 if (SWIG_arg_fail(7)) SWIG_fail
;
15792 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15793 if (SWIG_arg_fail(8)) SWIG_fail
;
15794 if (arg8
== NULL
) {
15795 SWIG_null_ref("wxValidator");
15797 if (SWIG_arg_fail(8)) SWIG_fail
;
15802 arg9
= wxString_in_helper(obj8
);
15803 if (arg9
== NULL
) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15839 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15843 PyObject
* obj0
= 0 ;
15844 PyObject
* obj1
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self",(char *) "value", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15851 if (SWIG_arg_fail(1)) SWIG_fail
;
15853 arg2
= (bool)(SWIG_As_bool(obj1
));
15854 if (SWIG_arg_fail(2)) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->SetValue(arg2
);
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 Py_INCREF(Py_None
); resultobj
= Py_None
;
15870 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15881 if (SWIG_arg_fail(1)) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15898 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
;
15900 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15901 wxString
*arg2
= 0 ;
15902 bool temp2
= false ;
15903 PyObject
* obj0
= 0 ;
15904 PyObject
* obj1
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self",(char *) "label", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15911 if (SWIG_arg_fail(1)) SWIG_fail
;
15913 arg2
= wxString_in_helper(obj1
);
15914 if (arg2
== NULL
) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 (arg1
)->SetLabel((wxString
const &)*arg2
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 Py_INCREF(Py_None
); resultobj
= Py_None
;
15939 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15942 wxVisualAttributes result
;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "variant", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15951 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15952 if (SWIG_arg_fail(1)) SWIG_fail
;
15956 if (!wxPyCheckForApp()) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 wxVisualAttributes
* resultptr
;
15965 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15974 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
15976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15977 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
15979 return Py_BuildValue((char *)"");
15981 static int _wrap_NotebookNameStr_set(PyObject
*) {
15982 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
15987 static PyObject
*_wrap_NotebookNameStr_get(void) {
15992 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
15994 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16001 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16012 if (SWIG_arg_fail(1)) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16029 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self",(char *) "n", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16042 if (SWIG_arg_fail(1)) SWIG_fail
;
16044 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16045 if (SWIG_arg_fail(2)) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= wxPyMake_wxObject(result
, 0);
16063 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16074 if (SWIG_arg_fail(1)) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= wxPyMake_wxObject(result
, 0);
16091 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16095 PyObject
* obj0
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16102 if (SWIG_arg_fail(1)) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_From_int((int)(result
));
16119 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
;
16121 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16123 wxString
*arg3
= 0 ;
16125 bool temp3
= false ;
16126 PyObject
* obj0
= 0 ;
16127 PyObject
* obj1
= 0 ;
16128 PyObject
* obj2
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self",(char *) "n",(char *) "strText", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16135 if (SWIG_arg_fail(1)) SWIG_fail
;
16137 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16138 if (SWIG_arg_fail(2)) SWIG_fail
;
16141 arg3
= wxString_in_helper(obj2
);
16142 if (arg3
== NULL
) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16169 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 PyObject
* obj1
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self",(char *) "n", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16182 if (SWIG_arg_fail(1)) SWIG_fail
;
16184 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16185 if (SWIG_arg_fail(2)) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16207 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16210 wxImageList
*arg2
= (wxImageList
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "self",(char *) "imageList", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16219 if (SWIG_arg_fail(1)) SWIG_fail
;
16220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16221 if (SWIG_arg_fail(2)) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 (arg1
)->SetImageList(arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16239 wxImageList
*arg2
= (wxImageList
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self",(char *) "imageList", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16248 if (SWIG_arg_fail(1)) SWIG_fail
;
16249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16250 if (SWIG_arg_fail(2)) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 (arg1
)->AssignImageList(arg2
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 Py_INCREF(Py_None
); resultobj
= Py_None
;
16265 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16268 wxImageList
*result
;
16269 PyObject
* obj0
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16276 if (SWIG_arg_fail(1)) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16285 resultobj
= wxPyMake_wxObject(result
, 0);
16293 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self",(char *) "n", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16306 if (SWIG_arg_fail(1)) SWIG_fail
;
16308 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16309 if (SWIG_arg_fail(2)) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= SWIG_From_int((int)(result
));
16327 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 PyObject
* obj1
= 0 ;
16335 PyObject
* obj2
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self",(char *) "n",(char *) "imageId", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail
;
16344 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16345 if (SWIG_arg_fail(2)) SWIG_fail
;
16348 arg3
= (int)(SWIG_As_int(obj2
));
16349 if (SWIG_arg_fail(3)) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self",(char *) "size", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16380 if (SWIG_arg_fail(1)) SWIG_fail
;
16383 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 Py_INCREF(Py_None
); resultobj
= Py_None
;
16399 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 PyObject
* obj1
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self",(char *) "sizePage", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16413 if (SWIG_arg_fail(1)) SWIG_fail
;
16416 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16426 wxSize
* resultptr
;
16427 resultptr
= new wxSize((wxSize
&)(result
));
16428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16436 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self",(char *) "n", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16449 if (SWIG_arg_fail(1)) SWIG_fail
;
16451 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16452 if (SWIG_arg_fail(2)) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= (bool)(arg1
)->DeletePage(arg2
);
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16470 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "n", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16483 if (SWIG_arg_fail(1)) SWIG_fail
;
16485 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16486 if (SWIG_arg_fail(2)) SWIG_fail
;
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= (bool)(arg1
)->RemovePage(arg2
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16504 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
;
16506 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16508 PyObject
* obj0
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "self", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16515 if (SWIG_arg_fail(1)) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 result
= (bool)(arg1
)->DeleteAllPages();
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16532 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16535 wxWindow
*arg2
= (wxWindow
*) 0 ;
16536 wxString
*arg3
= 0 ;
16537 bool arg4
= (bool) false ;
16538 int arg5
= (int) -1 ;
16540 bool temp3
= false ;
16541 PyObject
* obj0
= 0 ;
16542 PyObject
* obj1
= 0 ;
16543 PyObject
* obj2
= 0 ;
16544 PyObject
* obj3
= 0 ;
16545 PyObject
* obj4
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16552 if (SWIG_arg_fail(1)) SWIG_fail
;
16553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16554 if (SWIG_arg_fail(2)) SWIG_fail
;
16556 arg3
= wxString_in_helper(obj2
);
16557 if (arg3
== NULL
) SWIG_fail
;
16562 arg4
= (bool)(SWIG_As_bool(obj3
));
16563 if (SWIG_arg_fail(4)) SWIG_fail
;
16568 arg5
= (int)(SWIG_As_int(obj4
));
16569 if (SWIG_arg_fail(5)) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16596 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16600 wxWindow
*arg3
= (wxWindow
*) 0 ;
16601 wxString
*arg4
= 0 ;
16602 bool arg5
= (bool) false ;
16603 int arg6
= (int) -1 ;
16605 bool temp4
= false ;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 PyObject
* obj2
= 0 ;
16609 PyObject
* obj3
= 0 ;
16610 PyObject
* obj4
= 0 ;
16611 PyObject
* obj5
= 0 ;
16612 char *kwnames
[] = {
16613 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16618 if (SWIG_arg_fail(1)) SWIG_fail
;
16620 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16621 if (SWIG_arg_fail(2)) SWIG_fail
;
16623 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16624 if (SWIG_arg_fail(3)) SWIG_fail
;
16626 arg4
= wxString_in_helper(obj3
);
16627 if (arg4
== NULL
) SWIG_fail
;
16632 arg5
= (bool)(SWIG_As_bool(obj4
));
16633 if (SWIG_arg_fail(5)) SWIG_fail
;
16638 arg6
= (int)(SWIG_As_int(obj5
));
16639 if (SWIG_arg_fail(6)) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16666 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 PyObject
* obj1
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self",(char *) "n", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16679 if (SWIG_arg_fail(1)) SWIG_fail
;
16681 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16682 if (SWIG_arg_fail(2)) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (int)(arg1
)->SetSelection(arg2
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= SWIG_From_int((int)(result
));
16700 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16703 bool arg2
= (bool) true ;
16704 PyObject
* obj0
= 0 ;
16705 PyObject
* obj1
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "self",(char *) "forward", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16712 if (SWIG_arg_fail(1)) SWIG_fail
;
16715 arg2
= (bool)(SWIG_As_bool(obj1
));
16716 if (SWIG_arg_fail(2)) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 (arg1
)->AdvanceSelection(arg2
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16726 Py_INCREF(Py_None
); resultobj
= Py_None
;
16733 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16736 wxVisualAttributes result
;
16737 PyObject
* obj0
= 0 ;
16738 char *kwnames
[] = {
16739 (char *) "variant", NULL
16742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16745 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16746 if (SWIG_arg_fail(1)) SWIG_fail
;
16750 if (!wxPyCheckForApp()) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16758 wxVisualAttributes
* resultptr
;
16759 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16768 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16771 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16773 return Py_BuildValue((char *)"");
16775 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16778 int arg2
= (int) 0 ;
16779 int arg3
= (int) -1 ;
16780 int arg4
= (int) -1 ;
16781 wxBookCtrlBaseEvent
*result
;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 PyObject
* obj2
= 0 ;
16785 PyObject
* obj3
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16793 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16794 if (SWIG_arg_fail(1)) SWIG_fail
;
16799 arg2
= (int)(SWIG_As_int(obj1
));
16800 if (SWIG_arg_fail(2)) SWIG_fail
;
16805 arg3
= (int)(SWIG_As_int(obj2
));
16806 if (SWIG_arg_fail(3)) SWIG_fail
;
16811 arg4
= (int)(SWIG_As_int(obj3
));
16812 if (SWIG_arg_fail(4)) SWIG_fail
;
16816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16817 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16829 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16840 if (SWIG_arg_fail(1)) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= SWIG_From_int((int)(result
));
16857 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16861 PyObject
* obj0
= 0 ;
16862 PyObject
* obj1
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "self",(char *) "nSel", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16869 if (SWIG_arg_fail(1)) SWIG_fail
;
16871 arg2
= (int)(SWIG_As_int(obj1
));
16872 if (SWIG_arg_fail(2)) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 (arg1
)->SetSelection(arg2
);
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16881 Py_INCREF(Py_None
); resultobj
= Py_None
;
16888 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
;
16890 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16892 PyObject
* obj0
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "self", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16899 if (SWIG_arg_fail(1)) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_From_int((int)(result
));
16916 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
;
16918 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self",(char *) "nOldSel", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail
;
16930 arg2
= (int)(SWIG_As_int(obj1
));
16931 if (SWIG_arg_fail(2)) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 (arg1
)->SetOldSelection(arg2
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 Py_INCREF(Py_None
); resultobj
= Py_None
;
16947 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
16949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16950 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
16952 return Py_BuildValue((char *)"");
16954 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxWindow
*arg1
= (wxWindow
*) 0 ;
16957 int arg2
= (int) -1 ;
16958 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16959 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16960 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16961 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16962 long arg5
= (long) 0 ;
16963 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
16964 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16965 wxNotebook
*result
;
16968 bool temp6
= false ;
16969 PyObject
* obj0
= 0 ;
16970 PyObject
* obj1
= 0 ;
16971 PyObject
* obj2
= 0 ;
16972 PyObject
* obj3
= 0 ;
16973 PyObject
* obj4
= 0 ;
16974 PyObject
* obj5
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16981 if (SWIG_arg_fail(1)) SWIG_fail
;
16984 arg2
= (int)(SWIG_As_int(obj1
));
16985 if (SWIG_arg_fail(2)) SWIG_fail
;
16991 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16997 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17002 arg5
= (long)(SWIG_As_long(obj4
));
17003 if (SWIG_arg_fail(5)) SWIG_fail
;
17008 arg6
= wxString_in_helper(obj5
);
17009 if (arg6
== NULL
) SWIG_fail
;
17014 if (!wxPyCheckForApp()) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17036 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxNotebook
*result
;
17039 char *kwnames
[] = {
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17045 if (!wxPyCheckForApp()) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 result
= (wxNotebook
*)new wxNotebook();
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17059 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17061 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17062 wxWindow
*arg2
= (wxWindow
*) 0 ;
17063 int arg3
= (int) -1 ;
17064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17068 long arg6
= (long) 0 ;
17069 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17074 bool temp7
= false ;
17075 PyObject
* obj0
= 0 ;
17076 PyObject
* obj1
= 0 ;
17077 PyObject
* obj2
= 0 ;
17078 PyObject
* obj3
= 0 ;
17079 PyObject
* obj4
= 0 ;
17080 PyObject
* obj5
= 0 ;
17081 PyObject
* obj6
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail
;
17089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17090 if (SWIG_arg_fail(2)) SWIG_fail
;
17093 arg3
= (int)(SWIG_As_int(obj2
));
17094 if (SWIG_arg_fail(3)) SWIG_fail
;
17100 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17106 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17111 arg6
= (long)(SWIG_As_long(obj5
));
17112 if (SWIG_arg_fail(6)) SWIG_fail
;
17117 arg7
= wxString_in_helper(obj6
);
17118 if (arg7
== NULL
) SWIG_fail
;
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17146 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17150 PyObject
* obj0
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "self", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17157 if (SWIG_arg_fail(1)) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= SWIG_From_int((int)(result
));
17174 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "padding", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17187 if (SWIG_arg_fail(1)) SWIG_fail
;
17190 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 Py_INCREF(Py_None
); resultobj
= Py_None
;
17206 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17211 PyObject
* obj0
= 0 ;
17212 PyObject
* obj1
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self",(char *) "sz", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17219 if (SWIG_arg_fail(1)) SWIG_fail
;
17222 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 Py_INCREF(Py_None
); resultobj
= Py_None
;
17238 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17240 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17241 wxPoint
*arg2
= 0 ;
17242 long *arg3
= (long *) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 PyObject
* obj1
= 0 ;
17249 char *kwnames
[] = {
17250 (char *) "self",(char *) "pt", NULL
17253 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17256 if (SWIG_arg_fail(1)) SWIG_fail
;
17259 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= SWIG_From_int((int)(result
));
17271 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17272 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17279 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self",(char *) "sizePage", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17293 if (SWIG_arg_fail(1)) SWIG_fail
;
17296 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17306 wxSize
* resultptr
;
17307 resultptr
= new wxSize((wxSize
&)(result
));
17308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17316 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17320 PyObject
* obj0
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17327 if (SWIG_arg_fail(1)) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 wxColour
* resultptr
;
17337 resultptr
= new wxColour((wxColour
&)(result
));
17338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17346 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17349 wxVisualAttributes result
;
17350 PyObject
* obj0
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "variant", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17358 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17359 if (SWIG_arg_fail(1)) SWIG_fail
;
17363 if (!wxPyCheckForApp()) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 wxVisualAttributes
* resultptr
;
17372 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17381 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17384 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17386 return Py_BuildValue((char *)"");
17388 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17391 int arg2
= (int) 0 ;
17392 int arg3
= (int) -1 ;
17393 int arg4
= (int) -1 ;
17394 wxNotebookEvent
*result
;
17395 PyObject
* obj0
= 0 ;
17396 PyObject
* obj1
= 0 ;
17397 PyObject
* obj2
= 0 ;
17398 PyObject
* obj3
= 0 ;
17399 char *kwnames
[] = {
17400 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17406 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17407 if (SWIG_arg_fail(1)) SWIG_fail
;
17412 arg2
= (int)(SWIG_As_int(obj1
));
17413 if (SWIG_arg_fail(2)) SWIG_fail
;
17418 arg3
= (int)(SWIG_As_int(obj2
));
17419 if (SWIG_arg_fail(3)) SWIG_fail
;
17424 arg4
= (int)(SWIG_As_int(obj3
));
17425 if (SWIG_arg_fail(4)) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17432 wxPyEndAllowThreads(__tstate
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17442 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17445 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17447 return Py_BuildValue((char *)"");
17449 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
;
17451 wxWindow
*arg1
= (wxWindow
*) 0 ;
17452 int arg2
= (int) -1 ;
17453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17457 long arg5
= (long) 0 ;
17458 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17459 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17460 wxListbook
*result
;
17463 bool temp6
= false ;
17464 PyObject
* obj0
= 0 ;
17465 PyObject
* obj1
= 0 ;
17466 PyObject
* obj2
= 0 ;
17467 PyObject
* obj3
= 0 ;
17468 PyObject
* obj4
= 0 ;
17469 PyObject
* obj5
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail
;
17479 arg2
= (int)(SWIG_As_int(obj1
));
17480 if (SWIG_arg_fail(2)) SWIG_fail
;
17486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17492 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17497 arg5
= (long)(SWIG_As_long(obj4
));
17498 if (SWIG_arg_fail(5)) SWIG_fail
;
17503 arg6
= wxString_in_helper(obj5
);
17504 if (arg6
== NULL
) SWIG_fail
;
17509 if (!wxPyCheckForApp()) SWIG_fail
;
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17513 wxPyEndAllowThreads(__tstate
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17531 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxListbook
*result
;
17534 char *kwnames
[] = {
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17540 if (!wxPyCheckForApp()) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (wxListbook
*)new wxListbook();
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17554 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxListbook
*arg1
= (wxListbook
*) 0 ;
17557 wxWindow
*arg2
= (wxWindow
*) 0 ;
17558 int arg3
= (int) -1 ;
17559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17563 long arg6
= (long) 0 ;
17564 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17565 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17569 bool temp7
= false ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 PyObject
* obj2
= 0 ;
17573 PyObject
* obj3
= 0 ;
17574 PyObject
* obj4
= 0 ;
17575 PyObject
* obj5
= 0 ;
17576 PyObject
* obj6
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail
;
17584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17585 if (SWIG_arg_fail(2)) SWIG_fail
;
17588 arg3
= (int)(SWIG_As_int(obj2
));
17589 if (SWIG_arg_fail(3)) SWIG_fail
;
17595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17606 arg6
= (long)(SWIG_As_long(obj5
));
17607 if (SWIG_arg_fail(6)) SWIG_fail
;
17612 arg7
= wxString_in_helper(obj6
);
17613 if (arg7
== NULL
) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17641 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxListbook
*arg1
= (wxListbook
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17652 if (SWIG_arg_fail(1)) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17669 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 wxListbook
*arg1
= (wxListbook
*) 0 ;
17672 wxListView
*result
;
17673 PyObject
* obj0
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17680 if (SWIG_arg_fail(1)) SWIG_fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 result
= (wxListView
*)(arg1
)->GetListView();
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17695 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17698 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17700 return Py_BuildValue((char *)"");
17702 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17705 int arg2
= (int) 0 ;
17706 int arg3
= (int) -1 ;
17707 int arg4
= (int) -1 ;
17708 wxListbookEvent
*result
;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 PyObject
* obj2
= 0 ;
17712 PyObject
* obj3
= 0 ;
17713 char *kwnames
[] = {
17714 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17720 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17721 if (SWIG_arg_fail(1)) SWIG_fail
;
17726 arg2
= (int)(SWIG_As_int(obj1
));
17727 if (SWIG_arg_fail(2)) SWIG_fail
;
17732 arg3
= (int)(SWIG_As_int(obj2
));
17733 if (SWIG_arg_fail(3)) SWIG_fail
;
17738 arg4
= (int)(SWIG_As_int(obj3
));
17739 if (SWIG_arg_fail(4)) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17756 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17759 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17761 return Py_BuildValue((char *)"");
17763 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxWindow
*arg1
= (wxWindow
*) 0 ;
17767 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17768 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17769 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17770 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17771 long arg5
= (long) 0 ;
17772 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17773 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17774 wxChoicebook
*result
;
17777 bool temp6
= false ;
17778 PyObject
* obj0
= 0 ;
17779 PyObject
* obj1
= 0 ;
17780 PyObject
* obj2
= 0 ;
17781 PyObject
* obj3
= 0 ;
17782 PyObject
* obj4
= 0 ;
17783 PyObject
* obj5
= 0 ;
17784 char *kwnames
[] = {
17785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17790 if (SWIG_arg_fail(1)) SWIG_fail
;
17792 arg2
= (int)(SWIG_As_int(obj1
));
17793 if (SWIG_arg_fail(2)) SWIG_fail
;
17798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17809 arg5
= (long)(SWIG_As_long(obj4
));
17810 if (SWIG_arg_fail(5)) SWIG_fail
;
17815 arg6
= wxString_in_helper(obj5
);
17816 if (arg6
== NULL
) SWIG_fail
;
17821 if (!wxPyCheckForApp()) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17843 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
;
17845 wxChoicebook
*result
;
17846 char *kwnames
[] = {
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17852 if (!wxPyCheckForApp()) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 result
= (wxChoicebook
*)new wxChoicebook();
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17866 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
;
17868 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17869 wxWindow
*arg2
= (wxWindow
*) 0 ;
17871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17875 long arg6
= (long) 0 ;
17876 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17881 bool temp7
= false ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 PyObject
* obj2
= 0 ;
17885 PyObject
* obj3
= 0 ;
17886 PyObject
* obj4
= 0 ;
17887 PyObject
* obj5
= 0 ;
17888 PyObject
* obj6
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail
;
17896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17897 if (SWIG_arg_fail(2)) SWIG_fail
;
17899 arg3
= (int)(SWIG_As_int(obj2
));
17900 if (SWIG_arg_fail(3)) SWIG_fail
;
17905 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17911 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17916 arg6
= (long)(SWIG_As_long(obj5
));
17917 if (SWIG_arg_fail(6)) SWIG_fail
;
17922 arg7
= wxString_in_helper(obj6
);
17923 if (arg7
== NULL
) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17951 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
17961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17962 if (SWIG_arg_fail(1)) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17979 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
17989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17990 if (SWIG_arg_fail(1)) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18005 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18016 if (SWIG_arg_fail(1)) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= (bool)(arg1
)->DeleteAllPages();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18033 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18036 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18038 return Py_BuildValue((char *)"");
18040 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18042 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18043 int arg2
= (int) 0 ;
18044 int arg3
= (int) -1 ;
18045 int arg4
= (int) -1 ;
18046 wxChoicebookEvent
*result
;
18047 PyObject
* obj0
= 0 ;
18048 PyObject
* obj1
= 0 ;
18049 PyObject
* obj2
= 0 ;
18050 PyObject
* obj3
= 0 ;
18051 char *kwnames
[] = {
18052 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18058 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18059 if (SWIG_arg_fail(1)) SWIG_fail
;
18064 arg2
= (int)(SWIG_As_int(obj1
));
18065 if (SWIG_arg_fail(2)) SWIG_fail
;
18070 arg3
= (int)(SWIG_As_int(obj2
));
18071 if (SWIG_arg_fail(3)) SWIG_fail
;
18076 arg4
= (int)(SWIG_As_int(obj3
));
18077 if (SWIG_arg_fail(4)) SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18094 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18097 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18099 return Py_BuildValue((char *)"");
18101 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
;
18103 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18104 wxBookCtrlSizer
*result
;
18105 PyObject
* obj0
= 0 ;
18106 char *kwnames
[] = {
18107 (char *) "nb", NULL
18110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18112 if (SWIG_arg_fail(1)) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18127 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18130 PyObject
* obj0
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "self", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18137 if (SWIG_arg_fail(1)) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 (arg1
)->RecalcSizes();
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 Py_INCREF(Py_None
); resultobj
= Py_None
;
18152 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18163 if (SWIG_arg_fail(1)) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 result
= (arg1
)->CalcMin();
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18172 wxSize
* resultptr
;
18173 resultptr
= new wxSize((wxSize
&)(result
));
18174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18182 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18185 wxBookCtrlBase
*result
;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18208 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18211 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18213 return Py_BuildValue((char *)"");
18215 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18218 wxNotebookSizer
*result
;
18219 PyObject
* obj0
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "nb", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18226 if (SWIG_arg_fail(1)) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18241 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
;
18243 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18244 PyObject
* obj0
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18251 if (SWIG_arg_fail(1)) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 (arg1
)->RecalcSizes();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 Py_INCREF(Py_None
); resultobj
= Py_None
;
18266 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18270 PyObject
* obj0
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18277 if (SWIG_arg_fail(1)) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 result
= (arg1
)->CalcMin();
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18286 wxSize
* resultptr
;
18287 resultptr
= new wxSize((wxSize
&)(result
));
18288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18296 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18299 wxNotebook
*result
;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= wxPyMake_wxObject(result
, 0);
18324 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18327 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18329 return Py_BuildValue((char *)"");
18331 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18342 if (SWIG_arg_fail(1)) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 result
= (int)(arg1
)->GetId();
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= SWIG_From_int((int)(result
));
18359 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18370 if (SWIG_arg_fail(1)) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (wxControl
*)(arg1
)->GetControl();
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= wxPyMake_wxObject(result
, 0);
18387 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18390 wxToolBarBase
*result
;
18391 PyObject
* obj0
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18398 if (SWIG_arg_fail(1)) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= wxPyMake_wxObject(result
, 0);
18415 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
;
18417 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18419 PyObject
* obj0
= 0 ;
18420 char *kwnames
[] = {
18421 (char *) "self", NULL
18424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18426 if (SWIG_arg_fail(1)) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 result
= (int)(arg1
)->IsButton();
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= SWIG_From_int((int)(result
));
18443 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18444 PyObject
*resultobj
;
18445 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18447 PyObject
* obj0
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18454 if (SWIG_arg_fail(1)) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= (int)(arg1
)->IsControl();
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= SWIG_From_int((int)(result
));
18471 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18475 PyObject
* obj0
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18482 if (SWIG_arg_fail(1)) SWIG_fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= (int)(arg1
)->IsSeparator();
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_From_int((int)(result
));
18499 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 char *kwnames
[] = {
18505 (char *) "self", NULL
18508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18510 if (SWIG_arg_fail(1)) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 result
= (int)(arg1
)->GetStyle();
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_From_int((int)(result
));
18527 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18538 if (SWIG_arg_fail(1)) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 result
= (wxItemKind
)(arg1
)->GetKind();
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_From_int((result
));
18553 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18555 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18564 if (SWIG_arg_fail(1)) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (bool)(arg1
)->IsEnabled();
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18581 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18585 PyObject
* obj0
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18592 if (SWIG_arg_fail(1)) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (bool)(arg1
)->IsToggled();
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18609 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18613 PyObject
* obj0
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18620 if (SWIG_arg_fail(1)) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (bool)(arg1
)->CanBeToggled();
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18637 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 char *kwnames
[] = {
18643 (char *) "self", NULL
18646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18648 if (SWIG_arg_fail(1)) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18653 result
= (wxBitmap
*) &_result_ref
;
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18660 wxBitmap
* resultptr
= new wxBitmap(*result
);
18661 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18669 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18680 if (SWIG_arg_fail(1)) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18685 result
= (wxBitmap
*) &_result_ref
;
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18692 wxBitmap
* resultptr
= new wxBitmap(*result
);
18693 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18701 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18705 PyObject
* obj0
= 0 ;
18706 char *kwnames
[] = {
18707 (char *) "self", NULL
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18712 if (SWIG_arg_fail(1)) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (arg1
)->GetBitmap();
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18721 wxBitmap
* resultptr
;
18722 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18731 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18742 if (SWIG_arg_fail(1)) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (arg1
)->GetLabel();
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18763 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
;
18765 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18774 if (SWIG_arg_fail(1)) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= (arg1
)->GetShortHelp();
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18795 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18806 if (SWIG_arg_fail(1)) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 result
= (arg1
)->GetLongHelp();
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18827 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18829 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 PyObject
* obj1
= 0 ;
18834 char *kwnames
[] = {
18835 (char *) "self",(char *) "enable", NULL
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18840 if (SWIG_arg_fail(1)) SWIG_fail
;
18842 arg2
= (bool)(SWIG_As_bool(obj1
));
18843 if (SWIG_arg_fail(2)) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 result
= (bool)(arg1
)->Enable(arg2
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18861 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
;
18863 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18879 Py_INCREF(Py_None
); resultobj
= Py_None
;
18886 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 PyObject
* obj1
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self",(char *) "toggle", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18899 if (SWIG_arg_fail(1)) SWIG_fail
;
18901 arg2
= (bool)(SWIG_As_bool(obj1
));
18902 if (SWIG_arg_fail(2)) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 result
= (bool)(arg1
)->SetToggle(arg2
);
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18920 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18923 wxString
*arg2
= 0 ;
18925 bool temp2
= false ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self",(char *) "help", NULL
18932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18934 if (SWIG_arg_fail(1)) SWIG_fail
;
18936 arg2
= wxString_in_helper(obj1
);
18937 if (arg2
== NULL
) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18964 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18967 wxString
*arg2
= 0 ;
18969 bool temp2
= false ;
18970 PyObject
* obj0
= 0 ;
18971 PyObject
* obj1
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self",(char *) "help", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18978 if (SWIG_arg_fail(1)) SWIG_fail
;
18980 arg2
= wxString_in_helper(obj1
);
18981 if (arg2
== NULL
) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19008 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19011 wxBitmap
*arg2
= 0 ;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self",(char *) "bmp", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19020 if (SWIG_arg_fail(1)) SWIG_fail
;
19022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19023 if (SWIG_arg_fail(2)) SWIG_fail
;
19024 if (arg2
== NULL
) {
19025 SWIG_null_ref("wxBitmap");
19027 if (SWIG_arg_fail(2)) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19043 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19046 wxBitmap
*arg2
= 0 ;
19047 PyObject
* obj0
= 0 ;
19048 PyObject
* obj1
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self",(char *) "bmp", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19055 if (SWIG_arg_fail(1)) SWIG_fail
;
19057 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19058 if (SWIG_arg_fail(2)) SWIG_fail
;
19059 if (arg2
== NULL
) {
19060 SWIG_null_ref("wxBitmap");
19062 if (SWIG_arg_fail(2)) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 Py_INCREF(Py_None
); resultobj
= Py_None
;
19078 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19081 wxString
*arg2
= 0 ;
19082 bool temp2
= false ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self",(char *) "label", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19091 if (SWIG_arg_fail(1)) SWIG_fail
;
19093 arg2
= wxString_in_helper(obj1
);
19094 if (arg2
== NULL
) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 (arg1
)->SetLabel((wxString
const &)*arg2
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 Py_INCREF(Py_None
); resultobj
= Py_None
;
19119 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
;
19121 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19122 PyObject
* obj0
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19129 if (SWIG_arg_fail(1)) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 Py_INCREF(Py_None
); resultobj
= Py_None
;
19144 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19146 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19147 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self",(char *) "tbar", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19156 if (SWIG_arg_fail(1)) SWIG_fail
;
19157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19158 if (SWIG_arg_fail(2)) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 (arg1
)->Attach(arg2
);
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 Py_INCREF(Py_None
); resultobj
= Py_None
;
19173 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19177 PyObject
* obj0
= 0 ;
19178 char *kwnames
[] = {
19179 (char *) "self", NULL
19182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19184 if (SWIG_arg_fail(1)) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= result
;
19199 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19201 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19202 PyObject
*arg2
= (PyObject
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "clientData", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19211 if (SWIG_arg_fail(1)) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 Py_INCREF(Py_None
); resultobj
= Py_None
;
19227 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19230 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19232 return Py_BuildValue((char *)"");
19234 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19238 wxString
*arg3
= 0 ;
19239 wxBitmap
*arg4
= 0 ;
19240 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19241 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19242 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19243 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19244 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19245 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19246 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19247 PyObject
*arg9
= (PyObject
*) NULL
;
19248 wxToolBarToolBase
*result
;
19249 bool temp3
= false ;
19250 bool temp7
= false ;
19251 bool temp8
= false ;
19252 PyObject
* obj0
= 0 ;
19253 PyObject
* obj1
= 0 ;
19254 PyObject
* obj2
= 0 ;
19255 PyObject
* obj3
= 0 ;
19256 PyObject
* obj4
= 0 ;
19257 PyObject
* obj5
= 0 ;
19258 PyObject
* obj6
= 0 ;
19259 PyObject
* obj7
= 0 ;
19260 PyObject
* obj8
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19267 if (SWIG_arg_fail(1)) SWIG_fail
;
19269 arg2
= (int)(SWIG_As_int(obj1
));
19270 if (SWIG_arg_fail(2)) SWIG_fail
;
19273 arg3
= wxString_in_helper(obj2
);
19274 if (arg3
== NULL
) SWIG_fail
;
19278 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19279 if (SWIG_arg_fail(4)) SWIG_fail
;
19280 if (arg4
== NULL
) {
19281 SWIG_null_ref("wxBitmap");
19283 if (SWIG_arg_fail(4)) SWIG_fail
;
19287 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19288 if (SWIG_arg_fail(5)) SWIG_fail
;
19289 if (arg5
== NULL
) {
19290 SWIG_null_ref("wxBitmap");
19292 if (SWIG_arg_fail(5)) SWIG_fail
;
19297 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19298 if (SWIG_arg_fail(6)) SWIG_fail
;
19303 arg7
= wxString_in_helper(obj6
);
19304 if (arg7
== NULL
) SWIG_fail
;
19310 arg8
= wxString_in_helper(obj7
);
19311 if (arg8
== NULL
) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= wxPyMake_wxObject(result
, 0);
19358 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19363 wxString
*arg4
= 0 ;
19364 wxBitmap
*arg5
= 0 ;
19365 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19366 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19367 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19368 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19369 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19370 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19371 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19372 PyObject
*arg10
= (PyObject
*) NULL
;
19373 wxToolBarToolBase
*result
;
19374 bool temp4
= false ;
19375 bool temp8
= false ;
19376 bool temp9
= false ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 PyObject
* obj2
= 0 ;
19380 PyObject
* obj3
= 0 ;
19381 PyObject
* obj4
= 0 ;
19382 PyObject
* obj5
= 0 ;
19383 PyObject
* obj6
= 0 ;
19384 PyObject
* obj7
= 0 ;
19385 PyObject
* obj8
= 0 ;
19386 PyObject
* obj9
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19393 if (SWIG_arg_fail(1)) SWIG_fail
;
19395 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19396 if (SWIG_arg_fail(2)) SWIG_fail
;
19399 arg3
= (int)(SWIG_As_int(obj2
));
19400 if (SWIG_arg_fail(3)) SWIG_fail
;
19403 arg4
= wxString_in_helper(obj3
);
19404 if (arg4
== NULL
) SWIG_fail
;
19408 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19409 if (SWIG_arg_fail(5)) SWIG_fail
;
19410 if (arg5
== NULL
) {
19411 SWIG_null_ref("wxBitmap");
19413 if (SWIG_arg_fail(5)) SWIG_fail
;
19417 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19418 if (SWIG_arg_fail(6)) SWIG_fail
;
19419 if (arg6
== NULL
) {
19420 SWIG_null_ref("wxBitmap");
19422 if (SWIG_arg_fail(6)) SWIG_fail
;
19427 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19428 if (SWIG_arg_fail(7)) SWIG_fail
;
19433 arg8
= wxString_in_helper(obj7
);
19434 if (arg8
== NULL
) SWIG_fail
;
19440 arg9
= wxString_in_helper(obj8
);
19441 if (arg9
== NULL
) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 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
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19456 resultobj
= wxPyMake_wxObject(result
, 0);
19488 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19491 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19492 wxToolBarToolBase
*result
;
19493 PyObject
* obj0
= 0 ;
19494 PyObject
* obj1
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self",(char *) "tool", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19501 if (SWIG_arg_fail(1)) SWIG_fail
;
19502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19503 if (SWIG_arg_fail(2)) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= wxPyMake_wxObject(result
, 0);
19520 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19524 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19525 wxToolBarToolBase
*result
;
19526 PyObject
* obj0
= 0 ;
19527 PyObject
* obj1
= 0 ;
19528 PyObject
* obj2
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self",(char *) "pos",(char *) "tool", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19535 if (SWIG_arg_fail(1)) SWIG_fail
;
19537 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19538 if (SWIG_arg_fail(2)) SWIG_fail
;
19540 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19541 if (SWIG_arg_fail(3)) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= wxPyMake_wxObject(result
, 0);
19558 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19561 wxControl
*arg2
= (wxControl
*) 0 ;
19562 wxToolBarToolBase
*result
;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self",(char *) "control", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19571 if (SWIG_arg_fail(1)) SWIG_fail
;
19572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19573 if (SWIG_arg_fail(2)) SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= wxPyMake_wxObject(result
, 0);
19590 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
;
19592 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19594 wxControl
*arg3
= (wxControl
*) 0 ;
19595 wxToolBarToolBase
*result
;
19596 PyObject
* obj0
= 0 ;
19597 PyObject
* obj1
= 0 ;
19598 PyObject
* obj2
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self",(char *) "pos",(char *) "control", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19605 if (SWIG_arg_fail(1)) SWIG_fail
;
19607 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19608 if (SWIG_arg_fail(2)) SWIG_fail
;
19610 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19611 if (SWIG_arg_fail(3)) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= wxPyMake_wxObject(result
, 0);
19628 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19633 PyObject
* obj0
= 0 ;
19634 PyObject
* obj1
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self",(char *) "id", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19641 if (SWIG_arg_fail(1)) SWIG_fail
;
19643 arg2
= (int)(SWIG_As_int(obj1
));
19644 if (SWIG_arg_fail(2)) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= wxPyMake_wxObject(result
, 0);
19662 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19665 wxToolBarToolBase
*result
;
19666 PyObject
* obj0
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19673 if (SWIG_arg_fail(1)) SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= wxPyMake_wxObject(result
, 0);
19690 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19694 wxToolBarToolBase
*result
;
19695 PyObject
* obj0
= 0 ;
19696 PyObject
* obj1
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "self",(char *) "pos", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19703 if (SWIG_arg_fail(1)) SWIG_fail
;
19705 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19706 if (SWIG_arg_fail(2)) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= wxPyMake_wxObject(result
, 0);
19724 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19728 wxToolBarToolBase
*result
;
19729 PyObject
* obj0
= 0 ;
19730 PyObject
* obj1
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self",(char *) "id", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19737 if (SWIG_arg_fail(1)) SWIG_fail
;
19739 arg2
= (int)(SWIG_As_int(obj1
));
19740 if (SWIG_arg_fail(2)) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19750 resultobj
= wxPyMake_wxObject(result
, 0);
19758 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self",(char *) "pos", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19771 if (SWIG_arg_fail(1)) SWIG_fail
;
19773 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19774 if (SWIG_arg_fail(2)) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19792 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self",(char *) "id", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19805 if (SWIG_arg_fail(1)) SWIG_fail
;
19807 arg2
= (int)(SWIG_As_int(obj1
));
19808 if (SWIG_arg_fail(2)) SWIG_fail
;
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 result
= (bool)(arg1
)->DeleteTool(arg2
);
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19826 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19829 PyObject
* obj0
= 0 ;
19830 char *kwnames
[] = {
19831 (char *) "self", NULL
19834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19836 if (SWIG_arg_fail(1)) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 (arg1
)->ClearTools();
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 Py_INCREF(Py_None
); resultobj
= Py_None
;
19851 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19855 PyObject
* obj0
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19862 if (SWIG_arg_fail(1)) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (bool)(arg1
)->Realize();
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19879 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 PyObject
* obj2
= 0 ;
19887 char *kwnames
[] = {
19888 (char *) "self",(char *) "id",(char *) "enable", NULL
19891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail
;
19895 arg2
= (int)(SWIG_As_int(obj1
));
19896 if (SWIG_arg_fail(2)) SWIG_fail
;
19899 arg3
= (bool)(SWIG_As_bool(obj2
));
19900 if (SWIG_arg_fail(3)) SWIG_fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 (arg1
)->EnableTool(arg2
,arg3
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 Py_INCREF(Py_None
); resultobj
= Py_None
;
19916 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19923 PyObject
* obj2
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self",(char *) "id",(char *) "toggle", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19930 if (SWIG_arg_fail(1)) SWIG_fail
;
19932 arg2
= (int)(SWIG_As_int(obj1
));
19933 if (SWIG_arg_fail(2)) SWIG_fail
;
19936 arg3
= (bool)(SWIG_As_bool(obj2
));
19937 if (SWIG_arg_fail(3)) SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 (arg1
)->ToggleTool(arg2
,arg3
);
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 Py_INCREF(Py_None
); resultobj
= Py_None
;
19953 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19960 PyObject
* obj2
= 0 ;
19961 char *kwnames
[] = {
19962 (char *) "self",(char *) "id",(char *) "toggle", NULL
19965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19967 if (SWIG_arg_fail(1)) SWIG_fail
;
19969 arg2
= (int)(SWIG_As_int(obj1
));
19970 if (SWIG_arg_fail(2)) SWIG_fail
;
19973 arg3
= (bool)(SWIG_As_bool(obj2
));
19974 if (SWIG_arg_fail(3)) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 (arg1
)->SetToggle(arg2
,arg3
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 Py_INCREF(Py_None
); resultobj
= Py_None
;
19990 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self",(char *) "id", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20003 if (SWIG_arg_fail(1)) SWIG_fail
;
20005 arg2
= (int)(SWIG_As_int(obj1
));
20006 if (SWIG_arg_fail(2)) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 resultobj
= result
;
20022 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20023 PyObject
*resultobj
;
20024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20026 PyObject
*arg3
= (PyObject
*) 0 ;
20027 PyObject
* obj0
= 0 ;
20028 PyObject
* obj1
= 0 ;
20029 PyObject
* obj2
= 0 ;
20030 char *kwnames
[] = {
20031 (char *) "self",(char *) "id",(char *) "clientData", NULL
20034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20036 if (SWIG_arg_fail(1)) SWIG_fail
;
20038 arg2
= (int)(SWIG_As_int(obj1
));
20039 if (SWIG_arg_fail(2)) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 Py_INCREF(Py_None
); resultobj
= Py_None
;
20056 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 char *kwnames
[] = {
20064 (char *) "self",(char *) "id", NULL
20067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20069 if (SWIG_arg_fail(1)) SWIG_fail
;
20071 arg2
= (int)(SWIG_As_int(obj1
));
20072 if (SWIG_arg_fail(2)) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= SWIG_From_int((int)(result
));
20090 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self",(char *) "id", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20103 if (SWIG_arg_fail(1)) SWIG_fail
;
20105 arg2
= (int)(SWIG_As_int(obj1
));
20106 if (SWIG_arg_fail(2)) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 result
= (bool)(arg1
)->GetToolState(arg2
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20124 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20129 PyObject
* obj0
= 0 ;
20130 PyObject
* obj1
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self",(char *) "id", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20137 if (SWIG_arg_fail(1)) SWIG_fail
;
20139 arg2
= (int)(SWIG_As_int(obj1
));
20140 if (SWIG_arg_fail(2)) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20158 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20162 wxString
*arg3
= 0 ;
20163 bool temp3
= false ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 PyObject
* obj2
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self",(char *) "id",(char *) "helpString", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20173 if (SWIG_arg_fail(1)) SWIG_fail
;
20175 arg2
= (int)(SWIG_As_int(obj1
));
20176 if (SWIG_arg_fail(2)) SWIG_fail
;
20179 arg3
= wxString_in_helper(obj2
);
20180 if (arg3
== NULL
) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 Py_INCREF(Py_None
); resultobj
= Py_None
;
20205 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "id", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail
;
20220 arg2
= (int)(SWIG_As_int(obj1
));
20221 if (SWIG_arg_fail(2)) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (arg1
)->GetToolShortHelp(arg2
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20243 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20247 wxString
*arg3
= 0 ;
20248 bool temp3
= false ;
20249 PyObject
* obj0
= 0 ;
20250 PyObject
* obj1
= 0 ;
20251 PyObject
* obj2
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "self",(char *) "id",(char *) "helpString", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20258 if (SWIG_arg_fail(1)) SWIG_fail
;
20260 arg2
= (int)(SWIG_As_int(obj1
));
20261 if (SWIG_arg_fail(2)) SWIG_fail
;
20264 arg3
= wxString_in_helper(obj2
);
20265 if (arg3
== NULL
) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20275 Py_INCREF(Py_None
); resultobj
= Py_None
;
20290 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20295 PyObject
* obj0
= 0 ;
20296 PyObject
* obj1
= 0 ;
20297 char *kwnames
[] = {
20298 (char *) "self",(char *) "id", NULL
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20303 if (SWIG_arg_fail(1)) SWIG_fail
;
20305 arg2
= (int)(SWIG_As_int(obj1
));
20306 if (SWIG_arg_fail(2)) SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (arg1
)->GetToolLongHelp(arg2
);
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20328 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
;
20330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20333 PyObject
* obj0
= 0 ;
20334 PyObject
* obj1
= 0 ;
20335 PyObject
* obj2
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self",(char *) "x",(char *) "y", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20342 if (SWIG_arg_fail(1)) SWIG_fail
;
20344 arg2
= (int)(SWIG_As_int(obj1
));
20345 if (SWIG_arg_fail(2)) SWIG_fail
;
20348 arg3
= (int)(SWIG_As_int(obj2
));
20349 if (SWIG_arg_fail(3)) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 (arg1
)->SetMargins(arg2
,arg3
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self",(char *) "size", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail
;
20381 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 Py_INCREF(Py_None
); resultobj
= Py_None
;
20397 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self",(char *) "packing", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20409 if (SWIG_arg_fail(1)) SWIG_fail
;
20411 arg2
= (int)(SWIG_As_int(obj1
));
20412 if (SWIG_arg_fail(2)) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 (arg1
)->SetToolPacking(arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 Py_INCREF(Py_None
); resultobj
= Py_None
;
20428 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20432 PyObject
* obj0
= 0 ;
20433 PyObject
* obj1
= 0 ;
20434 char *kwnames
[] = {
20435 (char *) "self",(char *) "separation", NULL
20438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20440 if (SWIG_arg_fail(1)) SWIG_fail
;
20442 arg2
= (int)(SWIG_As_int(obj1
));
20443 if (SWIG_arg_fail(2)) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 (arg1
)->SetToolSeparation(arg2
);
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 Py_INCREF(Py_None
); resultobj
= Py_None
;
20459 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20463 PyObject
* obj0
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20470 if (SWIG_arg_fail(1)) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= (arg1
)->GetToolMargins();
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20479 wxSize
* resultptr
;
20480 resultptr
= new wxSize((wxSize
&)(result
));
20481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20489 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20500 if (SWIG_arg_fail(1)) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (arg1
)->GetMargins();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20509 wxSize
* resultptr
;
20510 resultptr
= new wxSize((wxSize
&)(result
));
20511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20519 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (int)(arg1
)->GetToolPacking();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_From_int((int)(result
));
20547 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (int)(arg1
)->GetToolSeparation();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_From_int((int)(result
));
20575 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 char *kwnames
[] = {
20582 (char *) "self",(char *) "nRows", NULL
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20587 if (SWIG_arg_fail(1)) SWIG_fail
;
20589 arg2
= (int)(SWIG_As_int(obj1
));
20590 if (SWIG_arg_fail(2)) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 (arg1
)->SetRows(arg2
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 Py_INCREF(Py_None
); resultobj
= Py_None
;
20606 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20611 PyObject
* obj0
= 0 ;
20612 PyObject
* obj1
= 0 ;
20613 PyObject
* obj2
= 0 ;
20614 char *kwnames
[] = {
20615 (char *) "self",(char *) "rows",(char *) "cols", NULL
20618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20620 if (SWIG_arg_fail(1)) SWIG_fail
;
20622 arg2
= (int)(SWIG_As_int(obj1
));
20623 if (SWIG_arg_fail(2)) SWIG_fail
;
20626 arg3
= (int)(SWIG_As_int(obj2
));
20627 if (SWIG_arg_fail(3)) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 Py_INCREF(Py_None
); resultobj
= Py_None
;
20643 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
;
20645 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20647 PyObject
* obj0
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "self", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20654 if (SWIG_arg_fail(1)) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 result
= (int)(arg1
)->GetMaxRows();
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= SWIG_From_int((int)(result
));
20671 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20682 if (SWIG_arg_fail(1)) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (int)(arg1
)->GetMaxCols();
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= SWIG_From_int((int)(result
));
20699 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "self",(char *) "size", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20712 if (SWIG_arg_fail(1)) SWIG_fail
;
20715 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20724 Py_INCREF(Py_None
); resultobj
= Py_None
;
20731 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 char *kwnames
[] = {
20737 (char *) "self", NULL
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20742 if (SWIG_arg_fail(1)) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (arg1
)->GetToolBitmapSize();
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20751 wxSize
* resultptr
;
20752 resultptr
= new wxSize((wxSize
&)(result
));
20753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20761 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20765 PyObject
* obj0
= 0 ;
20766 char *kwnames
[] = {
20767 (char *) "self", NULL
20770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20772 if (SWIG_arg_fail(1)) SWIG_fail
;
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 result
= (arg1
)->GetToolSize();
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20781 wxSize
* resultptr
;
20782 resultptr
= new wxSize((wxSize
&)(result
));
20783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20791 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20792 PyObject
*resultobj
;
20793 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20796 wxToolBarToolBase
*result
;
20797 PyObject
* obj0
= 0 ;
20798 PyObject
* obj1
= 0 ;
20799 PyObject
* obj2
= 0 ;
20800 char *kwnames
[] = {
20801 (char *) "self",(char *) "x",(char *) "y", NULL
20804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20806 if (SWIG_arg_fail(1)) SWIG_fail
;
20808 arg2
= (int)(SWIG_As_int(obj1
));
20809 if (SWIG_arg_fail(2)) SWIG_fail
;
20812 arg3
= (int)(SWIG_As_int(obj2
));
20813 if (SWIG_arg_fail(3)) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= wxPyMake_wxObject(result
, 0);
20831 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20832 PyObject
*resultobj
;
20833 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20835 wxToolBarToolBase
*result
;
20836 PyObject
* obj0
= 0 ;
20837 PyObject
* obj1
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "self",(char *) "toolid", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
20847 if (SWIG_arg_fail(2)) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= wxPyMake_wxObject(result
, 0);
20865 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
;
20867 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20869 PyObject
* obj0
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "self", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20876 if (SWIG_arg_fail(1)) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= (bool)(arg1
)->IsVertical();
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20893 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20896 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20898 return Py_BuildValue((char *)"");
20900 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxWindow
*arg1
= (wxWindow
*) 0 ;
20903 int arg2
= (int) -1 ;
20904 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20905 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20906 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20907 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20908 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20909 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20910 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20914 bool temp6
= false ;
20915 PyObject
* obj0
= 0 ;
20916 PyObject
* obj1
= 0 ;
20917 PyObject
* obj2
= 0 ;
20918 PyObject
* obj3
= 0 ;
20919 PyObject
* obj4
= 0 ;
20920 PyObject
* obj5
= 0 ;
20921 char *kwnames
[] = {
20922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20927 if (SWIG_arg_fail(1)) SWIG_fail
;
20930 arg2
= (int)(SWIG_As_int(obj1
));
20931 if (SWIG_arg_fail(2)) SWIG_fail
;
20937 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20943 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20948 arg5
= (long)(SWIG_As_long(obj4
));
20949 if (SWIG_arg_fail(5)) SWIG_fail
;
20954 arg6
= wxString_in_helper(obj5
);
20955 if (arg6
== NULL
) SWIG_fail
;
20960 if (!wxPyCheckForApp()) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
20982 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20985 char *kwnames
[] = {
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
20991 if (!wxPyCheckForApp()) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (wxToolBar
*)new wxToolBar();
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21005 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21008 wxWindow
*arg2
= (wxWindow
*) 0 ;
21009 int arg3
= (int) -1 ;
21010 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21011 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21012 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21013 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21014 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21015 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21016 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21020 bool temp7
= false ;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 PyObject
* obj2
= 0 ;
21024 PyObject
* obj3
= 0 ;
21025 PyObject
* obj4
= 0 ;
21026 PyObject
* obj5
= 0 ;
21027 PyObject
* obj6
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21034 if (SWIG_arg_fail(1)) SWIG_fail
;
21035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21036 if (SWIG_arg_fail(2)) SWIG_fail
;
21039 arg3
= (int)(SWIG_As_int(obj2
));
21040 if (SWIG_arg_fail(3)) SWIG_fail
;
21046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21057 arg6
= (long)(SWIG_As_long(obj5
));
21058 if (SWIG_arg_fail(6)) SWIG_fail
;
21063 arg7
= wxString_in_helper(obj6
);
21064 if (arg7
== NULL
) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21092 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
;
21094 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21097 wxToolBarToolBase
*result
;
21098 PyObject
* obj0
= 0 ;
21099 PyObject
* obj1
= 0 ;
21100 PyObject
* obj2
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self",(char *) "x",(char *) "y", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21107 if (SWIG_arg_fail(1)) SWIG_fail
;
21109 arg2
= (int)(SWIG_As_int(obj1
));
21110 if (SWIG_arg_fail(2)) SWIG_fail
;
21113 arg3
= (int)(SWIG_As_int(obj2
));
21114 if (SWIG_arg_fail(3)) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= wxPyMake_wxObject(result
, 0);
21132 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
;
21134 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21135 wxVisualAttributes result
;
21136 PyObject
* obj0
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "variant", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21144 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21149 if (!wxPyCheckForApp()) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21157 wxVisualAttributes
* resultptr
;
21158 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21167 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21170 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21172 return Py_BuildValue((char *)"");
21174 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21175 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21180 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21185 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21187 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21194 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxColour
const &arg1_defvalue
= wxNullColour
;
21197 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21198 wxColour
const &arg2_defvalue
= wxNullColour
;
21199 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21200 wxFont
const &arg3_defvalue
= wxNullFont
;
21201 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21202 wxListItemAttr
*result
;
21205 PyObject
* obj0
= 0 ;
21206 PyObject
* obj1
= 0 ;
21207 PyObject
* obj2
= 0 ;
21208 char *kwnames
[] = {
21209 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21216 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21222 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21227 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21228 if (SWIG_arg_fail(3)) SWIG_fail
;
21229 if (arg3
== NULL
) {
21230 SWIG_null_ref("wxFont");
21232 if (SWIG_arg_fail(3)) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21249 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21252 wxColour
*arg2
= 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 char *kwnames
[] = {
21257 (char *) "self",(char *) "colText", NULL
21260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21262 if (SWIG_arg_fail(1)) SWIG_fail
;
21265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21274 Py_INCREF(Py_None
); resultobj
= Py_None
;
21281 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
;
21283 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21284 wxColour
*arg2
= 0 ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "colBack", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21294 if (SWIG_arg_fail(1)) SWIG_fail
;
21297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 Py_INCREF(Py_None
); resultobj
= Py_None
;
21313 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self",(char *) "font", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21325 if (SWIG_arg_fail(1)) SWIG_fail
;
21327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21328 if (SWIG_arg_fail(2)) SWIG_fail
;
21329 if (arg2
== NULL
) {
21330 SWIG_null_ref("wxFont");
21332 if (SWIG_arg_fail(2)) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 (arg1
)->SetFont((wxFont
const &)*arg2
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 Py_INCREF(Py_None
); resultobj
= Py_None
;
21348 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21350 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21352 PyObject
* obj0
= 0 ;
21353 char *kwnames
[] = {
21354 (char *) "self", NULL
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21359 if (SWIG_arg_fail(1)) SWIG_fail
;
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 result
= (bool)(arg1
)->HasTextColour();
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21376 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21377 PyObject
*resultobj
;
21378 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21380 PyObject
* obj0
= 0 ;
21381 char *kwnames
[] = {
21382 (char *) "self", NULL
21385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21387 if (SWIG_arg_fail(1)) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (bool)(arg1
)->HasBackgroundColour();
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21404 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21406 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21408 PyObject
* obj0
= 0 ;
21409 char *kwnames
[] = {
21410 (char *) "self", NULL
21413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21415 if (SWIG_arg_fail(1)) SWIG_fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 result
= (bool)(arg1
)->HasFont();
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21432 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "self", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21443 if (SWIG_arg_fail(1)) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= (arg1
)->GetTextColour();
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21452 wxColour
* resultptr
;
21453 resultptr
= new wxColour((wxColour
&)(result
));
21454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21462 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21466 PyObject
* obj0
= 0 ;
21467 char *kwnames
[] = {
21468 (char *) "self", NULL
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21473 if (SWIG_arg_fail(1)) SWIG_fail
;
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 result
= (arg1
)->GetBackgroundColour();
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21482 wxColour
* resultptr
;
21483 resultptr
= new wxColour((wxColour
&)(result
));
21484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21492 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21496 PyObject
* obj0
= 0 ;
21497 char *kwnames
[] = {
21498 (char *) "self", NULL
21501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21503 if (SWIG_arg_fail(1)) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (arg1
)->GetFont();
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21512 wxFont
* resultptr
;
21513 resultptr
= new wxFont((wxFont
&)(result
));
21514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21522 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21532 if (SWIG_arg_fail(1)) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 wxListItemAttr_Destroy(arg1
);
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 Py_INCREF(Py_None
); resultobj
= Py_None
;
21547 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21550 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21552 return Py_BuildValue((char *)"");
21554 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxListItem
*result
;
21557 char *kwnames
[] = {
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (wxListItem
*)new wxListItem();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= wxPyMake_wxObject(result
, 1);
21578 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxListItem
*arg1
= (wxListItem
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21588 if (SWIG_arg_fail(1)) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 Py_INCREF(Py_None
); resultobj
= Py_None
;
21603 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxListItem
*arg1
= (wxListItem
*) 0 ;
21606 PyObject
* obj0
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21613 if (SWIG_arg_fail(1)) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 Py_INCREF(Py_None
); resultobj
= Py_None
;
21628 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxListItem
*arg1
= (wxListItem
*) 0 ;
21631 PyObject
* obj0
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21638 if (SWIG_arg_fail(1)) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 (arg1
)->ClearAttributes();
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxListItem
*arg1
= (wxListItem
*) 0 ;
21657 PyObject
* obj0
= 0 ;
21658 PyObject
* obj1
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "self",(char *) "mask", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21665 if (SWIG_arg_fail(1)) SWIG_fail
;
21667 arg2
= (long)(SWIG_As_long(obj1
));
21668 if (SWIG_arg_fail(2)) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 (arg1
)->SetMask(arg2
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21677 Py_INCREF(Py_None
); resultobj
= Py_None
;
21684 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxListItem
*arg1
= (wxListItem
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 char *kwnames
[] = {
21691 (char *) "self",(char *) "id", NULL
21694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21696 if (SWIG_arg_fail(1)) SWIG_fail
;
21698 arg2
= (long)(SWIG_As_long(obj1
));
21699 if (SWIG_arg_fail(2)) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 (arg1
)->SetId(arg2
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 Py_INCREF(Py_None
); resultobj
= Py_None
;
21715 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxListItem
*arg1
= (wxListItem
*) 0 ;
21719 PyObject
* obj0
= 0 ;
21720 PyObject
* obj1
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self",(char *) "col", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21729 arg2
= (int)(SWIG_As_int(obj1
));
21730 if (SWIG_arg_fail(2)) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 (arg1
)->SetColumn(arg2
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 Py_INCREF(Py_None
); resultobj
= Py_None
;
21746 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxListItem
*arg1
= (wxListItem
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "state", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail
;
21760 arg2
= (long)(SWIG_As_long(obj1
));
21761 if (SWIG_arg_fail(2)) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 (arg1
)->SetState(arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 Py_INCREF(Py_None
); resultobj
= Py_None
;
21777 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxListItem
*arg1
= (wxListItem
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self",(char *) "stateMask", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21789 if (SWIG_arg_fail(1)) SWIG_fail
;
21791 arg2
= (long)(SWIG_As_long(obj1
));
21792 if (SWIG_arg_fail(2)) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 (arg1
)->SetStateMask(arg2
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 Py_INCREF(Py_None
); resultobj
= Py_None
;
21808 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 wxListItem
*arg1
= (wxListItem
*) 0 ;
21811 wxString
*arg2
= 0 ;
21812 bool temp2
= false ;
21813 PyObject
* obj0
= 0 ;
21814 PyObject
* obj1
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "self",(char *) "text", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21821 if (SWIG_arg_fail(1)) SWIG_fail
;
21823 arg2
= wxString_in_helper(obj1
);
21824 if (arg2
== NULL
) SWIG_fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 (arg1
)->SetText((wxString
const &)*arg2
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 Py_INCREF(Py_None
); resultobj
= Py_None
;
21849 static PyObject
*_wrap_ListItem_SetImage(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 *) "image", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",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
= (int)(SWIG_As_int(obj1
));
21864 if (SWIG_arg_fail(2)) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 (arg1
)->SetImage(arg2
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 Py_INCREF(Py_None
); resultobj
= Py_None
;
21880 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxListItem
*arg1
= (wxListItem
*) 0 ;
21884 PyObject
* obj0
= 0 ;
21885 PyObject
* obj1
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self",(char *) "data", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21892 if (SWIG_arg_fail(1)) SWIG_fail
;
21894 arg2
= (long)(SWIG_As_long(obj1
));
21895 if (SWIG_arg_fail(2)) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 (arg1
)->SetData(arg2
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 Py_INCREF(Py_None
); resultobj
= Py_None
;
21911 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
;
21913 wxListItem
*arg1
= (wxListItem
*) 0 ;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "width", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21923 if (SWIG_arg_fail(1)) SWIG_fail
;
21925 arg2
= (int)(SWIG_As_int(obj1
));
21926 if (SWIG_arg_fail(2)) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 (arg1
)->SetWidth(arg2
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 Py_INCREF(Py_None
); resultobj
= Py_None
;
21942 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxListItem
*arg1
= (wxListItem
*) 0 ;
21945 wxListColumnFormat arg2
;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "align", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
21953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail
;
21956 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
21957 if (SWIG_arg_fail(2)) SWIG_fail
;
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 Py_INCREF(Py_None
); resultobj
= Py_None
;
21973 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxListItem
*arg1
= (wxListItem
*) 0 ;
21976 wxColour
*arg2
= 0 ;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self",(char *) "colText", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21986 if (SWIG_arg_fail(1)) SWIG_fail
;
21989 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21998 Py_INCREF(Py_None
); resultobj
= Py_None
;
22005 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
;
22007 wxListItem
*arg1
= (wxListItem
*) 0 ;
22008 wxColour
*arg2
= 0 ;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 char *kwnames
[] = {
22013 (char *) "self",(char *) "colBack", NULL
22016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22018 if (SWIG_arg_fail(1)) SWIG_fail
;
22021 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 Py_INCREF(Py_None
); resultobj
= Py_None
;
22037 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22038 PyObject
*resultobj
;
22039 wxListItem
*arg1
= (wxListItem
*) 0 ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "self",(char *) "font", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22049 if (SWIG_arg_fail(1)) SWIG_fail
;
22051 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22052 if (SWIG_arg_fail(2)) SWIG_fail
;
22053 if (arg2
== NULL
) {
22054 SWIG_null_ref("wxFont");
22056 if (SWIG_arg_fail(2)) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 (arg1
)->SetFont((wxFont
const &)*arg2
);
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 Py_INCREF(Py_None
); resultobj
= Py_None
;
22072 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxListItem
*arg1
= (wxListItem
*) 0 ;
22076 PyObject
* obj0
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22083 if (SWIG_arg_fail(1)) SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= (long)(arg1
)->GetMask();
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22092 resultobj
= SWIG_From_long((long)(result
));
22100 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxListItem
*arg1
= (wxListItem
*) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 char *kwnames
[] = {
22106 (char *) "self", NULL
22109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22111 if (SWIG_arg_fail(1)) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= (long)(arg1
)->GetId();
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_From_long((long)(result
));
22128 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxListItem
*arg1
= (wxListItem
*) 0 ;
22132 PyObject
* obj0
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22139 if (SWIG_arg_fail(1)) SWIG_fail
;
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 result
= (int)(arg1
)->GetColumn();
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= SWIG_From_int((int)(result
));
22156 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxListItem
*arg1
= (wxListItem
*) 0 ;
22160 PyObject
* obj0
= 0 ;
22161 char *kwnames
[] = {
22162 (char *) "self", NULL
22165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22167 if (SWIG_arg_fail(1)) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (long)(arg1
)->GetState();
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_From_long((long)(result
));
22184 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxListItem
*arg1
= (wxListItem
*) 0 ;
22188 PyObject
* obj0
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22195 if (SWIG_arg_fail(1)) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 wxString
const &_result_ref
= (arg1
)->GetText();
22200 result
= (wxString
*) &_result_ref
;
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22219 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxListItem
*arg1
= (wxListItem
*) 0 ;
22223 PyObject
* obj0
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22230 if (SWIG_arg_fail(1)) SWIG_fail
;
22232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22233 result
= (int)(arg1
)->GetImage();
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= SWIG_From_int((int)(result
));
22247 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
;
22249 wxListItem
*arg1
= (wxListItem
*) 0 ;
22251 PyObject
* obj0
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "self", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 result
= (long)(arg1
)->GetData();
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= SWIG_From_long((long)(result
));
22275 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxListItem
*arg1
= (wxListItem
*) 0 ;
22279 PyObject
* obj0
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22286 if (SWIG_arg_fail(1)) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 result
= (int)(arg1
)->GetWidth();
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= SWIG_From_int((int)(result
));
22303 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxListItem
*arg1
= (wxListItem
*) 0 ;
22306 wxListColumnFormat result
;
22307 PyObject
* obj0
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_From_int((result
));
22329 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxListItem
*arg1
= (wxListItem
*) 0 ;
22332 wxListItemAttr
*result
;
22333 PyObject
* obj0
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22340 if (SWIG_arg_fail(1)) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22355 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxListItem
*arg1
= (wxListItem
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22366 if (SWIG_arg_fail(1)) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 result
= (bool)(arg1
)->HasAttributes();
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22383 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxListItem
*arg1
= (wxListItem
*) 0 ;
22387 PyObject
* obj0
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "self", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22394 if (SWIG_arg_fail(1)) SWIG_fail
;
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22403 wxColour
* resultptr
;
22404 resultptr
= new wxColour((wxColour
&)(result
));
22405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22413 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxListItem
*arg1
= (wxListItem
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22424 if (SWIG_arg_fail(1)) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 wxColour
* resultptr
;
22434 resultptr
= new wxColour((wxColour
&)(result
));
22435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22443 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
;
22445 wxListItem
*arg1
= (wxListItem
*) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22454 if (SWIG_arg_fail(1)) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= ((wxListItem
const *)arg1
)->GetFont();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 wxFont
* resultptr
;
22464 resultptr
= new wxFont((wxFont
&)(result
));
22465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22473 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxListItem
*arg1
= (wxListItem
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 char *kwnames
[] = {
22480 (char *) "self",(char *) "m_mask", NULL
22483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22485 if (SWIG_arg_fail(1)) SWIG_fail
;
22487 arg2
= (long)(SWIG_As_long(obj1
));
22488 if (SWIG_arg_fail(2)) SWIG_fail
;
22490 if (arg1
) (arg1
)->m_mask
= arg2
;
22492 Py_INCREF(Py_None
); resultobj
= Py_None
;
22499 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxListItem
*arg1
= (wxListItem
*) 0 ;
22503 PyObject
* obj0
= 0 ;
22504 char *kwnames
[] = {
22505 (char *) "self", NULL
22508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22510 if (SWIG_arg_fail(1)) SWIG_fail
;
22511 result
= (long) ((arg1
)->m_mask
);
22514 resultobj
= SWIG_From_long((long)(result
));
22522 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxListItem
*arg1
= (wxListItem
*) 0 ;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 char *kwnames
[] = {
22529 (char *) "self",(char *) "m_itemId", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22534 if (SWIG_arg_fail(1)) SWIG_fail
;
22536 arg2
= (long)(SWIG_As_long(obj1
));
22537 if (SWIG_arg_fail(2)) SWIG_fail
;
22539 if (arg1
) (arg1
)->m_itemId
= arg2
;
22541 Py_INCREF(Py_None
); resultobj
= Py_None
;
22548 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxListItem
*arg1
= (wxListItem
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail
;
22560 result
= (long) ((arg1
)->m_itemId
);
22563 resultobj
= SWIG_From_long((long)(result
));
22571 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxListItem
*arg1
= (wxListItem
*) 0 ;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self",(char *) "m_col", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22583 if (SWIG_arg_fail(1)) SWIG_fail
;
22585 arg2
= (int)(SWIG_As_int(obj1
));
22586 if (SWIG_arg_fail(2)) SWIG_fail
;
22588 if (arg1
) (arg1
)->m_col
= arg2
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22597 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxListItem
*arg1
= (wxListItem
*) 0 ;
22601 PyObject
* obj0
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22608 if (SWIG_arg_fail(1)) SWIG_fail
;
22609 result
= (int) ((arg1
)->m_col
);
22612 resultobj
= SWIG_From_int((int)(result
));
22620 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
;
22622 wxListItem
*arg1
= (wxListItem
*) 0 ;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self",(char *) "m_state", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22632 if (SWIG_arg_fail(1)) SWIG_fail
;
22634 arg2
= (long)(SWIG_As_long(obj1
));
22635 if (SWIG_arg_fail(2)) SWIG_fail
;
22637 if (arg1
) (arg1
)->m_state
= arg2
;
22639 Py_INCREF(Py_None
); resultobj
= Py_None
;
22646 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
;
22648 wxListItem
*arg1
= (wxListItem
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22657 if (SWIG_arg_fail(1)) SWIG_fail
;
22658 result
= (long) ((arg1
)->m_state
);
22661 resultobj
= SWIG_From_long((long)(result
));
22669 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxListItem
*arg1
= (wxListItem
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "m_stateMask", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22681 if (SWIG_arg_fail(1)) SWIG_fail
;
22683 arg2
= (long)(SWIG_As_long(obj1
));
22684 if (SWIG_arg_fail(2)) SWIG_fail
;
22686 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22688 Py_INCREF(Py_None
); resultobj
= Py_None
;
22695 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxListItem
*arg1
= (wxListItem
*) 0 ;
22699 PyObject
* obj0
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "self", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail
;
22707 result
= (long) ((arg1
)->m_stateMask
);
22710 resultobj
= SWIG_From_long((long)(result
));
22718 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxListItem
*arg1
= (wxListItem
*) 0 ;
22721 wxString
*arg2
= (wxString
*) 0 ;
22722 bool temp2
= false ;
22723 PyObject
* obj0
= 0 ;
22724 PyObject
* obj1
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self",(char *) "m_text", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail
;
22733 arg2
= wxString_in_helper(obj1
);
22734 if (arg2
== NULL
) SWIG_fail
;
22737 if (arg1
) (arg1
)->m_text
= *arg2
;
22739 Py_INCREF(Py_None
); resultobj
= Py_None
;
22754 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22755 PyObject
*resultobj
;
22756 wxListItem
*arg1
= (wxListItem
*) 0 ;
22758 PyObject
* obj0
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22765 if (SWIG_arg_fail(1)) SWIG_fail
;
22766 result
= (wxString
*)& ((arg1
)->m_text
);
22770 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22772 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22781 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxListItem
*arg1
= (wxListItem
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 PyObject
* obj1
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self",(char *) "m_image", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22793 if (SWIG_arg_fail(1)) SWIG_fail
;
22795 arg2
= (int)(SWIG_As_int(obj1
));
22796 if (SWIG_arg_fail(2)) SWIG_fail
;
22798 if (arg1
) (arg1
)->m_image
= arg2
;
22800 Py_INCREF(Py_None
); resultobj
= Py_None
;
22807 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22808 PyObject
*resultobj
;
22809 wxListItem
*arg1
= (wxListItem
*) 0 ;
22811 PyObject
* obj0
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22818 if (SWIG_arg_fail(1)) SWIG_fail
;
22819 result
= (int) ((arg1
)->m_image
);
22822 resultobj
= SWIG_From_int((int)(result
));
22830 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22832 wxListItem
*arg1
= (wxListItem
*) 0 ;
22834 PyObject
* obj0
= 0 ;
22835 PyObject
* obj1
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "m_data", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail
;
22844 arg2
= (long)(SWIG_As_long(obj1
));
22845 if (SWIG_arg_fail(2)) SWIG_fail
;
22847 if (arg1
) (arg1
)->m_data
= arg2
;
22849 Py_INCREF(Py_None
); resultobj
= Py_None
;
22856 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
;
22858 wxListItem
*arg1
= (wxListItem
*) 0 ;
22860 PyObject
* obj0
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "self", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22867 if (SWIG_arg_fail(1)) SWIG_fail
;
22868 result
= (long) ((arg1
)->m_data
);
22871 resultobj
= SWIG_From_long((long)(result
));
22879 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
;
22881 wxListItem
*arg1
= (wxListItem
*) 0 ;
22883 PyObject
* obj0
= 0 ;
22884 PyObject
* obj1
= 0 ;
22885 char *kwnames
[] = {
22886 (char *) "self",(char *) "m_format", NULL
22889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22891 if (SWIG_arg_fail(1)) SWIG_fail
;
22893 arg2
= (int)(SWIG_As_int(obj1
));
22894 if (SWIG_arg_fail(2)) SWIG_fail
;
22896 if (arg1
) (arg1
)->m_format
= arg2
;
22898 Py_INCREF(Py_None
); resultobj
= Py_None
;
22905 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxListItem
*arg1
= (wxListItem
*) 0 ;
22909 PyObject
* obj0
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22916 if (SWIG_arg_fail(1)) SWIG_fail
;
22917 result
= (int) ((arg1
)->m_format
);
22920 resultobj
= SWIG_From_int((int)(result
));
22928 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22929 PyObject
*resultobj
;
22930 wxListItem
*arg1
= (wxListItem
*) 0 ;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 char *kwnames
[] = {
22935 (char *) "self",(char *) "m_width", NULL
22938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail
;
22942 arg2
= (int)(SWIG_As_int(obj1
));
22943 if (SWIG_arg_fail(2)) SWIG_fail
;
22945 if (arg1
) (arg1
)->m_width
= arg2
;
22947 Py_INCREF(Py_None
); resultobj
= Py_None
;
22954 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22955 PyObject
*resultobj
;
22956 wxListItem
*arg1
= (wxListItem
*) 0 ;
22958 PyObject
* obj0
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
22964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22965 if (SWIG_arg_fail(1)) SWIG_fail
;
22966 result
= (int) ((arg1
)->m_width
);
22969 resultobj
= SWIG_From_int((int)(result
));
22977 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
22979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22980 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
22982 return Py_BuildValue((char *)"");
22984 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22987 int arg2
= (int) 0 ;
22988 wxListEvent
*result
;
22989 PyObject
* obj0
= 0 ;
22990 PyObject
* obj1
= 0 ;
22991 char *kwnames
[] = {
22992 (char *) "commandType",(char *) "id", NULL
22995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22998 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22999 if (SWIG_arg_fail(1)) SWIG_fail
;
23004 arg2
= (int)(SWIG_As_int(obj1
));
23005 if (SWIG_arg_fail(2)) SWIG_fail
;
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23012 wxPyEndAllowThreads(__tstate
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23022 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23024 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "m_code", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23034 if (SWIG_arg_fail(1)) SWIG_fail
;
23036 arg2
= (int)(SWIG_As_int(obj1
));
23037 if (SWIG_arg_fail(2)) SWIG_fail
;
23039 if (arg1
) (arg1
)->m_code
= arg2
;
23041 Py_INCREF(Py_None
); resultobj
= Py_None
;
23048 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23049 PyObject
*resultobj
;
23050 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23052 PyObject
* obj0
= 0 ;
23053 char *kwnames
[] = {
23054 (char *) "self", NULL
23057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23059 if (SWIG_arg_fail(1)) SWIG_fail
;
23060 result
= (int) ((arg1
)->m_code
);
23063 resultobj
= SWIG_From_int((int)(result
));
23071 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23075 PyObject
* obj0
= 0 ;
23076 PyObject
* obj1
= 0 ;
23077 char *kwnames
[] = {
23078 (char *) "self",(char *) "m_oldItemIndex", NULL
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23083 if (SWIG_arg_fail(1)) SWIG_fail
;
23085 arg2
= (long)(SWIG_As_long(obj1
));
23086 if (SWIG_arg_fail(2)) SWIG_fail
;
23088 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23090 Py_INCREF(Py_None
); resultobj
= Py_None
;
23097 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23101 PyObject
* obj0
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23108 if (SWIG_arg_fail(1)) SWIG_fail
;
23109 result
= (long) ((arg1
)->m_oldItemIndex
);
23112 resultobj
= SWIG_From_long((long)(result
));
23120 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23124 PyObject
* obj0
= 0 ;
23125 PyObject
* obj1
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self",(char *) "m_itemIndex", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail
;
23134 arg2
= (long)(SWIG_As_long(obj1
));
23135 if (SWIG_arg_fail(2)) SWIG_fail
;
23137 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23139 Py_INCREF(Py_None
); resultobj
= Py_None
;
23146 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23150 PyObject
* obj0
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23157 if (SWIG_arg_fail(1)) SWIG_fail
;
23158 result
= (long) ((arg1
)->m_itemIndex
);
23161 resultobj
= SWIG_From_long((long)(result
));
23169 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23171 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23173 PyObject
* obj0
= 0 ;
23174 PyObject
* obj1
= 0 ;
23175 char *kwnames
[] = {
23176 (char *) "self",(char *) "m_col", NULL
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23181 if (SWIG_arg_fail(1)) SWIG_fail
;
23183 arg2
= (int)(SWIG_As_int(obj1
));
23184 if (SWIG_arg_fail(2)) SWIG_fail
;
23186 if (arg1
) (arg1
)->m_col
= arg2
;
23188 Py_INCREF(Py_None
); resultobj
= Py_None
;
23195 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
;
23197 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23206 if (SWIG_arg_fail(1)) SWIG_fail
;
23207 result
= (int) ((arg1
)->m_col
);
23210 resultobj
= SWIG_From_int((int)(result
));
23218 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23221 wxPoint
*arg2
= (wxPoint
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "m_pointDrag", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23230 if (SWIG_arg_fail(1)) SWIG_fail
;
23231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23232 if (SWIG_arg_fail(2)) SWIG_fail
;
23233 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23235 Py_INCREF(Py_None
); resultobj
= Py_None
;
23242 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
;
23244 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23246 PyObject
* obj0
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23253 if (SWIG_arg_fail(1)) SWIG_fail
;
23254 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23263 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23266 wxListItem
*result
;
23267 PyObject
* obj0
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23274 if (SWIG_arg_fail(1)) SWIG_fail
;
23275 result
= (wxListItem
*)& ((arg1
)->m_item
);
23278 resultobj
= wxPyMake_wxObject(result
, 0);
23286 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23290 PyObject
* obj0
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 result
= (int)(arg1
)->GetKeyCode();
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23306 resultobj
= SWIG_From_int((int)(result
));
23314 static PyObject
*_wrap_ListEvent_GetIndex(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_GetIndex",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
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (long)(arg1
)->GetIndex();
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= SWIG_From_long((long)(result
));
23342 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
;
23344 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23346 PyObject
* obj0
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23353 if (SWIG_arg_fail(1)) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 result
= (int)(arg1
)->GetColumn();
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23362 resultobj
= SWIG_From_int((int)(result
));
23370 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
;
23372 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23374 PyObject
* obj0
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23381 if (SWIG_arg_fail(1)) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 result
= (arg1
)->GetPoint();
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23390 wxPoint
* resultptr
;
23391 resultptr
= new wxPoint((wxPoint
&)(result
));
23392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23400 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
;
23402 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23404 PyObject
* obj0
= 0 ;
23405 char *kwnames
[] = {
23406 (char *) "self", NULL
23409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23411 if (SWIG_arg_fail(1)) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 wxString
const &_result_ref
= (arg1
)->GetLabel();
23416 result
= (wxString
*) &_result_ref
;
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23426 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23435 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23446 if (SWIG_arg_fail(1)) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 wxString
const &_result_ref
= (arg1
)->GetText();
23451 result
= (wxString
*) &_result_ref
;
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23461 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23470 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
;
23472 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23474 PyObject
* obj0
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "self", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23481 if (SWIG_arg_fail(1)) SWIG_fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 result
= (int)(arg1
)->GetImage();
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= SWIG_From_int((int)(result
));
23498 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23502 PyObject
* obj0
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23509 if (SWIG_arg_fail(1)) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= (long)(arg1
)->GetData();
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_From_long((long)(result
));
23526 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23528 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23530 PyObject
* obj0
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23537 if (SWIG_arg_fail(1)) SWIG_fail
;
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= (long)(arg1
)->GetMask();
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23546 resultobj
= SWIG_From_long((long)(result
));
23554 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23556 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23557 wxListItem
*result
;
23558 PyObject
* obj0
= 0 ;
23559 char *kwnames
[] = {
23560 (char *) "self", NULL
23563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23565 if (SWIG_arg_fail(1)) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23570 result
= (wxListItem
*) &_result_ref
;
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23583 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
;
23585 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23587 PyObject
* obj0
= 0 ;
23588 char *kwnames
[] = {
23589 (char *) "self", NULL
23592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23594 if (SWIG_arg_fail(1)) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (long)(arg1
)->GetCacheFrom();
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= SWIG_From_long((long)(result
));
23611 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23613 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23615 PyObject
* obj0
= 0 ;
23616 char *kwnames
[] = {
23617 (char *) "self", NULL
23620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23622 if (SWIG_arg_fail(1)) SWIG_fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 result
= (long)(arg1
)->GetCacheTo();
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23631 resultobj
= SWIG_From_long((long)(result
));
23639 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23641 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23643 PyObject
* obj0
= 0 ;
23644 char *kwnames
[] = {
23645 (char *) "self", NULL
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23650 if (SWIG_arg_fail(1)) SWIG_fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23667 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23671 PyObject
* obj0
= 0 ;
23672 PyObject
* obj1
= 0 ;
23673 char *kwnames
[] = {
23674 (char *) "self",(char *) "editCancelled", NULL
23677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23679 if (SWIG_arg_fail(1)) SWIG_fail
;
23681 arg2
= (bool)(SWIG_As_bool(obj1
));
23682 if (SWIG_arg_fail(2)) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 (arg1
)->SetEditCanceled(arg2
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 Py_INCREF(Py_None
); resultobj
= Py_None
;
23698 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23701 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23703 return Py_BuildValue((char *)"");
23705 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxWindow
*arg1
= (wxWindow
*) 0 ;
23708 int arg2
= (int) -1 ;
23709 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23710 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23711 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23712 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23713 long arg5
= (long) wxLC_ICON
;
23714 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23715 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23716 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23717 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23718 wxPyListCtrl
*result
;
23721 bool temp7
= false ;
23722 PyObject
* obj0
= 0 ;
23723 PyObject
* obj1
= 0 ;
23724 PyObject
* obj2
= 0 ;
23725 PyObject
* obj3
= 0 ;
23726 PyObject
* obj4
= 0 ;
23727 PyObject
* obj5
= 0 ;
23728 PyObject
* obj6
= 0 ;
23729 char *kwnames
[] = {
23730 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23735 if (SWIG_arg_fail(1)) SWIG_fail
;
23738 arg2
= (int)(SWIG_As_int(obj1
));
23739 if (SWIG_arg_fail(2)) SWIG_fail
;
23745 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23751 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23756 arg5
= (long)(SWIG_As_long(obj4
));
23757 if (SWIG_arg_fail(5)) SWIG_fail
;
23762 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23763 if (SWIG_arg_fail(6)) SWIG_fail
;
23764 if (arg6
== NULL
) {
23765 SWIG_null_ref("wxValidator");
23767 if (SWIG_arg_fail(6)) SWIG_fail
;
23772 arg7
= wxString_in_helper(obj6
);
23773 if (arg7
== NULL
) SWIG_fail
;
23778 if (!wxPyCheckForApp()) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23800 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23802 wxPyListCtrl
*result
;
23803 char *kwnames
[] = {
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23809 if (!wxPyCheckForApp()) SWIG_fail
;
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23823 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23826 wxWindow
*arg2
= (wxWindow
*) 0 ;
23827 int arg3
= (int) -1 ;
23828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23832 long arg6
= (long) wxLC_ICON
;
23833 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23834 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23835 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23836 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23840 bool temp8
= false ;
23841 PyObject
* obj0
= 0 ;
23842 PyObject
* obj1
= 0 ;
23843 PyObject
* obj2
= 0 ;
23844 PyObject
* obj3
= 0 ;
23845 PyObject
* obj4
= 0 ;
23846 PyObject
* obj5
= 0 ;
23847 PyObject
* obj6
= 0 ;
23848 PyObject
* obj7
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23855 if (SWIG_arg_fail(1)) SWIG_fail
;
23856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23857 if (SWIG_arg_fail(2)) SWIG_fail
;
23860 arg3
= (int)(SWIG_As_int(obj2
));
23861 if (SWIG_arg_fail(3)) SWIG_fail
;
23867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23878 arg6
= (long)(SWIG_As_long(obj5
));
23879 if (SWIG_arg_fail(6)) SWIG_fail
;
23884 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23885 if (SWIG_arg_fail(7)) SWIG_fail
;
23886 if (arg7
== NULL
) {
23887 SWIG_null_ref("wxValidator");
23889 if (SWIG_arg_fail(7)) SWIG_fail
;
23894 arg8
= wxString_in_helper(obj7
);
23895 if (arg8
== NULL
) SWIG_fail
;
23900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23901 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23923 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
;
23925 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23926 PyObject
*arg2
= (PyObject
*) 0 ;
23927 PyObject
*arg3
= (PyObject
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 PyObject
* obj1
= 0 ;
23930 PyObject
* obj2
= 0 ;
23931 char *kwnames
[] = {
23932 (char *) "self",(char *) "self",(char *) "_class", NULL
23935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23937 if (SWIG_arg_fail(1)) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 Py_INCREF(Py_None
); resultobj
= Py_None
;
23954 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23957 wxColour
*arg2
= 0 ;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 char *kwnames
[] = {
23963 (char *) "self",(char *) "col", NULL
23966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23968 if (SWIG_arg_fail(1)) SWIG_fail
;
23971 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23989 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
;
23991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23992 wxColour
*arg2
= 0 ;
23995 PyObject
* obj0
= 0 ;
23996 PyObject
* obj1
= 0 ;
23997 char *kwnames
[] = {
23998 (char *) "self",(char *) "col", NULL
24001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24003 if (SWIG_arg_fail(1)) SWIG_fail
;
24006 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24024 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24028 wxListItem
*result
;
24029 PyObject
* obj0
= 0 ;
24030 PyObject
* obj1
= 0 ;
24031 char *kwnames
[] = {
24032 (char *) "self",(char *) "col", NULL
24035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24037 if (SWIG_arg_fail(1)) SWIG_fail
;
24039 arg2
= (int)(SWIG_As_int(obj1
));
24040 if (SWIG_arg_fail(2)) SWIG_fail
;
24043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= wxPyMake_wxObject(result
, 0);
24058 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24062 wxListItem
*arg3
= 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 PyObject
* obj2
= 0 ;
24067 char *kwnames
[] = {
24068 (char *) "self",(char *) "col",(char *) "item", NULL
24071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24073 if (SWIG_arg_fail(1)) SWIG_fail
;
24075 arg2
= (int)(SWIG_As_int(obj1
));
24076 if (SWIG_arg_fail(2)) SWIG_fail
;
24079 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24080 if (SWIG_arg_fail(3)) SWIG_fail
;
24081 if (arg3
== NULL
) {
24082 SWIG_null_ref("wxListItem");
24084 if (SWIG_arg_fail(3)) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24102 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
;
24104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj1
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self",(char *) "col", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24115 if (SWIG_arg_fail(1)) SWIG_fail
;
24117 arg2
= (int)(SWIG_As_int(obj1
));
24118 if (SWIG_arg_fail(2)) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= SWIG_From_int((int)(result
));
24136 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
;
24138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24142 PyObject
* obj0
= 0 ;
24143 PyObject
* obj1
= 0 ;
24144 PyObject
* obj2
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self",(char *) "col",(char *) "width", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail
;
24153 arg2
= (int)(SWIG_As_int(obj1
));
24154 if (SWIG_arg_fail(2)) SWIG_fail
;
24157 arg3
= (int)(SWIG_As_int(obj2
));
24158 if (SWIG_arg_fail(3)) SWIG_fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24176 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24180 PyObject
* obj0
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24196 resultobj
= SWIG_From_int((int)(result
));
24204 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24205 PyObject
*resultobj
;
24206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24208 PyObject
* obj0
= 0 ;
24209 char *kwnames
[] = {
24210 (char *) "self", NULL
24213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24215 if (SWIG_arg_fail(1)) SWIG_fail
;
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24224 wxRect
* resultptr
;
24225 resultptr
= new wxRect((wxRect
&)(result
));
24226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24234 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24238 int arg3
= (int) 0 ;
24239 wxListItem
*result
;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24242 PyObject
* obj2
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self",(char *) "itemId",(char *) "col", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24249 if (SWIG_arg_fail(1)) SWIG_fail
;
24251 arg2
= (long)(SWIG_As_long(obj1
));
24252 if (SWIG_arg_fail(2)) SWIG_fail
;
24256 arg3
= (int)(SWIG_As_int(obj2
));
24257 if (SWIG_arg_fail(3)) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= wxPyMake_wxObject(result
, 0);
24276 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24279 wxListItem
*arg2
= 0 ;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self",(char *) "info", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24289 if (SWIG_arg_fail(1)) SWIG_fail
;
24291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24292 if (SWIG_arg_fail(2)) SWIG_fail
;
24293 if (arg2
== NULL
) {
24294 SWIG_null_ref("wxListItem");
24296 if (SWIG_arg_fail(2)) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= (bool)(arg1
)->SetItem(*arg2
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24314 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24319 wxString
*arg4
= 0 ;
24320 int arg5
= (int) -1 ;
24322 bool temp4
= false ;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 PyObject
* obj2
= 0 ;
24326 PyObject
* obj3
= 0 ;
24327 PyObject
* obj4
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24334 if (SWIG_arg_fail(1)) SWIG_fail
;
24336 arg2
= (long)(SWIG_As_long(obj1
));
24337 if (SWIG_arg_fail(2)) SWIG_fail
;
24340 arg3
= (int)(SWIG_As_int(obj2
));
24341 if (SWIG_arg_fail(3)) SWIG_fail
;
24344 arg4
= wxString_in_helper(obj3
);
24345 if (arg4
== NULL
) SWIG_fail
;
24350 arg5
= (int)(SWIG_As_int(obj4
));
24351 if (SWIG_arg_fail(5)) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= SWIG_From_long((long)(result
));
24378 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24384 PyObject
* obj0
= 0 ;
24385 PyObject
* obj1
= 0 ;
24386 PyObject
* obj2
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24393 if (SWIG_arg_fail(1)) SWIG_fail
;
24395 arg2
= (long)(SWIG_As_long(obj1
));
24396 if (SWIG_arg_fail(2)) SWIG_fail
;
24399 arg3
= (long)(SWIG_As_long(obj2
));
24400 if (SWIG_arg_fail(3)) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= SWIG_From_int((int)(result
));
24418 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
;
24420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 PyObject
* obj1
= 0 ;
24427 PyObject
* obj2
= 0 ;
24428 PyObject
* obj3
= 0 ;
24429 char *kwnames
[] = {
24430 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24435 if (SWIG_arg_fail(1)) SWIG_fail
;
24437 arg2
= (long)(SWIG_As_long(obj1
));
24438 if (SWIG_arg_fail(2)) SWIG_fail
;
24441 arg3
= (long)(SWIG_As_long(obj2
));
24442 if (SWIG_arg_fail(3)) SWIG_fail
;
24445 arg4
= (long)(SWIG_As_long(obj3
));
24446 if (SWIG_arg_fail(4)) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24464 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
;
24466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24469 int arg4
= (int) -1 ;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 PyObject
* obj2
= 0 ;
24474 PyObject
* obj3
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24481 if (SWIG_arg_fail(1)) SWIG_fail
;
24483 arg2
= (long)(SWIG_As_long(obj1
));
24484 if (SWIG_arg_fail(2)) SWIG_fail
;
24487 arg3
= (int)(SWIG_As_int(obj2
));
24488 if (SWIG_arg_fail(3)) SWIG_fail
;
24492 arg4
= (int)(SWIG_As_int(obj3
));
24493 if (SWIG_arg_fail(4)) SWIG_fail
;
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24512 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
;
24514 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24517 PyObject
* obj0
= 0 ;
24518 PyObject
* obj1
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self",(char *) "item", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24525 if (SWIG_arg_fail(1)) SWIG_fail
;
24527 arg2
= (long)(SWIG_As_long(obj1
));
24528 if (SWIG_arg_fail(2)) SWIG_fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24550 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24554 wxString
*arg3
= 0 ;
24555 bool temp3
= false ;
24556 PyObject
* obj0
= 0 ;
24557 PyObject
* obj1
= 0 ;
24558 PyObject
* obj2
= 0 ;
24559 char *kwnames
[] = {
24560 (char *) "self",(char *) "item",(char *) "str", NULL
24563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24565 if (SWIG_arg_fail(1)) SWIG_fail
;
24567 arg2
= (long)(SWIG_As_long(obj1
));
24568 if (SWIG_arg_fail(2)) SWIG_fail
;
24571 arg3
= wxString_in_helper(obj2
);
24572 if (arg3
== NULL
) SWIG_fail
;
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 Py_INCREF(Py_None
); resultobj
= Py_None
;
24597 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self",(char *) "item", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24610 if (SWIG_arg_fail(1)) SWIG_fail
;
24612 arg2
= (long)(SWIG_As_long(obj1
));
24613 if (SWIG_arg_fail(2)) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_From_long((long)(result
));
24631 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 PyObject
* obj2
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self",(char *) "item",(char *) "data", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24646 if (SWIG_arg_fail(1)) SWIG_fail
;
24648 arg2
= (long)(SWIG_As_long(obj1
));
24649 if (SWIG_arg_fail(2)) SWIG_fail
;
24652 arg3
= (long)(SWIG_As_long(obj2
));
24653 if (SWIG_arg_fail(3)) SWIG_fail
;
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24671 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self",(char *) "item", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail
;
24686 arg2
= (long)(SWIG_As_long(obj1
));
24687 if (SWIG_arg_fail(2)) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24697 wxPoint
* resultptr
;
24698 resultptr
= new wxPoint((wxPoint
&)(result
));
24699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24707 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24711 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 PyObject
* obj2
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "self",(char *) "item",(char *) "code", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24722 if (SWIG_arg_fail(1)) SWIG_fail
;
24724 arg2
= (long)(SWIG_As_long(obj1
));
24725 if (SWIG_arg_fail(2)) SWIG_fail
;
24729 arg3
= (int)(SWIG_As_int(obj2
));
24730 if (SWIG_arg_fail(3)) SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24741 wxRect
* resultptr
;
24742 resultptr
= new wxRect((wxRect
&)(result
));
24743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24751 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24755 wxPoint
*arg3
= 0 ;
24758 PyObject
* obj0
= 0 ;
24759 PyObject
* obj1
= 0 ;
24760 PyObject
* obj2
= 0 ;
24761 char *kwnames
[] = {
24762 (char *) "self",(char *) "item",(char *) "pos", NULL
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail
;
24769 arg2
= (long)(SWIG_As_long(obj1
));
24770 if (SWIG_arg_fail(2)) SWIG_fail
;
24774 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24792 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24796 PyObject
* obj0
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24803 if (SWIG_arg_fail(1)) SWIG_fail
;
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= SWIG_From_int((int)(result
));
24820 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
;
24822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24824 PyObject
* obj0
= 0 ;
24825 char *kwnames
[] = {
24826 (char *) "self", NULL
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24831 if (SWIG_arg_fail(1)) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24840 resultobj
= SWIG_From_int((int)(result
));
24848 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24852 PyObject
* obj0
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24859 if (SWIG_arg_fail(1)) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24868 wxSize
* resultptr
;
24869 resultptr
= new wxSize((wxSize
&)(result
));
24870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24878 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
;
24880 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24882 bool arg3
= (bool) false ;
24883 PyObject
* obj0
= 0 ;
24884 PyObject
* obj1
= 0 ;
24885 PyObject
* obj2
= 0 ;
24886 char *kwnames
[] = {
24887 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24892 if (SWIG_arg_fail(1)) SWIG_fail
;
24894 arg2
= (int)(SWIG_As_int(obj1
));
24895 if (SWIG_arg_fail(2)) SWIG_fail
;
24899 arg3
= (bool)(SWIG_As_bool(obj2
));
24900 if (SWIG_arg_fail(3)) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 (arg1
)->SetItemSpacing(arg2
,arg3
);
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24910 Py_INCREF(Py_None
); resultobj
= Py_None
;
24917 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
;
24919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24921 PyObject
* obj0
= 0 ;
24922 char *kwnames
[] = {
24923 (char *) "self", NULL
24926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24928 if (SWIG_arg_fail(1)) SWIG_fail
;
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= SWIG_From_int((int)(result
));
24945 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24956 if (SWIG_arg_fail(1)) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 wxColour
* resultptr
;
24966 resultptr
= new wxColour((wxColour
&)(result
));
24967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24975 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24978 wxColour
*arg2
= 0 ;
24980 PyObject
* obj0
= 0 ;
24981 PyObject
* obj1
= 0 ;
24982 char *kwnames
[] = {
24983 (char *) "self",(char *) "col", NULL
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24988 if (SWIG_arg_fail(1)) SWIG_fail
;
24991 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
24997 wxPyEndAllowThreads(__tstate
);
24998 if (PyErr_Occurred()) SWIG_fail
;
25000 Py_INCREF(Py_None
); resultobj
= Py_None
;
25007 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25008 PyObject
*resultobj
;
25009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25011 PyObject
* obj0
= 0 ;
25012 char *kwnames
[] = {
25013 (char *) "self", NULL
25016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25018 if (SWIG_arg_fail(1)) SWIG_fail
;
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25027 resultobj
= SWIG_From_long((long)(result
));
25035 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25039 bool arg3
= (bool) true ;
25040 PyObject
* obj0
= 0 ;
25041 PyObject
* obj1
= 0 ;
25042 PyObject
* obj2
= 0 ;
25043 char *kwnames
[] = {
25044 (char *) "self",(char *) "style",(char *) "add", NULL
25047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25049 if (SWIG_arg_fail(1)) SWIG_fail
;
25051 arg2
= (long)(SWIG_As_long(obj1
));
25052 if (SWIG_arg_fail(2)) SWIG_fail
;
25056 arg3
= (bool)(SWIG_As_bool(obj2
));
25057 if (SWIG_arg_fail(3)) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 (arg1
)->SetSingleStyle(arg2
,arg3
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 Py_INCREF(Py_None
); resultobj
= Py_None
;
25074 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
;
25076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self",(char *) "style", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25086 if (SWIG_arg_fail(1)) SWIG_fail
;
25088 arg2
= (long)(SWIG_As_long(obj1
));
25089 if (SWIG_arg_fail(2)) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 (arg1
)->SetWindowStyleFlag(arg2
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 Py_INCREF(Py_None
); resultobj
= Py_None
;
25105 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25109 int arg3
= (int) wxLIST_NEXT_ALL
;
25110 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25112 PyObject
* obj0
= 0 ;
25113 PyObject
* obj1
= 0 ;
25114 PyObject
* obj2
= 0 ;
25115 PyObject
* obj3
= 0 ;
25116 char *kwnames
[] = {
25117 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25122 if (SWIG_arg_fail(1)) SWIG_fail
;
25124 arg2
= (long)(SWIG_As_long(obj1
));
25125 if (SWIG_arg_fail(2)) SWIG_fail
;
25129 arg3
= (int)(SWIG_As_int(obj2
));
25130 if (SWIG_arg_fail(3)) SWIG_fail
;
25135 arg4
= (int)(SWIG_As_int(obj3
));
25136 if (SWIG_arg_fail(4)) SWIG_fail
;
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= SWIG_From_long((long)(result
));
25155 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
;
25157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25159 wxImageList
*result
;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self",(char *) "which", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25168 if (SWIG_arg_fail(1)) SWIG_fail
;
25170 arg2
= (int)(SWIG_As_int(obj1
));
25171 if (SWIG_arg_fail(2)) SWIG_fail
;
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= wxPyMake_wxObject(result
, 0);
25189 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
;
25191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25192 wxImageList
*arg2
= (wxImageList
*) 0 ;
25194 PyObject
* obj0
= 0 ;
25195 PyObject
* obj1
= 0 ;
25196 PyObject
* obj2
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "self",(char *) "imageList",(char *) "which", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25203 if (SWIG_arg_fail(1)) SWIG_fail
;
25204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25205 if (SWIG_arg_fail(2)) SWIG_fail
;
25207 arg3
= (int)(SWIG_As_int(obj2
));
25208 if (SWIG_arg_fail(3)) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 (arg1
)->SetImageList(arg2
,arg3
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 Py_INCREF(Py_None
); resultobj
= Py_None
;
25224 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25227 wxImageList
*arg2
= (wxImageList
*) 0 ;
25229 PyObject
* obj0
= 0 ;
25230 PyObject
* obj1
= 0 ;
25231 PyObject
* obj2
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self",(char *) "imageList",(char *) "which", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25238 if (SWIG_arg_fail(1)) SWIG_fail
;
25239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25240 if (SWIG_arg_fail(2)) SWIG_fail
;
25242 arg3
= (int)(SWIG_As_int(obj2
));
25243 if (SWIG_arg_fail(3)) SWIG_fail
;
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 (arg1
)->AssignImageList(arg2
,arg3
);
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25252 Py_INCREF(Py_None
); resultobj
= Py_None
;
25259 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25260 PyObject
*resultobj
;
25261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25263 PyObject
* obj0
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "self", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25270 if (SWIG_arg_fail(1)) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25287 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
;
25289 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25291 PyObject
* obj0
= 0 ;
25292 char *kwnames
[] = {
25293 (char *) "self", NULL
25296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25298 if (SWIG_arg_fail(1)) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25315 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
;
25317 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25319 PyObject
* obj0
= 0 ;
25320 PyObject
* obj1
= 0 ;
25321 char *kwnames
[] = {
25322 (char *) "self",(char *) "item", NULL
25325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25327 if (SWIG_arg_fail(1)) SWIG_fail
;
25329 arg2
= (long)(SWIG_As_long(obj1
));
25330 if (SWIG_arg_fail(2)) SWIG_fail
;
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 (arg1
)->RefreshItem(arg2
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 Py_INCREF(Py_None
); resultobj
= Py_None
;
25346 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 PyObject
* obj1
= 0 ;
25353 PyObject
* obj2
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25360 if (SWIG_arg_fail(1)) SWIG_fail
;
25362 arg2
= (long)(SWIG_As_long(obj1
));
25363 if (SWIG_arg_fail(2)) SWIG_fail
;
25366 arg3
= (long)(SWIG_As_long(obj2
));
25367 if (SWIG_arg_fail(3)) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 (arg1
)->RefreshItems(arg2
,arg3
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 Py_INCREF(Py_None
); resultobj
= Py_None
;
25383 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25386 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 char *kwnames
[] = {
25391 (char *) "self",(char *) "flag", NULL
25394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25396 if (SWIG_arg_fail(1)) SWIG_fail
;
25399 arg2
= (int)(SWIG_As_int(obj1
));
25400 if (SWIG_arg_fail(2)) SWIG_fail
;
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 result
= (bool)(arg1
)->Arrange(arg2
);
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25419 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
;
25421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25424 PyObject
* obj0
= 0 ;
25425 PyObject
* obj1
= 0 ;
25426 char *kwnames
[] = {
25427 (char *) "self",(char *) "item", NULL
25430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25439 result
= (bool)(arg1
)->DeleteItem(arg2
);
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25453 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25454 PyObject
*resultobj
;
25455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25457 PyObject
* obj0
= 0 ;
25458 char *kwnames
[] = {
25459 (char *) "self", NULL
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25464 if (SWIG_arg_fail(1)) SWIG_fail
;
25466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 result
= (bool)(arg1
)->DeleteAllItems();
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25481 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
;
25483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 PyObject
* obj1
= 0 ;
25488 char *kwnames
[] = {
25489 (char *) "self",(char *) "col", NULL
25492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25494 if (SWIG_arg_fail(1)) SWIG_fail
;
25496 arg2
= (int)(SWIG_As_int(obj1
));
25497 if (SWIG_arg_fail(2)) SWIG_fail
;
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25515 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25519 PyObject
* obj0
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25526 if (SWIG_arg_fail(1)) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 result
= (bool)(arg1
)->DeleteAllColumns();
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25543 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25544 PyObject
*resultobj
;
25545 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25546 PyObject
* obj0
= 0 ;
25547 char *kwnames
[] = {
25548 (char *) "self", NULL
25551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25553 if (SWIG_arg_fail(1)) SWIG_fail
;
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 (arg1
)->ClearAll();
25558 wxPyEndAllowThreads(__tstate
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 Py_INCREF(Py_None
); resultobj
= Py_None
;
25568 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
;
25570 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25572 PyObject
* obj0
= 0 ;
25573 PyObject
* obj1
= 0 ;
25574 char *kwnames
[] = {
25575 (char *) "self",(char *) "item", NULL
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25580 if (SWIG_arg_fail(1)) SWIG_fail
;
25582 arg2
= (long)(SWIG_As_long(obj1
));
25583 if (SWIG_arg_fail(2)) SWIG_fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 (arg1
)->EditLabel(arg2
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 Py_INCREF(Py_None
); resultobj
= Py_None
;
25599 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25600 PyObject
*resultobj
;
25601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25604 PyObject
* obj0
= 0 ;
25605 PyObject
* obj1
= 0 ;
25606 char *kwnames
[] = {
25607 (char *) "self",(char *) "item", NULL
25610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25612 if (SWIG_arg_fail(1)) SWIG_fail
;
25614 arg2
= (long)(SWIG_As_long(obj1
));
25615 if (SWIG_arg_fail(2)) SWIG_fail
;
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25633 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
;
25635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25637 wxString
*arg3
= 0 ;
25638 bool arg4
= (bool) false ;
25640 bool temp3
= false ;
25641 PyObject
* obj0
= 0 ;
25642 PyObject
* obj1
= 0 ;
25643 PyObject
* obj2
= 0 ;
25644 PyObject
* obj3
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25651 if (SWIG_arg_fail(1)) SWIG_fail
;
25653 arg2
= (long)(SWIG_As_long(obj1
));
25654 if (SWIG_arg_fail(2)) SWIG_fail
;
25657 arg3
= wxString_in_helper(obj2
);
25658 if (arg3
== NULL
) SWIG_fail
;
25663 arg4
= (bool)(SWIG_As_bool(obj3
));
25664 if (SWIG_arg_fail(4)) SWIG_fail
;
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= SWIG_From_long((long)(result
));
25691 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25697 PyObject
* obj0
= 0 ;
25698 PyObject
* obj1
= 0 ;
25699 PyObject
* obj2
= 0 ;
25700 char *kwnames
[] = {
25701 (char *) "self",(char *) "start",(char *) "data", NULL
25704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25706 if (SWIG_arg_fail(1)) SWIG_fail
;
25708 arg2
= (long)(SWIG_As_long(obj1
));
25709 if (SWIG_arg_fail(2)) SWIG_fail
;
25712 arg3
= (long)(SWIG_As_long(obj2
));
25713 if (SWIG_arg_fail(3)) SWIG_fail
;
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_From_long((long)(result
));
25731 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25732 PyObject
*resultobj
;
25733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25735 wxPoint
*arg3
= 0 ;
25739 PyObject
* obj0
= 0 ;
25740 PyObject
* obj1
= 0 ;
25741 PyObject
* obj2
= 0 ;
25742 PyObject
* obj3
= 0 ;
25743 char *kwnames
[] = {
25744 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25749 if (SWIG_arg_fail(1)) SWIG_fail
;
25751 arg2
= (long)(SWIG_As_long(obj1
));
25752 if (SWIG_arg_fail(2)) SWIG_fail
;
25756 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25759 arg4
= (int)(SWIG_As_int(obj3
));
25760 if (SWIG_arg_fail(4)) SWIG_fail
;
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= SWIG_From_long((long)(result
));
25778 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
;
25780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25781 wxPoint
*arg2
= 0 ;
25787 PyObject
* obj0
= 0 ;
25788 PyObject
* obj1
= 0 ;
25789 char *kwnames
[] = {
25790 (char *) "self",(char *) "point", NULL
25793 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25796 if (SWIG_arg_fail(1)) SWIG_fail
;
25799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25809 resultobj
= SWIG_From_long((long)(result
));
25811 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25812 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25819 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25820 PyObject
*resultobj
;
25821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25822 wxListItem
*arg2
= 0 ;
25824 PyObject
* obj0
= 0 ;
25825 PyObject
* obj1
= 0 ;
25826 char *kwnames
[] = {
25827 (char *) "self",(char *) "info", NULL
25830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25832 if (SWIG_arg_fail(1)) SWIG_fail
;
25834 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25835 if (SWIG_arg_fail(2)) SWIG_fail
;
25836 if (arg2
== NULL
) {
25837 SWIG_null_ref("wxListItem");
25839 if (SWIG_arg_fail(2)) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= (long)(arg1
)->InsertItem(*arg2
);
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_From_long((long)(result
));
25857 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
;
25859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25861 wxString
*arg3
= 0 ;
25863 bool temp3
= false ;
25864 PyObject
* obj0
= 0 ;
25865 PyObject
* obj1
= 0 ;
25866 PyObject
* obj2
= 0 ;
25867 char *kwnames
[] = {
25868 (char *) "self",(char *) "index",(char *) "label", NULL
25871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25873 if (SWIG_arg_fail(1)) SWIG_fail
;
25875 arg2
= (long)(SWIG_As_long(obj1
));
25876 if (SWIG_arg_fail(2)) SWIG_fail
;
25879 arg3
= wxString_in_helper(obj2
);
25880 if (arg3
== NULL
) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25891 resultobj
= SWIG_From_long((long)(result
));
25907 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
;
25909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25913 PyObject
* obj0
= 0 ;
25914 PyObject
* obj1
= 0 ;
25915 PyObject
* obj2
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25922 if (SWIG_arg_fail(1)) SWIG_fail
;
25924 arg2
= (long)(SWIG_As_long(obj1
));
25925 if (SWIG_arg_fail(2)) SWIG_fail
;
25928 arg3
= (int)(SWIG_As_int(obj2
));
25929 if (SWIG_arg_fail(3)) SWIG_fail
;
25932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25933 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25935 wxPyEndAllowThreads(__tstate
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25939 resultobj
= SWIG_From_long((long)(result
));
25947 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25948 PyObject
*resultobj
;
25949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25951 wxString
*arg3
= 0 ;
25954 bool temp3
= false ;
25955 PyObject
* obj0
= 0 ;
25956 PyObject
* obj1
= 0 ;
25957 PyObject
* obj2
= 0 ;
25958 PyObject
* obj3
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail
;
25967 arg2
= (long)(SWIG_As_long(obj1
));
25968 if (SWIG_arg_fail(2)) SWIG_fail
;
25971 arg3
= wxString_in_helper(obj2
);
25972 if (arg3
== NULL
) SWIG_fail
;
25976 arg4
= (int)(SWIG_As_int(obj3
));
25977 if (SWIG_arg_fail(4)) SWIG_fail
;
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25987 resultobj
= SWIG_From_long((long)(result
));
26003 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26007 wxListItem
*arg3
= 0 ;
26009 PyObject
* obj0
= 0 ;
26010 PyObject
* obj1
= 0 ;
26011 PyObject
* obj2
= 0 ;
26012 char *kwnames
[] = {
26013 (char *) "self",(char *) "col",(char *) "info", NULL
26016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26018 if (SWIG_arg_fail(1)) SWIG_fail
;
26020 arg2
= (long)(SWIG_As_long(obj1
));
26021 if (SWIG_arg_fail(2)) SWIG_fail
;
26024 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26025 if (SWIG_arg_fail(3)) SWIG_fail
;
26026 if (arg3
== NULL
) {
26027 SWIG_null_ref("wxListItem");
26029 if (SWIG_arg_fail(3)) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= SWIG_From_long((long)(result
));
26047 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26048 PyObject
*resultobj
;
26049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26051 wxString
*arg3
= 0 ;
26052 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26053 int arg5
= (int) -1 ;
26055 bool temp3
= false ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 PyObject
* obj2
= 0 ;
26059 PyObject
* obj3
= 0 ;
26060 PyObject
* obj4
= 0 ;
26061 char *kwnames
[] = {
26062 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26067 if (SWIG_arg_fail(1)) SWIG_fail
;
26069 arg2
= (long)(SWIG_As_long(obj1
));
26070 if (SWIG_arg_fail(2)) SWIG_fail
;
26073 arg3
= wxString_in_helper(obj2
);
26074 if (arg3
== NULL
) SWIG_fail
;
26079 arg4
= (int)(SWIG_As_int(obj3
));
26080 if (SWIG_arg_fail(4)) SWIG_fail
;
26085 arg5
= (int)(SWIG_As_int(obj4
));
26086 if (SWIG_arg_fail(5)) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_From_long((long)(result
));
26113 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26117 PyObject
* obj0
= 0 ;
26118 PyObject
* obj1
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "self",(char *) "count", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26125 if (SWIG_arg_fail(1)) SWIG_fail
;
26127 arg2
= (long)(SWIG_As_long(obj1
));
26128 if (SWIG_arg_fail(2)) SWIG_fail
;
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 (arg1
)->SetItemCount(arg2
);
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 Py_INCREF(Py_None
); resultobj
= Py_None
;
26144 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj1
= 0 ;
26152 PyObject
* obj2
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "dx",(char *) "dy", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26159 if (SWIG_arg_fail(1)) SWIG_fail
;
26161 arg2
= (int)(SWIG_As_int(obj1
));
26162 if (SWIG_arg_fail(2)) SWIG_fail
;
26165 arg3
= (int)(SWIG_As_int(obj2
));
26166 if (SWIG_arg_fail(3)) SWIG_fail
;
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26184 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26188 wxColour
*arg3
= 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 PyObject
* obj2
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "item",(char *) "col", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail
;
26201 arg2
= (long)(SWIG_As_long(obj1
));
26202 if (SWIG_arg_fail(2)) SWIG_fail
;
26206 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 Py_INCREF(Py_None
); resultobj
= Py_None
;
26222 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "item", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail
;
26237 arg2
= (long)(SWIG_As_long(obj1
));
26238 if (SWIG_arg_fail(2)) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26248 wxColour
* resultptr
;
26249 resultptr
= new wxColour((wxColour
&)(result
));
26250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26258 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
;
26260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26262 wxColour
*arg3
= 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 PyObject
* obj2
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self",(char *) "item",(char *) "col", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26273 if (SWIG_arg_fail(1)) SWIG_fail
;
26275 arg2
= (long)(SWIG_As_long(obj1
));
26276 if (SWIG_arg_fail(2)) SWIG_fail
;
26280 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 Py_INCREF(Py_None
); resultobj
= Py_None
;
26296 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
;
26298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self",(char *) "item", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26309 if (SWIG_arg_fail(1)) SWIG_fail
;
26311 arg2
= (long)(SWIG_As_long(obj1
));
26312 if (SWIG_arg_fail(2)) SWIG_fail
;
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26322 wxColour
* resultptr
;
26323 resultptr
= new wxColour((wxColour
&)(result
));
26324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26332 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
;
26334 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26335 PyObject
*arg2
= (PyObject
*) 0 ;
26337 PyObject
* obj0
= 0 ;
26338 PyObject
* obj1
= 0 ;
26339 char *kwnames
[] = {
26340 (char *) "self",(char *) "func", NULL
26343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26345 if (SWIG_arg_fail(1)) SWIG_fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26363 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
;
26365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26367 PyObject
* obj0
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26374 if (SWIG_arg_fail(1)) SWIG_fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= wxPyMake_wxObject(result
, 0);
26391 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26394 wxVisualAttributes result
;
26395 PyObject
* obj0
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "variant", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26403 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26404 if (SWIG_arg_fail(1)) SWIG_fail
;
26408 if (!wxPyCheckForApp()) SWIG_fail
;
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 wxVisualAttributes
* resultptr
;
26417 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26426 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26429 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26431 return Py_BuildValue((char *)"");
26433 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
;
26435 wxWindow
*arg1
= (wxWindow
*) 0 ;
26436 int arg2
= (int) -1 ;
26437 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26438 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26439 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26440 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26441 long arg5
= (long) wxLC_REPORT
;
26442 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26443 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26444 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26445 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26446 wxListView
*result
;
26449 bool temp7
= false ;
26450 PyObject
* obj0
= 0 ;
26451 PyObject
* obj1
= 0 ;
26452 PyObject
* obj2
= 0 ;
26453 PyObject
* obj3
= 0 ;
26454 PyObject
* obj4
= 0 ;
26455 PyObject
* obj5
= 0 ;
26456 PyObject
* obj6
= 0 ;
26457 char *kwnames
[] = {
26458 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26463 if (SWIG_arg_fail(1)) SWIG_fail
;
26466 arg2
= (int)(SWIG_As_int(obj1
));
26467 if (SWIG_arg_fail(2)) SWIG_fail
;
26473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26479 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26484 arg5
= (long)(SWIG_As_long(obj4
));
26485 if (SWIG_arg_fail(5)) SWIG_fail
;
26490 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26491 if (SWIG_arg_fail(6)) SWIG_fail
;
26492 if (arg6
== NULL
) {
26493 SWIG_null_ref("wxValidator");
26495 if (SWIG_arg_fail(6)) SWIG_fail
;
26500 arg7
= wxString_in_helper(obj6
);
26501 if (arg7
== NULL
) SWIG_fail
;
26506 if (!wxPyCheckForApp()) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26528 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxListView
*result
;
26531 char *kwnames
[] = {
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26537 if (!wxPyCheckForApp()) SWIG_fail
;
26538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26539 result
= (wxListView
*)new wxListView();
26541 wxPyEndAllowThreads(__tstate
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26551 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26552 PyObject
*resultobj
;
26553 wxListView
*arg1
= (wxListView
*) 0 ;
26554 wxWindow
*arg2
= (wxWindow
*) 0 ;
26555 int arg3
= (int) -1 ;
26556 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26557 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26558 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26559 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26560 long arg6
= (long) wxLC_REPORT
;
26561 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26562 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26563 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26564 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26568 bool temp8
= false ;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 PyObject
* obj2
= 0 ;
26572 PyObject
* obj3
= 0 ;
26573 PyObject
* obj4
= 0 ;
26574 PyObject
* obj5
= 0 ;
26575 PyObject
* obj6
= 0 ;
26576 PyObject
* obj7
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26583 if (SWIG_arg_fail(1)) SWIG_fail
;
26584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26585 if (SWIG_arg_fail(2)) SWIG_fail
;
26588 arg3
= (int)(SWIG_As_int(obj2
));
26589 if (SWIG_arg_fail(3)) SWIG_fail
;
26595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26606 arg6
= (long)(SWIG_As_long(obj5
));
26607 if (SWIG_arg_fail(6)) SWIG_fail
;
26612 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26613 if (SWIG_arg_fail(7)) SWIG_fail
;
26614 if (arg7
== NULL
) {
26615 SWIG_null_ref("wxValidator");
26617 if (SWIG_arg_fail(7)) SWIG_fail
;
26622 arg8
= wxString_in_helper(obj7
);
26623 if (arg8
== NULL
) SWIG_fail
;
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26651 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
;
26653 wxListView
*arg1
= (wxListView
*) 0 ;
26655 bool arg3
= (bool) true ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 PyObject
* obj2
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "n",(char *) "on", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26665 if (SWIG_arg_fail(1)) SWIG_fail
;
26667 arg2
= (long)(SWIG_As_long(obj1
));
26668 if (SWIG_arg_fail(2)) SWIG_fail
;
26672 arg3
= (bool)(SWIG_As_bool(obj2
));
26673 if (SWIG_arg_fail(3)) SWIG_fail
;
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26678 (arg1
)->Select(arg2
,arg3
);
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 Py_INCREF(Py_None
); resultobj
= Py_None
;
26690 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
;
26692 wxListView
*arg1
= (wxListView
*) 0 ;
26694 PyObject
* obj0
= 0 ;
26695 PyObject
* obj1
= 0 ;
26696 char *kwnames
[] = {
26697 (char *) "self",(char *) "index", NULL
26700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26702 if (SWIG_arg_fail(1)) SWIG_fail
;
26704 arg2
= (long)(SWIG_As_long(obj1
));
26705 if (SWIG_arg_fail(2)) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 (arg1
)->Focus(arg2
);
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 Py_INCREF(Py_None
); resultobj
= Py_None
;
26721 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxListView
*arg1
= (wxListView
*) 0 ;
26725 PyObject
* obj0
= 0 ;
26726 char *kwnames
[] = {
26727 (char *) "self", NULL
26730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26732 if (SWIG_arg_fail(1)) SWIG_fail
;
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= SWIG_From_long((long)(result
));
26749 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
;
26751 wxListView
*arg1
= (wxListView
*) 0 ;
26754 PyObject
* obj0
= 0 ;
26755 PyObject
* obj1
= 0 ;
26756 char *kwnames
[] = {
26757 (char *) "self",(char *) "item", NULL
26760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26762 if (SWIG_arg_fail(1)) SWIG_fail
;
26764 arg2
= (long)(SWIG_As_long(obj1
));
26765 if (SWIG_arg_fail(2)) SWIG_fail
;
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26771 wxPyEndAllowThreads(__tstate
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26775 resultobj
= SWIG_From_long((long)(result
));
26783 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26784 PyObject
*resultobj
;
26785 wxListView
*arg1
= (wxListView
*) 0 ;
26787 PyObject
* obj0
= 0 ;
26788 char *kwnames
[] = {
26789 (char *) "self", NULL
26792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26794 if (SWIG_arg_fail(1)) SWIG_fail
;
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_From_long((long)(result
));
26811 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26812 PyObject
*resultobj
;
26813 wxListView
*arg1
= (wxListView
*) 0 ;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 char *kwnames
[] = {
26819 (char *) "self",(char *) "index", NULL
26822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26824 if (SWIG_arg_fail(1)) SWIG_fail
;
26826 arg2
= (long)(SWIG_As_long(obj1
));
26827 if (SWIG_arg_fail(2)) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (bool)(arg1
)->IsSelected(arg2
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26845 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxListView
*arg1
= (wxListView
*) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 PyObject
* obj2
= 0 ;
26853 char *kwnames
[] = {
26854 (char *) "self",(char *) "col",(char *) "image", NULL
26857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26859 if (SWIG_arg_fail(1)) SWIG_fail
;
26861 arg2
= (int)(SWIG_As_int(obj1
));
26862 if (SWIG_arg_fail(2)) SWIG_fail
;
26865 arg3
= (int)(SWIG_As_int(obj2
));
26866 if (SWIG_arg_fail(3)) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 (arg1
)->SetColumnImage(arg2
,arg3
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26875 Py_INCREF(Py_None
); resultobj
= Py_None
;
26882 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
;
26884 wxListView
*arg1
= (wxListView
*) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 PyObject
* obj1
= 0 ;
26888 char *kwnames
[] = {
26889 (char *) "self",(char *) "col", NULL
26892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26894 if (SWIG_arg_fail(1)) SWIG_fail
;
26896 arg2
= (int)(SWIG_As_int(obj1
));
26897 if (SWIG_arg_fail(2)) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 (arg1
)->ClearColumnImage(arg2
);
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 Py_INCREF(Py_None
); resultobj
= Py_None
;
26913 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26916 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26918 return Py_BuildValue((char *)"");
26920 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26921 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26926 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26931 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26933 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26940 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxTreeItemId
*result
;
26943 char *kwnames
[] = {
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
26949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26950 result
= (wxTreeItemId
*)new wxTreeItemId();
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
26962 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
;
26964 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26965 PyObject
* obj0
= 0 ;
26966 char *kwnames
[] = {
26967 (char *) "self", NULL
26970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
26971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26972 if (SWIG_arg_fail(1)) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26980 Py_INCREF(Py_None
); resultobj
= Py_None
;
26987 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
26997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
26998 if (SWIG_arg_fail(1)) SWIG_fail
;
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27015 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
;
27017 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27018 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 char *kwnames
[] = {
27023 (char *) "self",(char *) "other", NULL
27026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27028 if (SWIG_arg_fail(1)) SWIG_fail
;
27029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27030 if (SWIG_arg_fail(2)) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27047 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27048 PyObject
*resultobj
;
27049 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27050 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27052 PyObject
* obj0
= 0 ;
27053 PyObject
* obj1
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self",(char *) "other", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27060 if (SWIG_arg_fail(1)) SWIG_fail
;
27061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27062 if (SWIG_arg_fail(2)) SWIG_fail
;
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27079 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27080 PyObject
*resultobj
;
27081 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27082 void *arg2
= (void *) 0 ;
27083 PyObject
* obj0
= 0 ;
27084 PyObject
* obj1
= 0 ;
27085 char *kwnames
[] = {
27086 (char *) "self",(char *) "m_pItem", NULL
27089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27091 if (SWIG_arg_fail(1)) SWIG_fail
;
27093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27094 SWIG_arg_fail(2);SWIG_fail
;
27097 if (arg1
) (arg1
)->m_pItem
= arg2
;
27099 Py_INCREF(Py_None
); resultobj
= Py_None
;
27106 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
;
27108 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27110 PyObject
* obj0
= 0 ;
27111 char *kwnames
[] = {
27112 (char *) "self", NULL
27115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27117 if (SWIG_arg_fail(1)) SWIG_fail
;
27118 result
= (void *) ((arg1
)->m_pItem
);
27120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27127 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27130 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27132 return Py_BuildValue((char *)"");
27134 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27135 PyObject
*resultobj
;
27136 PyObject
*arg1
= (PyObject
*) NULL
;
27137 wxPyTreeItemData
*result
;
27138 PyObject
* obj0
= 0 ;
27139 char *kwnames
[] = {
27140 (char *) "obj", NULL
27143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27161 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
;
27163 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27165 PyObject
* obj0
= 0 ;
27166 char *kwnames
[] = {
27167 (char *) "self", NULL
27170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27172 if (SWIG_arg_fail(1)) SWIG_fail
;
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 result
= (PyObject
*)(arg1
)->GetData();
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= result
;
27187 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27188 PyObject
*resultobj
;
27189 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27190 PyObject
*arg2
= (PyObject
*) 0 ;
27191 PyObject
* obj0
= 0 ;
27192 PyObject
* obj1
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "obj", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27199 if (SWIG_arg_fail(1)) SWIG_fail
;
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 (arg1
)->SetData(arg2
);
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 Py_INCREF(Py_None
); resultobj
= Py_None
;
27215 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27218 wxTreeItemId
*result
;
27219 PyObject
* obj0
= 0 ;
27220 char *kwnames
[] = {
27221 (char *) "self", NULL
27224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27226 if (SWIG_arg_fail(1)) SWIG_fail
;
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27231 result
= (wxTreeItemId
*) &_result_ref
;
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27244 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
;
27246 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27247 wxTreeItemId
*arg2
= 0 ;
27248 PyObject
* obj0
= 0 ;
27249 PyObject
* obj1
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self",(char *) "id", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27256 if (SWIG_arg_fail(1)) SWIG_fail
;
27258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27259 if (SWIG_arg_fail(2)) SWIG_fail
;
27260 if (arg2
== NULL
) {
27261 SWIG_null_ref("wxTreeItemId");
27263 if (SWIG_arg_fail(2)) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 Py_INCREF(Py_None
); resultobj
= Py_None
;
27279 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27282 PyObject
* obj0
= 0 ;
27283 char *kwnames
[] = {
27284 (char *) "self", NULL
27287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27289 if (SWIG_arg_fail(1)) SWIG_fail
;
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 wxPyTreeItemData_Destroy(arg1
);
27294 wxPyEndAllowThreads(__tstate
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27297 Py_INCREF(Py_None
); resultobj
= Py_None
;
27304 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27307 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27309 return Py_BuildValue((char *)"");
27311 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27312 PyObject
*resultobj
;
27313 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27314 int arg2
= (int) 0 ;
27315 wxTreeEvent
*result
;
27316 PyObject
* obj0
= 0 ;
27317 PyObject
* obj1
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "commandType",(char *) "id", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27325 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27326 if (SWIG_arg_fail(1)) SWIG_fail
;
27331 arg2
= (int)(SWIG_As_int(obj1
));
27332 if (SWIG_arg_fail(2)) SWIG_fail
;
27336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27337 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27349 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
;
27351 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27352 wxTreeItemId result
;
27353 PyObject
* obj0
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27360 if (SWIG_arg_fail(1)) SWIG_fail
;
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27365 wxPyEndAllowThreads(__tstate
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27369 wxTreeItemId
* resultptr
;
27370 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27379 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27382 wxTreeItemId
*arg2
= 0 ;
27383 PyObject
* obj0
= 0 ;
27384 PyObject
* obj1
= 0 ;
27385 char *kwnames
[] = {
27386 (char *) "self",(char *) "item", NULL
27389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27391 if (SWIG_arg_fail(1)) SWIG_fail
;
27393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27394 if (SWIG_arg_fail(2)) SWIG_fail
;
27395 if (arg2
== NULL
) {
27396 SWIG_null_ref("wxTreeItemId");
27398 if (SWIG_arg_fail(2)) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 Py_INCREF(Py_None
); resultobj
= Py_None
;
27414 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
;
27416 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27417 wxTreeItemId result
;
27418 PyObject
* obj0
= 0 ;
27419 char *kwnames
[] = {
27420 (char *) "self", NULL
27423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27425 if (SWIG_arg_fail(1)) SWIG_fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27434 wxTreeItemId
* resultptr
;
27435 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27444 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
;
27446 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27447 wxTreeItemId
*arg2
= 0 ;
27448 PyObject
* obj0
= 0 ;
27449 PyObject
* obj1
= 0 ;
27450 char *kwnames
[] = {
27451 (char *) "self",(char *) "item", NULL
27454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27456 if (SWIG_arg_fail(1)) SWIG_fail
;
27458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27459 if (SWIG_arg_fail(2)) SWIG_fail
;
27460 if (arg2
== NULL
) {
27461 SWIG_null_ref("wxTreeItemId");
27463 if (SWIG_arg_fail(2)) SWIG_fail
;
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27472 Py_INCREF(Py_None
); resultobj
= Py_None
;
27479 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27480 PyObject
*resultobj
;
27481 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27483 PyObject
* obj0
= 0 ;
27484 char *kwnames
[] = {
27485 (char *) "self", NULL
27488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27490 if (SWIG_arg_fail(1)) SWIG_fail
;
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27499 wxPoint
* resultptr
;
27500 resultptr
= new wxPoint((wxPoint
&)(result
));
27501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27509 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27510 PyObject
*resultobj
;
27511 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27512 wxPoint
*arg2
= 0 ;
27514 PyObject
* obj0
= 0 ;
27515 PyObject
* obj1
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self",(char *) "pt", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27522 if (SWIG_arg_fail(1)) SWIG_fail
;
27525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27529 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27534 Py_INCREF(Py_None
); resultobj
= Py_None
;
27541 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27544 wxKeyEvent
*result
;
27545 PyObject
* obj0
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27552 if (SWIG_arg_fail(1)) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27557 result
= (wxKeyEvent
*) &_result_ref
;
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27570 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 char *kwnames
[] = {
27576 (char *) "self", NULL
27579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27581 if (SWIG_arg_fail(1)) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27590 resultobj
= SWIG_From_int((int)(result
));
27598 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27601 wxKeyEvent
*arg2
= 0 ;
27602 PyObject
* obj0
= 0 ;
27603 PyObject
* obj1
= 0 ;
27604 char *kwnames
[] = {
27605 (char *) "self",(char *) "evt", NULL
27608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27610 if (SWIG_arg_fail(1)) SWIG_fail
;
27612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27613 if (SWIG_arg_fail(2)) SWIG_fail
;
27614 if (arg2
== NULL
) {
27615 SWIG_null_ref("wxKeyEvent");
27617 if (SWIG_arg_fail(2)) SWIG_fail
;
27620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27626 Py_INCREF(Py_None
); resultobj
= Py_None
;
27633 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27634 PyObject
*resultobj
;
27635 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27637 PyObject
* obj0
= 0 ;
27638 char *kwnames
[] = {
27639 (char *) "self", NULL
27642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27644 if (SWIG_arg_fail(1)) SWIG_fail
;
27646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27649 result
= (wxString
*) &_result_ref
;
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27659 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27668 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27669 PyObject
*resultobj
;
27670 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27671 wxString
*arg2
= 0 ;
27672 bool temp2
= false ;
27673 PyObject
* obj0
= 0 ;
27674 PyObject
* obj1
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self",(char *) "label", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27681 if (SWIG_arg_fail(1)) SWIG_fail
;
27683 arg2
= wxString_in_helper(obj1
);
27684 if (arg2
== NULL
) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 (arg1
)->SetLabel((wxString
const &)*arg2
);
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 Py_INCREF(Py_None
); resultobj
= Py_None
;
27709 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
;
27711 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27713 PyObject
* obj0
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27720 if (SWIG_arg_fail(1)) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27737 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
;
27739 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27741 PyObject
* obj0
= 0 ;
27742 PyObject
* obj1
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "self",(char *) "editCancelled", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27749 if (SWIG_arg_fail(1)) SWIG_fail
;
27751 arg2
= (bool)(SWIG_As_bool(obj1
));
27752 if (SWIG_arg_fail(2)) SWIG_fail
;
27755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27756 (arg1
)->SetEditCanceled(arg2
);
27758 wxPyEndAllowThreads(__tstate
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27761 Py_INCREF(Py_None
); resultobj
= Py_None
;
27768 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27769 PyObject
*resultobj
;
27770 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27771 wxString
*arg2
= 0 ;
27772 bool temp2
= false ;
27773 PyObject
* obj0
= 0 ;
27774 PyObject
* obj1
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "self",(char *) "toolTip", NULL
27779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27781 if (SWIG_arg_fail(1)) SWIG_fail
;
27783 arg2
= wxString_in_helper(obj1
);
27784 if (arg2
== NULL
) SWIG_fail
;
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 Py_INCREF(Py_None
); resultobj
= Py_None
;
27809 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27813 PyObject
* obj0
= 0 ;
27814 char *kwnames
[] = {
27815 (char *) "self", NULL
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27820 if (SWIG_arg_fail(1)) SWIG_fail
;
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (arg1
)->GetToolTip();
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27841 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27844 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27846 return Py_BuildValue((char *)"");
27848 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27849 PyObject
*resultobj
;
27850 wxWindow
*arg1
= (wxWindow
*) 0 ;
27851 int arg2
= (int) -1 ;
27852 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27853 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27854 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27855 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27856 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27857 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27858 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27859 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27860 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27861 wxPyTreeCtrl
*result
;
27864 bool temp7
= false ;
27865 PyObject
* obj0
= 0 ;
27866 PyObject
* obj1
= 0 ;
27867 PyObject
* obj2
= 0 ;
27868 PyObject
* obj3
= 0 ;
27869 PyObject
* obj4
= 0 ;
27870 PyObject
* obj5
= 0 ;
27871 PyObject
* obj6
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27878 if (SWIG_arg_fail(1)) SWIG_fail
;
27881 arg2
= (int)(SWIG_As_int(obj1
));
27882 if (SWIG_arg_fail(2)) SWIG_fail
;
27888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27894 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27899 arg5
= (long)(SWIG_As_long(obj4
));
27900 if (SWIG_arg_fail(5)) SWIG_fail
;
27905 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27906 if (SWIG_arg_fail(6)) SWIG_fail
;
27907 if (arg6
== NULL
) {
27908 SWIG_null_ref("wxValidator");
27910 if (SWIG_arg_fail(6)) SWIG_fail
;
27915 arg7
= wxString_in_helper(obj6
);
27916 if (arg7
== NULL
) SWIG_fail
;
27921 if (!wxPyCheckForApp()) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27943 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27944 PyObject
*resultobj
;
27945 wxPyTreeCtrl
*result
;
27946 char *kwnames
[] = {
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
27952 if (!wxPyCheckForApp()) SWIG_fail
;
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27954 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27966 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27967 PyObject
*resultobj
;
27968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27969 wxWindow
*arg2
= (wxWindow
*) 0 ;
27970 int arg3
= (int) -1 ;
27971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27975 long arg6
= (long) wxTR_DEFAULT_STYLE
;
27976 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
27977 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
27978 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
27979 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27983 bool temp8
= false ;
27984 PyObject
* obj0
= 0 ;
27985 PyObject
* obj1
= 0 ;
27986 PyObject
* obj2
= 0 ;
27987 PyObject
* obj3
= 0 ;
27988 PyObject
* obj4
= 0 ;
27989 PyObject
* obj5
= 0 ;
27990 PyObject
* obj6
= 0 ;
27991 PyObject
* obj7
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
27997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
27998 if (SWIG_arg_fail(1)) SWIG_fail
;
27999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28000 if (SWIG_arg_fail(2)) SWIG_fail
;
28003 arg3
= (int)(SWIG_As_int(obj2
));
28004 if (SWIG_arg_fail(3)) SWIG_fail
;
28010 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28016 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28021 arg6
= (long)(SWIG_As_long(obj5
));
28022 if (SWIG_arg_fail(6)) SWIG_fail
;
28027 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28028 if (SWIG_arg_fail(7)) SWIG_fail
;
28029 if (arg7
== NULL
) {
28030 SWIG_null_ref("wxValidator");
28032 if (SWIG_arg_fail(7)) SWIG_fail
;
28037 arg8
= wxString_in_helper(obj7
);
28038 if (arg8
== NULL
) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28066 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28067 PyObject
*resultobj
;
28068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28069 PyObject
*arg2
= (PyObject
*) 0 ;
28070 PyObject
*arg3
= (PyObject
*) 0 ;
28071 PyObject
* obj0
= 0 ;
28072 PyObject
* obj1
= 0 ;
28073 PyObject
* obj2
= 0 ;
28074 char *kwnames
[] = {
28075 (char *) "self",(char *) "self",(char *) "_class", NULL
28078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28080 if (SWIG_arg_fail(1)) SWIG_fail
;
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28090 Py_INCREF(Py_None
); resultobj
= Py_None
;
28097 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28098 PyObject
*resultobj
;
28099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28101 PyObject
* obj0
= 0 ;
28102 char *kwnames
[] = {
28103 (char *) "self", NULL
28106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28108 if (SWIG_arg_fail(1)) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28117 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28125 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28128 unsigned int result
;
28129 PyObject
* obj0
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28136 if (SWIG_arg_fail(1)) SWIG_fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28145 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28153 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
;
28155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28156 unsigned int arg2
;
28157 PyObject
* obj0
= 0 ;
28158 PyObject
* obj1
= 0 ;
28159 char *kwnames
[] = {
28160 (char *) "self",(char *) "indent", NULL
28163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28165 if (SWIG_arg_fail(1)) SWIG_fail
;
28167 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28168 if (SWIG_arg_fail(2)) SWIG_fail
;
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 (arg1
)->SetIndent(arg2
);
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 Py_INCREF(Py_None
); resultobj
= Py_None
;
28184 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28185 PyObject
*resultobj
;
28186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28187 unsigned int result
;
28188 PyObject
* obj0
= 0 ;
28189 char *kwnames
[] = {
28190 (char *) "self", NULL
28193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28195 if (SWIG_arg_fail(1)) SWIG_fail
;
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28212 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28215 unsigned int arg2
;
28216 PyObject
* obj0
= 0 ;
28217 PyObject
* obj1
= 0 ;
28218 char *kwnames
[] = {
28219 (char *) "self",(char *) "spacing", NULL
28222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28224 if (SWIG_arg_fail(1)) SWIG_fail
;
28226 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28227 if (SWIG_arg_fail(2)) SWIG_fail
;
28230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28231 (arg1
)->SetSpacing(arg2
);
28233 wxPyEndAllowThreads(__tstate
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28236 Py_INCREF(Py_None
); resultobj
= Py_None
;
28243 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28244 PyObject
*resultobj
;
28245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28246 wxImageList
*result
;
28247 PyObject
* obj0
= 0 ;
28248 char *kwnames
[] = {
28249 (char *) "self", NULL
28252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28254 if (SWIG_arg_fail(1)) SWIG_fail
;
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28263 resultobj
= wxPyMake_wxObject(result
, 0);
28271 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
;
28273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28274 wxImageList
*result
;
28275 PyObject
* obj0
= 0 ;
28276 char *kwnames
[] = {
28277 (char *) "self", NULL
28280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28282 if (SWIG_arg_fail(1)) SWIG_fail
;
28284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28285 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28287 wxPyEndAllowThreads(__tstate
);
28288 if (PyErr_Occurred()) SWIG_fail
;
28291 resultobj
= wxPyMake_wxObject(result
, 0);
28299 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28300 PyObject
*resultobj
;
28301 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28302 wxImageList
*arg2
= (wxImageList
*) 0 ;
28303 PyObject
* obj0
= 0 ;
28304 PyObject
* obj1
= 0 ;
28305 char *kwnames
[] = {
28306 (char *) "self",(char *) "imageList", NULL
28309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28311 if (SWIG_arg_fail(1)) SWIG_fail
;
28312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28313 if (SWIG_arg_fail(2)) SWIG_fail
;
28315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28316 (arg1
)->SetImageList(arg2
);
28318 wxPyEndAllowThreads(__tstate
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28321 Py_INCREF(Py_None
); resultobj
= Py_None
;
28328 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28329 PyObject
*resultobj
;
28330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28331 wxImageList
*arg2
= (wxImageList
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 char *kwnames
[] = {
28335 (char *) "self",(char *) "imageList", NULL
28338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28340 if (SWIG_arg_fail(1)) SWIG_fail
;
28341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28342 if (SWIG_arg_fail(2)) SWIG_fail
;
28344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28345 (arg1
)->SetStateImageList(arg2
);
28347 wxPyEndAllowThreads(__tstate
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28350 Py_INCREF(Py_None
); resultobj
= Py_None
;
28357 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28360 wxImageList
*arg2
= (wxImageList
*) 0 ;
28361 PyObject
* obj0
= 0 ;
28362 PyObject
* obj1
= 0 ;
28363 char *kwnames
[] = {
28364 (char *) "self",(char *) "imageList", NULL
28367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28369 if (SWIG_arg_fail(1)) SWIG_fail
;
28370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28371 if (SWIG_arg_fail(2)) SWIG_fail
;
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 (arg1
)->AssignImageList(arg2
);
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28379 Py_INCREF(Py_None
); resultobj
= Py_None
;
28386 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
;
28388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28389 wxImageList
*arg2
= (wxImageList
*) 0 ;
28390 PyObject
* obj0
= 0 ;
28391 PyObject
* obj1
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "self",(char *) "imageList", NULL
28396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28398 if (SWIG_arg_fail(1)) SWIG_fail
;
28399 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28400 if (SWIG_arg_fail(2)) SWIG_fail
;
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 (arg1
)->AssignStateImageList(arg2
);
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 Py_INCREF(Py_None
); resultobj
= Py_None
;
28415 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
;
28417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28418 wxTreeItemId
*arg2
= 0 ;
28420 PyObject
* obj0
= 0 ;
28421 PyObject
* obj1
= 0 ;
28422 char *kwnames
[] = {
28423 (char *) "self",(char *) "item", NULL
28426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28428 if (SWIG_arg_fail(1)) SWIG_fail
;
28430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28431 if (SWIG_arg_fail(2)) SWIG_fail
;
28432 if (arg2
== NULL
) {
28433 SWIG_null_ref("wxTreeItemId");
28435 if (SWIG_arg_fail(2)) SWIG_fail
;
28438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28439 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28441 wxPyEndAllowThreads(__tstate
);
28442 if (PyErr_Occurred()) SWIG_fail
;
28446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28457 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
;
28459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28460 wxTreeItemId
*arg2
= 0 ;
28461 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28463 PyObject
* obj0
= 0 ;
28464 PyObject
* obj1
= 0 ;
28465 PyObject
* obj2
= 0 ;
28466 char *kwnames
[] = {
28467 (char *) "self",(char *) "item",(char *) "which", NULL
28470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28472 if (SWIG_arg_fail(1)) SWIG_fail
;
28474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28475 if (SWIG_arg_fail(2)) SWIG_fail
;
28476 if (arg2
== NULL
) {
28477 SWIG_null_ref("wxTreeItemId");
28479 if (SWIG_arg_fail(2)) SWIG_fail
;
28483 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28484 if (SWIG_arg_fail(3)) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= SWIG_From_int((int)(result
));
28503 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
;
28505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28506 wxTreeItemId
*arg2
= 0 ;
28507 wxPyTreeItemData
*result
;
28508 PyObject
* obj0
= 0 ;
28509 PyObject
* obj1
= 0 ;
28510 char *kwnames
[] = {
28511 (char *) "self",(char *) "item", NULL
28514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28516 if (SWIG_arg_fail(1)) SWIG_fail
;
28518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28519 if (SWIG_arg_fail(2)) SWIG_fail
;
28520 if (arg2
== NULL
) {
28521 SWIG_null_ref("wxTreeItemId");
28523 if (SWIG_arg_fail(2)) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28539 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28542 wxTreeItemId
*arg2
= 0 ;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "self",(char *) "item", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28552 if (SWIG_arg_fail(1)) SWIG_fail
;
28554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28555 if (SWIG_arg_fail(2)) SWIG_fail
;
28556 if (arg2
== NULL
) {
28557 SWIG_null_ref("wxTreeItemId");
28559 if (SWIG_arg_fail(2)) SWIG_fail
;
28562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28563 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28565 wxPyEndAllowThreads(__tstate
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28568 resultobj
= result
;
28575 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28576 PyObject
*resultobj
;
28577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28578 wxTreeItemId
*arg2
= 0 ;
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_GetItemTextColour",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
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28605 wxColour
* resultptr
;
28606 resultptr
= new wxColour((wxColour
&)(result
));
28607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28615 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
;
28617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28618 wxTreeItemId
*arg2
= 0 ;
28620 PyObject
* obj0
= 0 ;
28621 PyObject
* obj1
= 0 ;
28622 char *kwnames
[] = {
28623 (char *) "self",(char *) "item", NULL
28626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28628 if (SWIG_arg_fail(1)) SWIG_fail
;
28630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28631 if (SWIG_arg_fail(2)) SWIG_fail
;
28632 if (arg2
== NULL
) {
28633 SWIG_null_ref("wxTreeItemId");
28635 if (SWIG_arg_fail(2)) SWIG_fail
;
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28641 wxPyEndAllowThreads(__tstate
);
28642 if (PyErr_Occurred()) SWIG_fail
;
28645 wxColour
* resultptr
;
28646 resultptr
= new wxColour((wxColour
&)(result
));
28647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28655 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
;
28657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28658 wxTreeItemId
*arg2
= 0 ;
28660 PyObject
* obj0
= 0 ;
28661 PyObject
* obj1
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self",(char *) "item", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28668 if (SWIG_arg_fail(1)) SWIG_fail
;
28670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28671 if (SWIG_arg_fail(2)) SWIG_fail
;
28672 if (arg2
== NULL
) {
28673 SWIG_null_ref("wxTreeItemId");
28675 if (SWIG_arg_fail(2)) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28685 wxFont
* resultptr
;
28686 resultptr
= new wxFont((wxFont
&)(result
));
28687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28695 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28696 PyObject
*resultobj
;
28697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28698 wxTreeItemId
*arg2
= 0 ;
28699 wxString
*arg3
= 0 ;
28700 bool temp3
= false ;
28701 PyObject
* obj0
= 0 ;
28702 PyObject
* obj1
= 0 ;
28703 PyObject
* obj2
= 0 ;
28704 char *kwnames
[] = {
28705 (char *) "self",(char *) "item",(char *) "text", NULL
28708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28710 if (SWIG_arg_fail(1)) SWIG_fail
;
28712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28713 if (SWIG_arg_fail(2)) SWIG_fail
;
28714 if (arg2
== NULL
) {
28715 SWIG_null_ref("wxTreeItemId");
28717 if (SWIG_arg_fail(2)) SWIG_fail
;
28720 arg3
= wxString_in_helper(obj2
);
28721 if (arg3
== NULL
) SWIG_fail
;
28725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28726 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 Py_INCREF(Py_None
); resultobj
= Py_None
;
28746 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
;
28748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28749 wxTreeItemId
*arg2
= 0 ;
28751 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28752 PyObject
* obj0
= 0 ;
28753 PyObject
* obj1
= 0 ;
28754 PyObject
* obj2
= 0 ;
28755 PyObject
* obj3
= 0 ;
28756 char *kwnames
[] = {
28757 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28762 if (SWIG_arg_fail(1)) SWIG_fail
;
28764 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28765 if (SWIG_arg_fail(2)) SWIG_fail
;
28766 if (arg2
== NULL
) {
28767 SWIG_null_ref("wxTreeItemId");
28769 if (SWIG_arg_fail(2)) SWIG_fail
;
28772 arg3
= (int)(SWIG_As_int(obj2
));
28773 if (SWIG_arg_fail(3)) SWIG_fail
;
28777 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28778 if (SWIG_arg_fail(4)) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 Py_INCREF(Py_None
); resultobj
= Py_None
;
28795 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
;
28797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28798 wxTreeItemId
*arg2
= 0 ;
28799 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28800 PyObject
* obj0
= 0 ;
28801 PyObject
* obj1
= 0 ;
28802 PyObject
* obj2
= 0 ;
28803 char *kwnames
[] = {
28804 (char *) "self",(char *) "item",(char *) "data", NULL
28807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28809 if (SWIG_arg_fail(1)) SWIG_fail
;
28811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28812 if (SWIG_arg_fail(2)) SWIG_fail
;
28813 if (arg2
== NULL
) {
28814 SWIG_null_ref("wxTreeItemId");
28816 if (SWIG_arg_fail(2)) SWIG_fail
;
28818 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28819 if (SWIG_arg_fail(3)) SWIG_fail
;
28821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 Py_INCREF(Py_None
); resultobj
= Py_None
;
28834 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
;
28836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28837 wxTreeItemId
*arg2
= 0 ;
28838 PyObject
*arg3
= (PyObject
*) 0 ;
28839 PyObject
* obj0
= 0 ;
28840 PyObject
* obj1
= 0 ;
28841 PyObject
* obj2
= 0 ;
28842 char *kwnames
[] = {
28843 (char *) "self",(char *) "item",(char *) "obj", NULL
28846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28848 if (SWIG_arg_fail(1)) SWIG_fail
;
28850 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28851 if (SWIG_arg_fail(2)) SWIG_fail
;
28852 if (arg2
== NULL
) {
28853 SWIG_null_ref("wxTreeItemId");
28855 if (SWIG_arg_fail(2)) SWIG_fail
;
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28862 wxPyEndAllowThreads(__tstate
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28865 Py_INCREF(Py_None
); resultobj
= Py_None
;
28872 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28875 wxTreeItemId
*arg2
= 0 ;
28876 bool arg3
= (bool) true ;
28877 PyObject
* obj0
= 0 ;
28878 PyObject
* obj1
= 0 ;
28879 PyObject
* obj2
= 0 ;
28880 char *kwnames
[] = {
28881 (char *) "self",(char *) "item",(char *) "has", NULL
28884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28886 if (SWIG_arg_fail(1)) SWIG_fail
;
28888 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28889 if (SWIG_arg_fail(2)) SWIG_fail
;
28890 if (arg2
== NULL
) {
28891 SWIG_null_ref("wxTreeItemId");
28893 if (SWIG_arg_fail(2)) SWIG_fail
;
28897 arg3
= (bool)(SWIG_As_bool(obj2
));
28898 if (SWIG_arg_fail(3)) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 Py_INCREF(Py_None
); resultobj
= Py_None
;
28915 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
;
28917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28918 wxTreeItemId
*arg2
= 0 ;
28919 bool arg3
= (bool) true ;
28920 PyObject
* obj0
= 0 ;
28921 PyObject
* obj1
= 0 ;
28922 PyObject
* obj2
= 0 ;
28923 char *kwnames
[] = {
28924 (char *) "self",(char *) "item",(char *) "bold", NULL
28927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28929 if (SWIG_arg_fail(1)) SWIG_fail
;
28931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28932 if (SWIG_arg_fail(2)) SWIG_fail
;
28933 if (arg2
== NULL
) {
28934 SWIG_null_ref("wxTreeItemId");
28936 if (SWIG_arg_fail(2)) SWIG_fail
;
28940 arg3
= (bool)(SWIG_As_bool(obj2
));
28941 if (SWIG_arg_fail(3)) SWIG_fail
;
28945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28946 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
28948 wxPyEndAllowThreads(__tstate
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28951 Py_INCREF(Py_None
); resultobj
= Py_None
;
28958 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28959 PyObject
*resultobj
;
28960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28961 wxTreeItemId
*arg2
= 0 ;
28962 bool arg3
= (bool) true ;
28963 PyObject
* obj0
= 0 ;
28964 PyObject
* obj1
= 0 ;
28965 PyObject
* obj2
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "self",(char *) "item",(char *) "highlight", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28972 if (SWIG_arg_fail(1)) SWIG_fail
;
28974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28975 if (SWIG_arg_fail(2)) SWIG_fail
;
28976 if (arg2
== NULL
) {
28977 SWIG_null_ref("wxTreeItemId");
28979 if (SWIG_arg_fail(2)) SWIG_fail
;
28983 arg3
= (bool)(SWIG_As_bool(obj2
));
28984 if (SWIG_arg_fail(3)) SWIG_fail
;
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 Py_INCREF(Py_None
); resultobj
= Py_None
;
29001 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29004 wxTreeItemId
*arg2
= 0 ;
29005 wxColour
*arg3
= 0 ;
29007 PyObject
* obj0
= 0 ;
29008 PyObject
* obj1
= 0 ;
29009 PyObject
* obj2
= 0 ;
29010 char *kwnames
[] = {
29011 (char *) "self",(char *) "item",(char *) "col", NULL
29014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29016 if (SWIG_arg_fail(1)) SWIG_fail
;
29018 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29019 if (SWIG_arg_fail(2)) SWIG_fail
;
29020 if (arg2
== NULL
) {
29021 SWIG_null_ref("wxTreeItemId");
29023 if (SWIG_arg_fail(2)) SWIG_fail
;
29027 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29036 Py_INCREF(Py_None
); resultobj
= Py_None
;
29043 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29044 PyObject
*resultobj
;
29045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29046 wxTreeItemId
*arg2
= 0 ;
29047 wxColour
*arg3
= 0 ;
29049 PyObject
* obj0
= 0 ;
29050 PyObject
* obj1
= 0 ;
29051 PyObject
* obj2
= 0 ;
29052 char *kwnames
[] = {
29053 (char *) "self",(char *) "item",(char *) "col", NULL
29056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29058 if (SWIG_arg_fail(1)) SWIG_fail
;
29060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29061 if (SWIG_arg_fail(2)) SWIG_fail
;
29062 if (arg2
== NULL
) {
29063 SWIG_null_ref("wxTreeItemId");
29065 if (SWIG_arg_fail(2)) SWIG_fail
;
29069 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29078 Py_INCREF(Py_None
); resultobj
= Py_None
;
29085 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29086 PyObject
*resultobj
;
29087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29088 wxTreeItemId
*arg2
= 0 ;
29090 PyObject
* obj0
= 0 ;
29091 PyObject
* obj1
= 0 ;
29092 PyObject
* obj2
= 0 ;
29093 char *kwnames
[] = {
29094 (char *) "self",(char *) "item",(char *) "font", NULL
29097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29099 if (SWIG_arg_fail(1)) SWIG_fail
;
29101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29102 if (SWIG_arg_fail(2)) SWIG_fail
;
29103 if (arg2
== NULL
) {
29104 SWIG_null_ref("wxTreeItemId");
29106 if (SWIG_arg_fail(2)) SWIG_fail
;
29109 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29110 if (SWIG_arg_fail(3)) SWIG_fail
;
29111 if (arg3
== NULL
) {
29112 SWIG_null_ref("wxFont");
29114 if (SWIG_arg_fail(3)) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29123 Py_INCREF(Py_None
); resultobj
= Py_None
;
29130 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
;
29132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29133 wxTreeItemId
*arg2
= 0 ;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 char *kwnames
[] = {
29138 (char *) "self",(char *) "item", NULL
29141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29143 if (SWIG_arg_fail(1)) SWIG_fail
;
29145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29146 if (SWIG_arg_fail(2)) SWIG_fail
;
29147 if (arg2
== NULL
) {
29148 SWIG_null_ref("wxTreeItemId");
29150 if (SWIG_arg_fail(2)) SWIG_fail
;
29153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29154 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29156 wxPyEndAllowThreads(__tstate
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29168 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
;
29170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29171 wxTreeItemId
*arg2
= 0 ;
29173 PyObject
* obj0
= 0 ;
29174 PyObject
* obj1
= 0 ;
29175 char *kwnames
[] = {
29176 (char *) "self",(char *) "item", NULL
29179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29181 if (SWIG_arg_fail(1)) SWIG_fail
;
29183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29184 if (SWIG_arg_fail(2)) SWIG_fail
;
29185 if (arg2
== NULL
) {
29186 SWIG_null_ref("wxTreeItemId");
29188 if (SWIG_arg_fail(2)) SWIG_fail
;
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29194 wxPyEndAllowThreads(__tstate
);
29195 if (PyErr_Occurred()) SWIG_fail
;
29198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29206 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
;
29208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29209 wxTreeItemId
*arg2
= 0 ;
29211 PyObject
* obj0
= 0 ;
29212 PyObject
* obj1
= 0 ;
29213 char *kwnames
[] = {
29214 (char *) "self",(char *) "item", NULL
29217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29219 if (SWIG_arg_fail(1)) SWIG_fail
;
29221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29222 if (SWIG_arg_fail(2)) SWIG_fail
;
29223 if (arg2
== NULL
) {
29224 SWIG_null_ref("wxTreeItemId");
29226 if (SWIG_arg_fail(2)) SWIG_fail
;
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29244 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
;
29246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29247 wxTreeItemId
*arg2
= 0 ;
29249 PyObject
* obj0
= 0 ;
29250 PyObject
* obj1
= 0 ;
29251 char *kwnames
[] = {
29252 (char *) "self",(char *) "item", NULL
29255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29257 if (SWIG_arg_fail(1)) SWIG_fail
;
29259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29260 if (SWIG_arg_fail(2)) SWIG_fail
;
29261 if (arg2
== NULL
) {
29262 SWIG_null_ref("wxTreeItemId");
29264 if (SWIG_arg_fail(2)) SWIG_fail
;
29267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29268 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29270 wxPyEndAllowThreads(__tstate
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29282 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29283 PyObject
*resultobj
;
29284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29285 wxTreeItemId
*arg2
= 0 ;
29287 PyObject
* obj0
= 0 ;
29288 PyObject
* obj1
= 0 ;
29289 char *kwnames
[] = {
29290 (char *) "self",(char *) "item", NULL
29293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29295 if (SWIG_arg_fail(1)) SWIG_fail
;
29297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29298 if (SWIG_arg_fail(2)) SWIG_fail
;
29299 if (arg2
== NULL
) {
29300 SWIG_null_ref("wxTreeItemId");
29302 if (SWIG_arg_fail(2)) SWIG_fail
;
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29308 wxPyEndAllowThreads(__tstate
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29320 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
;
29322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29323 wxTreeItemId
*arg2
= 0 ;
29324 bool arg3
= (bool) true ;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 PyObject
* obj2
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self",(char *) "item",(char *) "recursively", NULL
29333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29335 if (SWIG_arg_fail(1)) SWIG_fail
;
29337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29338 if (SWIG_arg_fail(2)) SWIG_fail
;
29339 if (arg2
== NULL
) {
29340 SWIG_null_ref("wxTreeItemId");
29342 if (SWIG_arg_fail(2)) SWIG_fail
;
29346 arg3
= (bool)(SWIG_As_bool(obj2
));
29347 if (SWIG_arg_fail(3)) SWIG_fail
;
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29358 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29366 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29367 PyObject
*resultobj
;
29368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29369 wxTreeItemId result
;
29370 PyObject
* obj0
= 0 ;
29371 char *kwnames
[] = {
29372 (char *) "self", NULL
29375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29377 if (SWIG_arg_fail(1)) SWIG_fail
;
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29386 wxTreeItemId
* resultptr
;
29387 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29396 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29397 PyObject
*resultobj
;
29398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29399 wxTreeItemId result
;
29400 PyObject
* obj0
= 0 ;
29401 char *kwnames
[] = {
29402 (char *) "self", NULL
29405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 wxTreeItemId
* resultptr
;
29417 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29426 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29427 PyObject
*resultobj
;
29428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29430 PyObject
* obj0
= 0 ;
29431 char *kwnames
[] = {
29432 (char *) "self", NULL
29435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29437 if (SWIG_arg_fail(1)) SWIG_fail
;
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29445 resultobj
= result
;
29452 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29453 PyObject
*resultobj
;
29454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29455 wxTreeItemId
*arg2
= 0 ;
29456 wxTreeItemId result
;
29457 PyObject
* obj0
= 0 ;
29458 PyObject
* obj1
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self",(char *) "item", NULL
29463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29465 if (SWIG_arg_fail(1)) SWIG_fail
;
29467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29468 if (SWIG_arg_fail(2)) SWIG_fail
;
29469 if (arg2
== NULL
) {
29470 SWIG_null_ref("wxTreeItemId");
29472 if (SWIG_arg_fail(2)) SWIG_fail
;
29475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29476 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29478 wxPyEndAllowThreads(__tstate
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29482 wxTreeItemId
* resultptr
;
29483 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29492 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
;
29494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29495 wxTreeItemId
*arg2
= 0 ;
29497 PyObject
* obj0
= 0 ;
29498 PyObject
* obj1
= 0 ;
29499 char *kwnames
[] = {
29500 (char *) "self",(char *) "item", NULL
29503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29505 if (SWIG_arg_fail(1)) SWIG_fail
;
29507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29508 if (SWIG_arg_fail(2)) SWIG_fail
;
29509 if (arg2
== NULL
) {
29510 SWIG_null_ref("wxTreeItemId");
29512 if (SWIG_arg_fail(2)) SWIG_fail
;
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= result
;
29528 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
;
29530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29531 wxTreeItemId
*arg2
= 0 ;
29532 void *arg3
= (void *) 0 ;
29534 PyObject
* obj0
= 0 ;
29535 PyObject
* obj1
= 0 ;
29536 PyObject
* obj2
= 0 ;
29537 char *kwnames
[] = {
29538 (char *) "self",(char *) "item",(char *) "cookie", NULL
29541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29543 if (SWIG_arg_fail(1)) SWIG_fail
;
29545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29546 if (SWIG_arg_fail(2)) SWIG_fail
;
29547 if (arg2
== NULL
) {
29548 SWIG_null_ref("wxTreeItemId");
29550 if (SWIG_arg_fail(2)) SWIG_fail
;
29553 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29554 SWIG_arg_fail(3);SWIG_fail
;
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= result
;
29571 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29572 PyObject
*resultobj
;
29573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29574 wxTreeItemId
*arg2
= 0 ;
29575 wxTreeItemId result
;
29576 PyObject
* obj0
= 0 ;
29577 PyObject
* obj1
= 0 ;
29578 char *kwnames
[] = {
29579 (char *) "self",(char *) "item", NULL
29582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29584 if (SWIG_arg_fail(1)) SWIG_fail
;
29586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29587 if (SWIG_arg_fail(2)) SWIG_fail
;
29588 if (arg2
== NULL
) {
29589 SWIG_null_ref("wxTreeItemId");
29591 if (SWIG_arg_fail(2)) SWIG_fail
;
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29601 wxTreeItemId
* resultptr
;
29602 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29611 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29614 wxTreeItemId
*arg2
= 0 ;
29615 wxTreeItemId result
;
29616 PyObject
* obj0
= 0 ;
29617 PyObject
* obj1
= 0 ;
29618 char *kwnames
[] = {
29619 (char *) "self",(char *) "item", NULL
29622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29624 if (SWIG_arg_fail(1)) SWIG_fail
;
29626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29627 if (SWIG_arg_fail(2)) SWIG_fail
;
29628 if (arg2
== NULL
) {
29629 SWIG_null_ref("wxTreeItemId");
29631 if (SWIG_arg_fail(2)) SWIG_fail
;
29634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29635 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29641 wxTreeItemId
* resultptr
;
29642 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29651 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
;
29653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29654 wxTreeItemId
*arg2
= 0 ;
29655 wxTreeItemId result
;
29656 PyObject
* obj0
= 0 ;
29657 PyObject
* obj1
= 0 ;
29658 char *kwnames
[] = {
29659 (char *) "self",(char *) "item", NULL
29662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29664 if (SWIG_arg_fail(1)) SWIG_fail
;
29666 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29667 if (SWIG_arg_fail(2)) SWIG_fail
;
29668 if (arg2
== NULL
) {
29669 SWIG_null_ref("wxTreeItemId");
29671 if (SWIG_arg_fail(2)) SWIG_fail
;
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29675 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29681 wxTreeItemId
* resultptr
;
29682 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29691 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
;
29693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29694 wxTreeItemId result
;
29695 PyObject
* obj0
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29702 if (SWIG_arg_fail(1)) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29711 wxTreeItemId
* resultptr
;
29712 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29721 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
;
29723 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29724 wxTreeItemId
*arg2
= 0 ;
29725 wxTreeItemId result
;
29726 PyObject
* obj0
= 0 ;
29727 PyObject
* obj1
= 0 ;
29728 char *kwnames
[] = {
29729 (char *) "self",(char *) "item", NULL
29732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29734 if (SWIG_arg_fail(1)) SWIG_fail
;
29736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29737 if (SWIG_arg_fail(2)) SWIG_fail
;
29738 if (arg2
== NULL
) {
29739 SWIG_null_ref("wxTreeItemId");
29741 if (SWIG_arg_fail(2)) SWIG_fail
;
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29747 wxPyEndAllowThreads(__tstate
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29751 wxTreeItemId
* resultptr
;
29752 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29761 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29762 PyObject
*resultobj
;
29763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29764 wxTreeItemId
*arg2
= 0 ;
29765 wxTreeItemId result
;
29766 PyObject
* obj0
= 0 ;
29767 PyObject
* obj1
= 0 ;
29768 char *kwnames
[] = {
29769 (char *) "self",(char *) "item", NULL
29772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29777 if (SWIG_arg_fail(2)) SWIG_fail
;
29778 if (arg2
== NULL
) {
29779 SWIG_null_ref("wxTreeItemId");
29781 if (SWIG_arg_fail(2)) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 wxTreeItemId
* resultptr
;
29792 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29801 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
;
29803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29804 wxString
*arg2
= 0 ;
29805 int arg3
= (int) -1 ;
29806 int arg4
= (int) -1 ;
29807 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29808 wxTreeItemId result
;
29809 bool temp2
= false ;
29810 PyObject
* obj0
= 0 ;
29811 PyObject
* obj1
= 0 ;
29812 PyObject
* obj2
= 0 ;
29813 PyObject
* obj3
= 0 ;
29814 PyObject
* obj4
= 0 ;
29815 char *kwnames
[] = {
29816 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29821 if (SWIG_arg_fail(1)) SWIG_fail
;
29823 arg2
= wxString_in_helper(obj1
);
29824 if (arg2
== NULL
) SWIG_fail
;
29829 arg3
= (int)(SWIG_As_int(obj2
));
29830 if (SWIG_arg_fail(3)) SWIG_fail
;
29835 arg4
= (int)(SWIG_As_int(obj3
));
29836 if (SWIG_arg_fail(4)) SWIG_fail
;
29840 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29841 if (SWIG_arg_fail(5)) SWIG_fail
;
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29845 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29847 wxPyEndAllowThreads(__tstate
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29851 wxTreeItemId
* resultptr
;
29852 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29869 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
;
29871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29872 wxTreeItemId
*arg2
= 0 ;
29873 wxString
*arg3
= 0 ;
29874 int arg4
= (int) -1 ;
29875 int arg5
= (int) -1 ;
29876 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29877 wxTreeItemId result
;
29878 bool temp3
= false ;
29879 PyObject
* obj0
= 0 ;
29880 PyObject
* obj1
= 0 ;
29881 PyObject
* obj2
= 0 ;
29882 PyObject
* obj3
= 0 ;
29883 PyObject
* obj4
= 0 ;
29884 PyObject
* obj5
= 0 ;
29885 char *kwnames
[] = {
29886 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29891 if (SWIG_arg_fail(1)) SWIG_fail
;
29893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29894 if (SWIG_arg_fail(2)) SWIG_fail
;
29895 if (arg2
== NULL
) {
29896 SWIG_null_ref("wxTreeItemId");
29898 if (SWIG_arg_fail(2)) SWIG_fail
;
29901 arg3
= wxString_in_helper(obj2
);
29902 if (arg3
== NULL
) SWIG_fail
;
29907 arg4
= (int)(SWIG_As_int(obj3
));
29908 if (SWIG_arg_fail(4)) SWIG_fail
;
29913 arg5
= (int)(SWIG_As_int(obj4
));
29914 if (SWIG_arg_fail(5)) SWIG_fail
;
29918 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29919 if (SWIG_arg_fail(6)) SWIG_fail
;
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29925 wxPyEndAllowThreads(__tstate
);
29926 if (PyErr_Occurred()) SWIG_fail
;
29929 wxTreeItemId
* resultptr
;
29930 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29947 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29948 PyObject
*resultobj
;
29949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29950 wxTreeItemId
*arg2
= 0 ;
29951 wxTreeItemId
*arg3
= 0 ;
29952 wxString
*arg4
= 0 ;
29953 int arg5
= (int) -1 ;
29954 int arg6
= (int) -1 ;
29955 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29956 wxTreeItemId result
;
29957 bool temp4
= false ;
29958 PyObject
* obj0
= 0 ;
29959 PyObject
* obj1
= 0 ;
29960 PyObject
* obj2
= 0 ;
29961 PyObject
* obj3
= 0 ;
29962 PyObject
* obj4
= 0 ;
29963 PyObject
* obj5
= 0 ;
29964 PyObject
* obj6
= 0 ;
29965 char *kwnames
[] = {
29966 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29971 if (SWIG_arg_fail(1)) SWIG_fail
;
29973 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29974 if (SWIG_arg_fail(2)) SWIG_fail
;
29975 if (arg2
== NULL
) {
29976 SWIG_null_ref("wxTreeItemId");
29978 if (SWIG_arg_fail(2)) SWIG_fail
;
29981 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29982 if (SWIG_arg_fail(3)) SWIG_fail
;
29983 if (arg3
== NULL
) {
29984 SWIG_null_ref("wxTreeItemId");
29986 if (SWIG_arg_fail(3)) SWIG_fail
;
29989 arg4
= wxString_in_helper(obj3
);
29990 if (arg4
== NULL
) SWIG_fail
;
29995 arg5
= (int)(SWIG_As_int(obj4
));
29996 if (SWIG_arg_fail(5)) SWIG_fail
;
30001 arg6
= (int)(SWIG_As_int(obj5
));
30002 if (SWIG_arg_fail(6)) SWIG_fail
;
30006 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30007 if (SWIG_arg_fail(7)) SWIG_fail
;
30010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30011 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30013 wxPyEndAllowThreads(__tstate
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30017 wxTreeItemId
* resultptr
;
30018 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30035 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30036 PyObject
*resultobj
;
30037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30038 wxTreeItemId
*arg2
= 0 ;
30040 wxString
*arg4
= 0 ;
30041 int arg5
= (int) -1 ;
30042 int arg6
= (int) -1 ;
30043 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30044 wxTreeItemId result
;
30045 bool temp4
= false ;
30046 PyObject
* obj0
= 0 ;
30047 PyObject
* obj1
= 0 ;
30048 PyObject
* obj2
= 0 ;
30049 PyObject
* obj3
= 0 ;
30050 PyObject
* obj4
= 0 ;
30051 PyObject
* obj5
= 0 ;
30052 PyObject
* obj6
= 0 ;
30053 char *kwnames
[] = {
30054 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30059 if (SWIG_arg_fail(1)) SWIG_fail
;
30061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30062 if (SWIG_arg_fail(2)) SWIG_fail
;
30063 if (arg2
== NULL
) {
30064 SWIG_null_ref("wxTreeItemId");
30066 if (SWIG_arg_fail(2)) SWIG_fail
;
30069 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30070 if (SWIG_arg_fail(3)) SWIG_fail
;
30073 arg4
= wxString_in_helper(obj3
);
30074 if (arg4
== NULL
) SWIG_fail
;
30079 arg5
= (int)(SWIG_As_int(obj4
));
30080 if (SWIG_arg_fail(5)) SWIG_fail
;
30085 arg6
= (int)(SWIG_As_int(obj5
));
30086 if (SWIG_arg_fail(6)) SWIG_fail
;
30090 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30091 if (SWIG_arg_fail(7)) SWIG_fail
;
30094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30095 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30097 wxPyEndAllowThreads(__tstate
);
30098 if (PyErr_Occurred()) SWIG_fail
;
30101 wxTreeItemId
* resultptr
;
30102 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30119 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
;
30121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30122 wxTreeItemId
*arg2
= 0 ;
30123 wxString
*arg3
= 0 ;
30124 int arg4
= (int) -1 ;
30125 int arg5
= (int) -1 ;
30126 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30127 wxTreeItemId result
;
30128 bool temp3
= false ;
30129 PyObject
* obj0
= 0 ;
30130 PyObject
* obj1
= 0 ;
30131 PyObject
* obj2
= 0 ;
30132 PyObject
* obj3
= 0 ;
30133 PyObject
* obj4
= 0 ;
30134 PyObject
* obj5
= 0 ;
30135 char *kwnames
[] = {
30136 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30141 if (SWIG_arg_fail(1)) SWIG_fail
;
30143 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30144 if (SWIG_arg_fail(2)) SWIG_fail
;
30145 if (arg2
== NULL
) {
30146 SWIG_null_ref("wxTreeItemId");
30148 if (SWIG_arg_fail(2)) SWIG_fail
;
30151 arg3
= wxString_in_helper(obj2
);
30152 if (arg3
== NULL
) SWIG_fail
;
30157 arg4
= (int)(SWIG_As_int(obj3
));
30158 if (SWIG_arg_fail(4)) SWIG_fail
;
30163 arg5
= (int)(SWIG_As_int(obj4
));
30164 if (SWIG_arg_fail(5)) SWIG_fail
;
30168 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30169 if (SWIG_arg_fail(6)) SWIG_fail
;
30172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30173 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30175 wxPyEndAllowThreads(__tstate
);
30176 if (PyErr_Occurred()) SWIG_fail
;
30179 wxTreeItemId
* resultptr
;
30180 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30197 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
;
30199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30200 wxTreeItemId
*arg2
= 0 ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 char *kwnames
[] = {
30204 (char *) "self",(char *) "item", NULL
30207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30209 if (SWIG_arg_fail(1)) SWIG_fail
;
30211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30212 if (SWIG_arg_fail(2)) SWIG_fail
;
30213 if (arg2
== NULL
) {
30214 SWIG_null_ref("wxTreeItemId");
30216 if (SWIG_arg_fail(2)) SWIG_fail
;
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30222 wxPyEndAllowThreads(__tstate
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 Py_INCREF(Py_None
); resultobj
= Py_None
;
30232 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
;
30234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30235 wxTreeItemId
*arg2
= 0 ;
30236 PyObject
* obj0
= 0 ;
30237 PyObject
* obj1
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self",(char *) "item", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30244 if (SWIG_arg_fail(1)) SWIG_fail
;
30246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30247 if (SWIG_arg_fail(2)) SWIG_fail
;
30248 if (arg2
== NULL
) {
30249 SWIG_null_ref("wxTreeItemId");
30251 if (SWIG_arg_fail(2)) SWIG_fail
;
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30257 wxPyEndAllowThreads(__tstate
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30260 Py_INCREF(Py_None
); resultobj
= Py_None
;
30267 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30270 PyObject
* obj0
= 0 ;
30271 char *kwnames
[] = {
30272 (char *) "self", NULL
30275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30277 if (SWIG_arg_fail(1)) SWIG_fail
;
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 (arg1
)->DeleteAllItems();
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30285 Py_INCREF(Py_None
); resultobj
= Py_None
;
30292 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30293 PyObject
*resultobj
;
30294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30295 wxTreeItemId
*arg2
= 0 ;
30296 PyObject
* obj0
= 0 ;
30297 PyObject
* obj1
= 0 ;
30298 char *kwnames
[] = {
30299 (char *) "self",(char *) "item", NULL
30302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30304 if (SWIG_arg_fail(1)) SWIG_fail
;
30306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30307 if (SWIG_arg_fail(2)) SWIG_fail
;
30308 if (arg2
== NULL
) {
30309 SWIG_null_ref("wxTreeItemId");
30311 if (SWIG_arg_fail(2)) SWIG_fail
;
30314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30315 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30317 wxPyEndAllowThreads(__tstate
);
30318 if (PyErr_Occurred()) SWIG_fail
;
30320 Py_INCREF(Py_None
); resultobj
= Py_None
;
30327 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30328 PyObject
*resultobj
;
30329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30330 wxTreeItemId
*arg2
= 0 ;
30331 PyObject
* obj0
= 0 ;
30332 PyObject
* obj1
= 0 ;
30333 char *kwnames
[] = {
30334 (char *) "self",(char *) "item", NULL
30337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30339 if (SWIG_arg_fail(1)) SWIG_fail
;
30341 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30342 if (SWIG_arg_fail(2)) SWIG_fail
;
30343 if (arg2
== NULL
) {
30344 SWIG_null_ref("wxTreeItemId");
30346 if (SWIG_arg_fail(2)) SWIG_fail
;
30349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30350 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 Py_INCREF(Py_None
); resultobj
= Py_None
;
30362 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
;
30364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30365 wxTreeItemId
*arg2
= 0 ;
30366 PyObject
* obj0
= 0 ;
30367 PyObject
* obj1
= 0 ;
30368 char *kwnames
[] = {
30369 (char *) "self",(char *) "item", NULL
30372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30374 if (SWIG_arg_fail(1)) SWIG_fail
;
30376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30377 if (SWIG_arg_fail(2)) SWIG_fail
;
30378 if (arg2
== NULL
) {
30379 SWIG_null_ref("wxTreeItemId");
30381 if (SWIG_arg_fail(2)) SWIG_fail
;
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30387 wxPyEndAllowThreads(__tstate
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30390 Py_INCREF(Py_None
); resultobj
= Py_None
;
30397 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30398 PyObject
*resultobj
;
30399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30400 wxTreeItemId
*arg2
= 0 ;
30401 PyObject
* obj0
= 0 ;
30402 PyObject
* obj1
= 0 ;
30403 char *kwnames
[] = {
30404 (char *) "self",(char *) "item", NULL
30407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30409 if (SWIG_arg_fail(1)) SWIG_fail
;
30411 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30412 if (SWIG_arg_fail(2)) SWIG_fail
;
30413 if (arg2
== NULL
) {
30414 SWIG_null_ref("wxTreeItemId");
30416 if (SWIG_arg_fail(2)) SWIG_fail
;
30419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30420 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30422 wxPyEndAllowThreads(__tstate
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30425 Py_INCREF(Py_None
); resultobj
= Py_None
;
30432 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
;
30434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30435 PyObject
* obj0
= 0 ;
30436 char *kwnames
[] = {
30437 (char *) "self", NULL
30440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30442 if (SWIG_arg_fail(1)) SWIG_fail
;
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 (arg1
)->Unselect();
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 Py_INCREF(Py_None
); resultobj
= Py_None
;
30457 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
;
30459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30460 wxTreeItemId
*arg2
= 0 ;
30461 PyObject
* obj0
= 0 ;
30462 PyObject
* obj1
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self",(char *) "item", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30469 if (SWIG_arg_fail(1)) SWIG_fail
;
30471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30472 if (SWIG_arg_fail(2)) SWIG_fail
;
30473 if (arg2
== NULL
) {
30474 SWIG_null_ref("wxTreeItemId");
30476 if (SWIG_arg_fail(2)) SWIG_fail
;
30479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30480 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30482 wxPyEndAllowThreads(__tstate
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30485 Py_INCREF(Py_None
); resultobj
= Py_None
;
30492 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30493 PyObject
*resultobj
;
30494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30495 PyObject
* obj0
= 0 ;
30496 char *kwnames
[] = {
30497 (char *) "self", NULL
30500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30502 if (SWIG_arg_fail(1)) SWIG_fail
;
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30505 (arg1
)->UnselectAll();
30507 wxPyEndAllowThreads(__tstate
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30510 Py_INCREF(Py_None
); resultobj
= Py_None
;
30517 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
;
30519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30520 wxTreeItemId
*arg2
= 0 ;
30521 bool arg3
= (bool) true ;
30522 PyObject
* obj0
= 0 ;
30523 PyObject
* obj1
= 0 ;
30524 PyObject
* obj2
= 0 ;
30525 char *kwnames
[] = {
30526 (char *) "self",(char *) "item",(char *) "select", NULL
30529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30531 if (SWIG_arg_fail(1)) SWIG_fail
;
30533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30534 if (SWIG_arg_fail(2)) SWIG_fail
;
30535 if (arg2
== NULL
) {
30536 SWIG_null_ref("wxTreeItemId");
30538 if (SWIG_arg_fail(2)) SWIG_fail
;
30542 arg3
= (bool)(SWIG_As_bool(obj2
));
30543 if (SWIG_arg_fail(3)) SWIG_fail
;
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 Py_INCREF(Py_None
); resultobj
= Py_None
;
30560 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
;
30562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30563 wxTreeItemId
*arg2
= 0 ;
30564 PyObject
* obj0
= 0 ;
30565 PyObject
* obj1
= 0 ;
30566 char *kwnames
[] = {
30567 (char *) "self",(char *) "item", NULL
30570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30572 if (SWIG_arg_fail(1)) SWIG_fail
;
30574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30575 if (SWIG_arg_fail(2)) SWIG_fail
;
30576 if (arg2
== NULL
) {
30577 SWIG_null_ref("wxTreeItemId");
30579 if (SWIG_arg_fail(2)) SWIG_fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30588 Py_INCREF(Py_None
); resultobj
= Py_None
;
30595 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30596 PyObject
*resultobj
;
30597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30598 wxTreeItemId
*arg2
= 0 ;
30599 PyObject
* obj0
= 0 ;
30600 PyObject
* obj1
= 0 ;
30601 char *kwnames
[] = {
30602 (char *) "self",(char *) "item", NULL
30605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30607 if (SWIG_arg_fail(1)) SWIG_fail
;
30609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30610 if (SWIG_arg_fail(2)) SWIG_fail
;
30611 if (arg2
== NULL
) {
30612 SWIG_null_ref("wxTreeItemId");
30614 if (SWIG_arg_fail(2)) SWIG_fail
;
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30623 Py_INCREF(Py_None
); resultobj
= Py_None
;
30630 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30631 PyObject
*resultobj
;
30632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30633 wxTreeItemId
*arg2
= 0 ;
30634 PyObject
* obj0
= 0 ;
30635 PyObject
* obj1
= 0 ;
30636 char *kwnames
[] = {
30637 (char *) "self",(char *) "item", NULL
30640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30642 if (SWIG_arg_fail(1)) SWIG_fail
;
30644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30645 if (SWIG_arg_fail(2)) SWIG_fail
;
30646 if (arg2
== NULL
) {
30647 SWIG_null_ref("wxTreeItemId");
30649 if (SWIG_arg_fail(2)) SWIG_fail
;
30652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30655 wxPyEndAllowThreads(__tstate
);
30656 if (PyErr_Occurred()) SWIG_fail
;
30658 Py_INCREF(Py_None
); resultobj
= Py_None
;
30665 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30666 PyObject
*resultobj
;
30667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30668 wxTreeItemId
*arg2
= 0 ;
30669 PyObject
* obj0
= 0 ;
30670 PyObject
* obj1
= 0 ;
30671 char *kwnames
[] = {
30672 (char *) "self",(char *) "item", NULL
30675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30677 if (SWIG_arg_fail(1)) SWIG_fail
;
30679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30680 if (SWIG_arg_fail(2)) SWIG_fail
;
30681 if (arg2
== NULL
) {
30682 SWIG_null_ref("wxTreeItemId");
30684 if (SWIG_arg_fail(2)) SWIG_fail
;
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30688 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30690 wxPyEndAllowThreads(__tstate
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30693 Py_INCREF(Py_None
); resultobj
= Py_None
;
30700 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
;
30702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30703 wxTextCtrl
*result
;
30704 PyObject
* obj0
= 0 ;
30705 char *kwnames
[] = {
30706 (char *) "self", NULL
30709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30711 if (SWIG_arg_fail(1)) SWIG_fail
;
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= wxPyMake_wxObject(result
, 0);
30728 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
;
30730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30731 wxTreeItemId
*arg2
= 0 ;
30732 PyObject
* obj0
= 0 ;
30733 PyObject
* obj1
= 0 ;
30734 char *kwnames
[] = {
30735 (char *) "self",(char *) "item", NULL
30738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30740 if (SWIG_arg_fail(1)) SWIG_fail
;
30742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30743 if (SWIG_arg_fail(2)) SWIG_fail
;
30744 if (arg2
== NULL
) {
30745 SWIG_null_ref("wxTreeItemId");
30747 if (SWIG_arg_fail(2)) SWIG_fail
;
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30753 wxPyEndAllowThreads(__tstate
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30756 Py_INCREF(Py_None
); resultobj
= Py_None
;
30763 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30764 PyObject
*resultobj
;
30765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30766 wxPoint
*arg2
= 0 ;
30768 wxTreeItemId result
;
30772 PyObject
* obj0
= 0 ;
30773 PyObject
* obj1
= 0 ;
30774 char *kwnames
[] = {
30775 (char *) "self",(char *) "point", NULL
30778 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30781 if (SWIG_arg_fail(1)) SWIG_fail
;
30784 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30788 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30794 wxTreeItemId
* resultptr
;
30795 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30798 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30799 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30806 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30807 PyObject
*resultobj
;
30808 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30809 wxTreeItemId
*arg2
= 0 ;
30810 bool arg3
= (bool) false ;
30812 PyObject
* obj0
= 0 ;
30813 PyObject
* obj1
= 0 ;
30814 PyObject
* obj2
= 0 ;
30815 char *kwnames
[] = {
30816 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30821 if (SWIG_arg_fail(1)) SWIG_fail
;
30823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30824 if (SWIG_arg_fail(2)) SWIG_fail
;
30825 if (arg2
== NULL
) {
30826 SWIG_null_ref("wxTreeItemId");
30828 if (SWIG_arg_fail(2)) SWIG_fail
;
30832 arg3
= (bool)(SWIG_As_bool(obj2
));
30833 if (SWIG_arg_fail(3)) SWIG_fail
;
30837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30838 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30840 wxPyEndAllowThreads(__tstate
);
30841 if (PyErr_Occurred()) SWIG_fail
;
30843 resultobj
= result
;
30850 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30851 PyObject
*resultobj
;
30852 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30853 wxVisualAttributes result
;
30854 PyObject
* obj0
= 0 ;
30855 char *kwnames
[] = {
30856 (char *) "variant", NULL
30859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30862 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30863 if (SWIG_arg_fail(1)) SWIG_fail
;
30867 if (!wxPyCheckForApp()) SWIG_fail
;
30868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30869 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30875 wxVisualAttributes
* resultptr
;
30876 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30885 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30888 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30890 return Py_BuildValue((char *)"");
30892 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30893 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30898 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30903 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30905 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30912 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30913 PyObject
*resultobj
;
30914 wxWindow
*arg1
= (wxWindow
*) 0 ;
30915 int arg2
= (int) (int)-1 ;
30916 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30918 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30919 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30920 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30921 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30922 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30923 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30924 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30925 int arg8
= (int) 0 ;
30926 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30927 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30928 wxGenericDirCtrl
*result
;
30929 bool temp3
= false ;
30932 bool temp7
= false ;
30933 bool temp9
= false ;
30934 PyObject
* obj0
= 0 ;
30935 PyObject
* obj1
= 0 ;
30936 PyObject
* obj2
= 0 ;
30937 PyObject
* obj3
= 0 ;
30938 PyObject
* obj4
= 0 ;
30939 PyObject
* obj5
= 0 ;
30940 PyObject
* obj6
= 0 ;
30941 PyObject
* obj7
= 0 ;
30942 PyObject
* obj8
= 0 ;
30943 char *kwnames
[] = {
30944 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30949 if (SWIG_arg_fail(1)) SWIG_fail
;
30952 arg2
= (int const)(SWIG_As_int(obj1
));
30953 if (SWIG_arg_fail(2)) SWIG_fail
;
30958 arg3
= wxString_in_helper(obj2
);
30959 if (arg3
== NULL
) SWIG_fail
;
30966 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30972 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30977 arg6
= (long)(SWIG_As_long(obj5
));
30978 if (SWIG_arg_fail(6)) SWIG_fail
;
30983 arg7
= wxString_in_helper(obj6
);
30984 if (arg7
== NULL
) SWIG_fail
;
30990 arg8
= (int)(SWIG_As_int(obj7
));
30991 if (SWIG_arg_fail(8)) SWIG_fail
;
30996 arg9
= wxString_in_helper(obj8
);
30997 if (arg9
== NULL
) SWIG_fail
;
31002 if (!wxPyCheckForApp()) SWIG_fail
;
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31040 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31041 PyObject
*resultobj
;
31042 wxGenericDirCtrl
*result
;
31043 char *kwnames
[] = {
31047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31049 if (!wxPyCheckForApp()) SWIG_fail
;
31050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31051 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31053 wxPyEndAllowThreads(__tstate
);
31054 if (PyErr_Occurred()) SWIG_fail
;
31056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31063 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31064 PyObject
*resultobj
;
31065 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31066 wxWindow
*arg2
= (wxWindow
*) 0 ;
31067 int arg3
= (int) (int)-1 ;
31068 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31069 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31070 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31071 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31072 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31073 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31074 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31075 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31076 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31077 int arg9
= (int) 0 ;
31078 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31079 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31081 bool temp4
= false ;
31084 bool temp8
= false ;
31085 bool temp10
= false ;
31086 PyObject
* obj0
= 0 ;
31087 PyObject
* obj1
= 0 ;
31088 PyObject
* obj2
= 0 ;
31089 PyObject
* obj3
= 0 ;
31090 PyObject
* obj4
= 0 ;
31091 PyObject
* obj5
= 0 ;
31092 PyObject
* obj6
= 0 ;
31093 PyObject
* obj7
= 0 ;
31094 PyObject
* obj8
= 0 ;
31095 PyObject
* obj9
= 0 ;
31096 char *kwnames
[] = {
31097 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31102 if (SWIG_arg_fail(1)) SWIG_fail
;
31103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31104 if (SWIG_arg_fail(2)) SWIG_fail
;
31107 arg3
= (int const)(SWIG_As_int(obj2
));
31108 if (SWIG_arg_fail(3)) SWIG_fail
;
31113 arg4
= wxString_in_helper(obj3
);
31114 if (arg4
== NULL
) SWIG_fail
;
31121 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31127 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31132 arg7
= (long)(SWIG_As_long(obj6
));
31133 if (SWIG_arg_fail(7)) SWIG_fail
;
31138 arg8
= wxString_in_helper(obj7
);
31139 if (arg8
== NULL
) SWIG_fail
;
31145 arg9
= (int)(SWIG_As_int(obj8
));
31146 if (SWIG_arg_fail(9)) SWIG_fail
;
31151 arg10
= wxString_in_helper(obj9
);
31152 if (arg10
== NULL
) SWIG_fail
;
31157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31158 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31160 wxPyEndAllowThreads(__tstate
);
31161 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31196 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31199 wxString
*arg2
= 0 ;
31201 bool temp2
= false ;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char *kwnames
[] = {
31205 (char *) "self",(char *) "path", NULL
31208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31210 if (SWIG_arg_fail(1)) SWIG_fail
;
31212 arg2
= wxString_in_helper(obj1
);
31213 if (arg2
== NULL
) SWIG_fail
;
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31218 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31240 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31241 PyObject
*resultobj
;
31242 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31244 PyObject
* obj0
= 0 ;
31245 char *kwnames
[] = {
31246 (char *) "self", NULL
31249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31251 if (SWIG_arg_fail(1)) SWIG_fail
;
31253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31254 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31256 wxPyEndAllowThreads(__tstate
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31272 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31273 PyObject
*resultobj
;
31274 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31275 wxString
*arg2
= 0 ;
31276 bool temp2
= false ;
31277 PyObject
* obj0
= 0 ;
31278 PyObject
* obj1
= 0 ;
31279 char *kwnames
[] = {
31280 (char *) "self",(char *) "path", NULL
31283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31285 if (SWIG_arg_fail(1)) SWIG_fail
;
31287 arg2
= wxString_in_helper(obj1
);
31288 if (arg2
== NULL
) SWIG_fail
;
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31295 wxPyEndAllowThreads(__tstate
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31298 Py_INCREF(Py_None
); resultobj
= Py_None
;
31313 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
;
31315 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31317 PyObject
* obj0
= 0 ;
31318 char *kwnames
[] = {
31319 (char *) "self", NULL
31322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31324 if (SWIG_arg_fail(1)) SWIG_fail
;
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31329 wxPyEndAllowThreads(__tstate
);
31330 if (PyErr_Occurred()) SWIG_fail
;
31334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31345 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
;
31347 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31349 PyObject
* obj0
= 0 ;
31350 char *kwnames
[] = {
31351 (char *) "self", NULL
31354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31356 if (SWIG_arg_fail(1)) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31377 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31378 PyObject
*resultobj
;
31379 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31380 wxString
*arg2
= 0 ;
31381 bool temp2
= false ;
31382 PyObject
* obj0
= 0 ;
31383 PyObject
* obj1
= 0 ;
31384 char *kwnames
[] = {
31385 (char *) "self",(char *) "path", NULL
31388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31390 if (SWIG_arg_fail(1)) SWIG_fail
;
31392 arg2
= wxString_in_helper(obj1
);
31393 if (arg2
== NULL
) SWIG_fail
;
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 (arg1
)->SetPath((wxString
const &)*arg2
);
31400 wxPyEndAllowThreads(__tstate
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31403 Py_INCREF(Py_None
); resultobj
= Py_None
;
31418 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
;
31420 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31422 PyObject
* obj0
= 0 ;
31423 PyObject
* obj1
= 0 ;
31424 char *kwnames
[] = {
31425 (char *) "self",(char *) "show", NULL
31428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31430 if (SWIG_arg_fail(1)) SWIG_fail
;
31432 arg2
= (bool)(SWIG_As_bool(obj1
));
31433 if (SWIG_arg_fail(2)) SWIG_fail
;
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31437 (arg1
)->ShowHidden(arg2
);
31439 wxPyEndAllowThreads(__tstate
);
31440 if (PyErr_Occurred()) SWIG_fail
;
31442 Py_INCREF(Py_None
); resultobj
= Py_None
;
31449 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
;
31451 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31453 PyObject
* obj0
= 0 ;
31454 char *kwnames
[] = {
31455 (char *) "self", NULL
31458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31460 if (SWIG_arg_fail(1)) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= (bool)(arg1
)->GetShowHidden();
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31477 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31478 PyObject
*resultobj
;
31479 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31481 PyObject
* obj0
= 0 ;
31482 char *kwnames
[] = {
31483 (char *) "self", NULL
31486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31488 if (SWIG_arg_fail(1)) SWIG_fail
;
31490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31491 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31493 wxPyEndAllowThreads(__tstate
);
31494 if (PyErr_Occurred()) SWIG_fail
;
31498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31509 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31510 PyObject
*resultobj
;
31511 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31512 wxString
*arg2
= 0 ;
31513 bool temp2
= false ;
31514 PyObject
* obj0
= 0 ;
31515 PyObject
* obj1
= 0 ;
31516 char *kwnames
[] = {
31517 (char *) "self",(char *) "filter", NULL
31520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31522 if (SWIG_arg_fail(1)) SWIG_fail
;
31524 arg2
= wxString_in_helper(obj1
);
31525 if (arg2
== NULL
) SWIG_fail
;
31529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31530 (arg1
)->SetFilter((wxString
const &)*arg2
);
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31535 Py_INCREF(Py_None
); resultobj
= Py_None
;
31550 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31551 PyObject
*resultobj
;
31552 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31554 PyObject
* obj0
= 0 ;
31555 char *kwnames
[] = {
31556 (char *) "self", NULL
31559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31561 if (SWIG_arg_fail(1)) SWIG_fail
;
31563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31564 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31566 wxPyEndAllowThreads(__tstate
);
31567 if (PyErr_Occurred()) SWIG_fail
;
31570 resultobj
= SWIG_From_int((int)(result
));
31578 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31579 PyObject
*resultobj
;
31580 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31582 PyObject
* obj0
= 0 ;
31583 PyObject
* obj1
= 0 ;
31584 char *kwnames
[] = {
31585 (char *) "self",(char *) "n", NULL
31588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31590 if (SWIG_arg_fail(1)) SWIG_fail
;
31592 arg2
= (int)(SWIG_As_int(obj1
));
31593 if (SWIG_arg_fail(2)) SWIG_fail
;
31596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31597 (arg1
)->SetFilterIndex(arg2
);
31599 wxPyEndAllowThreads(__tstate
);
31600 if (PyErr_Occurred()) SWIG_fail
;
31602 Py_INCREF(Py_None
); resultobj
= Py_None
;
31609 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31610 PyObject
*resultobj
;
31611 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31612 wxTreeItemId result
;
31613 PyObject
* obj0
= 0 ;
31614 char *kwnames
[] = {
31615 (char *) "self", NULL
31618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31620 if (SWIG_arg_fail(1)) SWIG_fail
;
31622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31623 result
= (arg1
)->GetRootId();
31625 wxPyEndAllowThreads(__tstate
);
31626 if (PyErr_Occurred()) SWIG_fail
;
31629 wxTreeItemId
* resultptr
;
31630 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31639 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31640 PyObject
*resultobj
;
31641 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31642 wxPyTreeCtrl
*result
;
31643 PyObject
* obj0
= 0 ;
31644 char *kwnames
[] = {
31645 (char *) "self", NULL
31648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31650 if (SWIG_arg_fail(1)) SWIG_fail
;
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31655 wxPyEndAllowThreads(__tstate
);
31656 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= wxPyMake_wxObject(result
, 0);
31667 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
;
31669 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31670 wxDirFilterListCtrl
*result
;
31671 PyObject
* obj0
= 0 ;
31672 char *kwnames
[] = {
31673 (char *) "self", NULL
31676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31678 if (SWIG_arg_fail(1)) SWIG_fail
;
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31693 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31694 PyObject
*resultobj
;
31695 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31696 wxTreeItemId arg2
;
31697 wxString
*arg3
= 0 ;
31699 wxTreeItemId result
;
31700 bool temp3
= false ;
31703 PyObject
* obj0
= 0 ;
31704 PyObject
* obj1
= 0 ;
31705 PyObject
* obj2
= 0 ;
31706 char *kwnames
[] = {
31707 (char *) "self",(char *) "parentId",(char *) "path", NULL
31710 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31713 if (SWIG_arg_fail(1)) SWIG_fail
;
31715 wxTreeItemId
* argp
;
31716 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31717 if (SWIG_arg_fail(2)) SWIG_fail
;
31718 if (argp
== NULL
) {
31719 SWIG_null_ref("wxTreeItemId");
31721 if (SWIG_arg_fail(2)) SWIG_fail
;
31725 arg3
= wxString_in_helper(obj2
);
31726 if (arg3
== NULL
) SWIG_fail
;
31730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31731 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31733 wxPyEndAllowThreads(__tstate
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31737 wxTreeItemId
* resultptr
;
31738 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31741 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31742 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31757 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31758 PyObject
*resultobj
;
31759 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31760 PyObject
* obj0
= 0 ;
31761 char *kwnames
[] = {
31762 (char *) "self", NULL
31765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31767 if (SWIG_arg_fail(1)) SWIG_fail
;
31769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31770 (arg1
)->DoResize();
31772 wxPyEndAllowThreads(__tstate
);
31773 if (PyErr_Occurred()) SWIG_fail
;
31775 Py_INCREF(Py_None
); resultobj
= Py_None
;
31782 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31783 PyObject
*resultobj
;
31784 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31785 PyObject
* obj0
= 0 ;
31786 char *kwnames
[] = {
31787 (char *) "self", NULL
31790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31792 if (SWIG_arg_fail(1)) SWIG_fail
;
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 (arg1
)->ReCreateTree();
31797 wxPyEndAllowThreads(__tstate
);
31798 if (PyErr_Occurred()) SWIG_fail
;
31800 Py_INCREF(Py_None
); resultobj
= Py_None
;
31807 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31810 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31812 return Py_BuildValue((char *)"");
31814 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
;
31816 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31817 int arg2
= (int) (int)-1 ;
31818 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31819 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31820 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31821 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31822 long arg5
= (long) 0 ;
31823 wxDirFilterListCtrl
*result
;
31826 PyObject
* obj0
= 0 ;
31827 PyObject
* obj1
= 0 ;
31828 PyObject
* obj2
= 0 ;
31829 PyObject
* obj3
= 0 ;
31830 PyObject
* obj4
= 0 ;
31831 char *kwnames
[] = {
31832 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31837 if (SWIG_arg_fail(1)) SWIG_fail
;
31840 arg2
= (int const)(SWIG_As_int(obj1
));
31841 if (SWIG_arg_fail(2)) SWIG_fail
;
31847 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31853 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31858 arg5
= (long)(SWIG_As_long(obj4
));
31859 if (SWIG_arg_fail(5)) SWIG_fail
;
31863 if (!wxPyCheckForApp()) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31877 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31878 PyObject
*resultobj
;
31879 wxDirFilterListCtrl
*result
;
31880 char *kwnames
[] = {
31884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31886 if (!wxPyCheckForApp()) SWIG_fail
;
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31890 wxPyEndAllowThreads(__tstate
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31900 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31901 PyObject
*resultobj
;
31902 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31903 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31904 int arg3
= (int) (int)-1 ;
31905 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31906 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31907 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31908 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31909 long arg6
= (long) 0 ;
31913 PyObject
* obj0
= 0 ;
31914 PyObject
* obj1
= 0 ;
31915 PyObject
* obj2
= 0 ;
31916 PyObject
* obj3
= 0 ;
31917 PyObject
* obj4
= 0 ;
31918 PyObject
* obj5
= 0 ;
31919 char *kwnames
[] = {
31920 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31925 if (SWIG_arg_fail(1)) SWIG_fail
;
31926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31927 if (SWIG_arg_fail(2)) SWIG_fail
;
31930 arg3
= (int const)(SWIG_As_int(obj2
));
31931 if (SWIG_arg_fail(3)) SWIG_fail
;
31937 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31943 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31948 arg6
= (long)(SWIG_As_long(obj5
));
31949 if (SWIG_arg_fail(6)) SWIG_fail
;
31953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31954 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
31956 wxPyEndAllowThreads(__tstate
);
31957 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31968 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31969 PyObject
*resultobj
;
31970 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31971 wxString
*arg2
= 0 ;
31973 bool temp2
= false ;
31974 PyObject
* obj0
= 0 ;
31975 PyObject
* obj1
= 0 ;
31976 PyObject
* obj2
= 0 ;
31977 char *kwnames
[] = {
31978 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31983 if (SWIG_arg_fail(1)) SWIG_fail
;
31985 arg2
= wxString_in_helper(obj1
);
31986 if (arg2
== NULL
) SWIG_fail
;
31990 arg3
= (int)(SWIG_As_int(obj2
));
31991 if (SWIG_arg_fail(3)) SWIG_fail
;
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 Py_INCREF(Py_None
); resultobj
= Py_None
;
32015 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32018 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32020 return Py_BuildValue((char *)"");
32022 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32023 PyObject
*resultobj
;
32024 wxWindow
*arg1
= (wxWindow
*) 0 ;
32025 int arg2
= (int) (int)-1 ;
32026 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32027 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32028 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32029 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32030 long arg5
= (long) 0 ;
32031 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32032 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32033 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32034 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32035 wxPyControl
*result
;
32038 bool temp7
= false ;
32039 PyObject
* obj0
= 0 ;
32040 PyObject
* obj1
= 0 ;
32041 PyObject
* obj2
= 0 ;
32042 PyObject
* obj3
= 0 ;
32043 PyObject
* obj4
= 0 ;
32044 PyObject
* obj5
= 0 ;
32045 PyObject
* obj6
= 0 ;
32046 char *kwnames
[] = {
32047 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32052 if (SWIG_arg_fail(1)) SWIG_fail
;
32055 arg2
= (int const)(SWIG_As_int(obj1
));
32056 if (SWIG_arg_fail(2)) SWIG_fail
;
32062 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32068 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32073 arg5
= (long)(SWIG_As_long(obj4
));
32074 if (SWIG_arg_fail(5)) SWIG_fail
;
32079 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32080 if (SWIG_arg_fail(6)) SWIG_fail
;
32081 if (arg6
== NULL
) {
32082 SWIG_null_ref("wxValidator");
32084 if (SWIG_arg_fail(6)) SWIG_fail
;
32089 arg7
= wxString_in_helper(obj6
);
32090 if (arg7
== NULL
) SWIG_fail
;
32095 if (!wxPyCheckForApp()) SWIG_fail
;
32096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32097 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32099 wxPyEndAllowThreads(__tstate
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32117 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32118 PyObject
*resultobj
;
32119 wxPyControl
*result
;
32120 char *kwnames
[] = {
32124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32126 if (!wxPyCheckForApp()) SWIG_fail
;
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 result
= (wxPyControl
*)new wxPyControl();
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32140 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
;
32142 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32143 PyObject
*arg2
= (PyObject
*) 0 ;
32144 PyObject
*arg3
= (PyObject
*) 0 ;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 PyObject
* obj2
= 0 ;
32148 char *kwnames
[] = {
32149 (char *) "self",(char *) "self",(char *) "_class", NULL
32152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32154 if (SWIG_arg_fail(1)) SWIG_fail
;
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32164 Py_INCREF(Py_None
); resultobj
= Py_None
;
32171 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
;
32173 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32176 PyObject
* obj0
= 0 ;
32177 PyObject
* obj1
= 0 ;
32178 char *kwnames
[] = {
32179 (char *) "self",(char *) "size", NULL
32182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32184 if (SWIG_arg_fail(1)) SWIG_fail
;
32187 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32191 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32193 wxPyEndAllowThreads(__tstate
);
32194 if (PyErr_Occurred()) SWIG_fail
;
32196 Py_INCREF(Py_None
); resultobj
= Py_None
;
32203 static PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32204 PyObject
*resultobj
;
32205 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32206 wxDC
*arg2
= (wxDC
*) 0 ;
32208 PyObject
* obj0
= 0 ;
32209 PyObject
* obj1
= 0 ;
32210 char *kwnames
[] = {
32211 (char *) "self",(char *) "dc", NULL
32214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32216 if (SWIG_arg_fail(1)) SWIG_fail
;
32217 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
32218 if (SWIG_arg_fail(2)) SWIG_fail
;
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32235 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32236 PyObject
*resultobj
;
32237 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 PyObject
* obj2
= 0 ;
32245 PyObject
* obj3
= 0 ;
32246 PyObject
* obj4
= 0 ;
32247 char *kwnames
[] = {
32248 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32253 if (SWIG_arg_fail(1)) SWIG_fail
;
32255 arg2
= (int)(SWIG_As_int(obj1
));
32256 if (SWIG_arg_fail(2)) SWIG_fail
;
32259 arg3
= (int)(SWIG_As_int(obj2
));
32260 if (SWIG_arg_fail(3)) SWIG_fail
;
32263 arg4
= (int)(SWIG_As_int(obj3
));
32264 if (SWIG_arg_fail(4)) SWIG_fail
;
32267 arg5
= (int)(SWIG_As_int(obj4
));
32268 if (SWIG_arg_fail(5)) SWIG_fail
;
32271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32272 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32277 Py_INCREF(Py_None
); resultobj
= Py_None
;
32284 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32285 PyObject
*resultobj
;
32286 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32291 int arg6
= (int) wxSIZE_AUTO
;
32292 PyObject
* obj0
= 0 ;
32293 PyObject
* obj1
= 0 ;
32294 PyObject
* obj2
= 0 ;
32295 PyObject
* obj3
= 0 ;
32296 PyObject
* obj4
= 0 ;
32297 PyObject
* obj5
= 0 ;
32298 char *kwnames
[] = {
32299 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32304 if (SWIG_arg_fail(1)) SWIG_fail
;
32306 arg2
= (int)(SWIG_As_int(obj1
));
32307 if (SWIG_arg_fail(2)) SWIG_fail
;
32310 arg3
= (int)(SWIG_As_int(obj2
));
32311 if (SWIG_arg_fail(3)) SWIG_fail
;
32314 arg4
= (int)(SWIG_As_int(obj3
));
32315 if (SWIG_arg_fail(4)) SWIG_fail
;
32318 arg5
= (int)(SWIG_As_int(obj4
));
32319 if (SWIG_arg_fail(5)) SWIG_fail
;
32323 arg6
= (int)(SWIG_As_int(obj5
));
32324 if (SWIG_arg_fail(6)) SWIG_fail
;
32328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32329 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 Py_INCREF(Py_None
); resultobj
= Py_None
;
32341 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
;
32343 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32346 PyObject
* obj0
= 0 ;
32347 PyObject
* obj1
= 0 ;
32348 PyObject
* obj2
= 0 ;
32349 char *kwnames
[] = {
32350 (char *) "self",(char *) "width",(char *) "height", NULL
32353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32355 if (SWIG_arg_fail(1)) SWIG_fail
;
32357 arg2
= (int)(SWIG_As_int(obj1
));
32358 if (SWIG_arg_fail(2)) SWIG_fail
;
32361 arg3
= (int)(SWIG_As_int(obj2
));
32362 if (SWIG_arg_fail(3)) SWIG_fail
;
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32371 Py_INCREF(Py_None
); resultobj
= Py_None
;
32378 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32379 PyObject
*resultobj
;
32380 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32383 PyObject
* obj0
= 0 ;
32384 PyObject
* obj1
= 0 ;
32385 PyObject
* obj2
= 0 ;
32386 char *kwnames
[] = {
32387 (char *) "self",(char *) "x",(char *) "y", NULL
32390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32392 if (SWIG_arg_fail(1)) SWIG_fail
;
32394 arg2
= (int)(SWIG_As_int(obj1
));
32395 if (SWIG_arg_fail(2)) SWIG_fail
;
32398 arg3
= (int)(SWIG_As_int(obj2
));
32399 if (SWIG_arg_fail(3)) SWIG_fail
;
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 Py_INCREF(Py_None
); resultobj
= Py_None
;
32415 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32416 PyObject
*resultobj
;
32417 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32418 int *arg2
= (int *) 0 ;
32419 int *arg3
= (int *) 0 ;
32424 PyObject
* obj0
= 0 ;
32425 char *kwnames
[] = {
32426 (char *) "self", NULL
32429 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32430 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32433 if (SWIG_arg_fail(1)) SWIG_fail
;
32435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32436 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32438 wxPyEndAllowThreads(__tstate
);
32439 if (PyErr_Occurred()) SWIG_fail
;
32441 Py_INCREF(Py_None
); resultobj
= Py_None
;
32442 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32443 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32444 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32445 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32452 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32453 PyObject
*resultobj
;
32454 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32455 int *arg2
= (int *) 0 ;
32456 int *arg3
= (int *) 0 ;
32461 PyObject
* obj0
= 0 ;
32462 char *kwnames
[] = {
32463 (char *) "self", NULL
32466 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32467 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32470 if (SWIG_arg_fail(1)) SWIG_fail
;
32472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32473 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32475 wxPyEndAllowThreads(__tstate
);
32476 if (PyErr_Occurred()) SWIG_fail
;
32478 Py_INCREF(Py_None
); resultobj
= Py_None
;
32479 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32480 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32481 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32482 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32489 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32490 PyObject
*resultobj
;
32491 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32492 int *arg2
= (int *) 0 ;
32493 int *arg3
= (int *) 0 ;
32498 PyObject
* obj0
= 0 ;
32499 char *kwnames
[] = {
32500 (char *) "self", NULL
32503 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32504 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32507 if (SWIG_arg_fail(1)) SWIG_fail
;
32509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32510 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32512 wxPyEndAllowThreads(__tstate
);
32513 if (PyErr_Occurred()) SWIG_fail
;
32515 Py_INCREF(Py_None
); resultobj
= Py_None
;
32516 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32517 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32518 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32519 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32526 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
;
32528 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32530 PyObject
* obj0
= 0 ;
32531 char *kwnames
[] = {
32532 (char *) "self", NULL
32535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32537 if (SWIG_arg_fail(1)) SWIG_fail
;
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32540 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32546 wxSize
* resultptr
;
32547 resultptr
= new wxSize((wxSize
&)(result
));
32548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32556 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
;
32558 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32560 PyObject
* obj0
= 0 ;
32561 char *kwnames
[] = {
32562 (char *) "self", NULL
32565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32567 if (SWIG_arg_fail(1)) SWIG_fail
;
32569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32570 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32572 wxPyEndAllowThreads(__tstate
);
32573 if (PyErr_Occurred()) SWIG_fail
;
32576 wxSize
* resultptr
;
32577 resultptr
= new wxSize((wxSize
&)(result
));
32578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32586 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32587 PyObject
*resultobj
;
32588 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32589 PyObject
* obj0
= 0 ;
32590 char *kwnames
[] = {
32591 (char *) "self", NULL
32594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32596 if (SWIG_arg_fail(1)) SWIG_fail
;
32598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32599 (arg1
)->base_InitDialog();
32601 wxPyEndAllowThreads(__tstate
);
32602 if (PyErr_Occurred()) SWIG_fail
;
32604 Py_INCREF(Py_None
); resultobj
= Py_None
;
32611 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32612 PyObject
*resultobj
;
32613 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32615 PyObject
* obj0
= 0 ;
32616 char *kwnames
[] = {
32617 (char *) "self", NULL
32620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32622 if (SWIG_arg_fail(1)) SWIG_fail
;
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 result
= (bool)(arg1
)->base_TransferDataToWindow();
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32639 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32640 PyObject
*resultobj
;
32641 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32643 PyObject
* obj0
= 0 ;
32644 char *kwnames
[] = {
32645 (char *) "self", NULL
32648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32650 if (SWIG_arg_fail(1)) SWIG_fail
;
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32667 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
;
32669 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32671 PyObject
* obj0
= 0 ;
32672 char *kwnames
[] = {
32673 (char *) "self", NULL
32676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32678 if (SWIG_arg_fail(1)) SWIG_fail
;
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 result
= (bool)(arg1
)->base_Validate();
32683 wxPyEndAllowThreads(__tstate
);
32684 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32695 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32696 PyObject
*resultobj
;
32697 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32699 PyObject
* obj0
= 0 ;
32700 char *kwnames
[] = {
32701 (char *) "self", NULL
32704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32706 if (SWIG_arg_fail(1)) SWIG_fail
;
32708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32709 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32711 wxPyEndAllowThreads(__tstate
);
32712 if (PyErr_Occurred()) SWIG_fail
;
32715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32723 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
;
32725 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32727 PyObject
* obj0
= 0 ;
32728 char *kwnames
[] = {
32729 (char *) "self", NULL
32732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32734 if (SWIG_arg_fail(1)) SWIG_fail
;
32736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32737 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32739 wxPyEndAllowThreads(__tstate
);
32740 if (PyErr_Occurred()) SWIG_fail
;
32743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32751 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32752 PyObject
*resultobj
;
32753 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32755 PyObject
* obj0
= 0 ;
32756 char *kwnames
[] = {
32757 (char *) "self", NULL
32760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32762 if (SWIG_arg_fail(1)) SWIG_fail
;
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32767 wxPyEndAllowThreads(__tstate
);
32768 if (PyErr_Occurred()) SWIG_fail
;
32771 wxSize
* resultptr
;
32772 resultptr
= new wxSize((wxSize
&)(result
));
32773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32781 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
;
32783 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32784 wxWindow
*arg2
= (wxWindow
*) 0 ;
32785 PyObject
* obj0
= 0 ;
32786 PyObject
* obj1
= 0 ;
32787 char *kwnames
[] = {
32788 (char *) "self",(char *) "child", NULL
32791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32793 if (SWIG_arg_fail(1)) SWIG_fail
;
32794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32795 if (SWIG_arg_fail(2)) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32798 (arg1
)->base_AddChild(arg2
);
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32803 Py_INCREF(Py_None
); resultobj
= Py_None
;
32810 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32811 PyObject
*resultobj
;
32812 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32813 wxWindow
*arg2
= (wxWindow
*) 0 ;
32814 PyObject
* obj0
= 0 ;
32815 PyObject
* obj1
= 0 ;
32816 char *kwnames
[] = {
32817 (char *) "self",(char *) "child", NULL
32820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32822 if (SWIG_arg_fail(1)) SWIG_fail
;
32823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32824 if (SWIG_arg_fail(2)) SWIG_fail
;
32826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32827 (arg1
)->base_RemoveChild(arg2
);
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32832 Py_INCREF(Py_None
); resultobj
= Py_None
;
32839 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
;
32841 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32843 PyObject
* obj0
= 0 ;
32844 char *kwnames
[] = {
32845 (char *) "self", NULL
32848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32850 if (SWIG_arg_fail(1)) SWIG_fail
;
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32855 wxPyEndAllowThreads(__tstate
);
32856 if (PyErr_Occurred()) SWIG_fail
;
32859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32867 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32868 PyObject
*resultobj
;
32869 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32870 wxVisualAttributes result
;
32871 PyObject
* obj0
= 0 ;
32872 char *kwnames
[] = {
32873 (char *) "self", NULL
32876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32878 if (SWIG_arg_fail(1)) SWIG_fail
;
32880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32881 result
= (arg1
)->base_GetDefaultAttributes();
32883 wxPyEndAllowThreads(__tstate
);
32884 if (PyErr_Occurred()) SWIG_fail
;
32887 wxVisualAttributes
* resultptr
;
32888 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32897 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32900 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32902 return Py_BuildValue((char *)"");
32904 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32905 PyObject
*resultobj
;
32906 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32907 int arg2
= (int) 0 ;
32908 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32909 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32910 wxHelpEvent
*result
;
32912 PyObject
* obj0
= 0 ;
32913 PyObject
* obj1
= 0 ;
32914 PyObject
* obj2
= 0 ;
32915 char *kwnames
[] = {
32916 (char *) "type",(char *) "winid",(char *) "pt", NULL
32919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32922 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32923 if (SWIG_arg_fail(1)) SWIG_fail
;
32928 arg2
= (int)(SWIG_As_int(obj1
));
32929 if (SWIG_arg_fail(2)) SWIG_fail
;
32935 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32942 wxPyEndAllowThreads(__tstate
);
32943 if (PyErr_Occurred()) SWIG_fail
;
32945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32952 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32953 PyObject
*resultobj
;
32954 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32956 PyObject
* obj0
= 0 ;
32957 char *kwnames
[] = {
32958 (char *) "self", NULL
32961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32963 if (SWIG_arg_fail(1)) SWIG_fail
;
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32968 wxPyEndAllowThreads(__tstate
);
32969 if (PyErr_Occurred()) SWIG_fail
;
32972 wxPoint
* resultptr
;
32973 resultptr
= new wxPoint((wxPoint
const &)(result
));
32974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
32982 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32983 PyObject
*resultobj
;
32984 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32985 wxPoint
*arg2
= 0 ;
32987 PyObject
* obj0
= 0 ;
32988 PyObject
* obj1
= 0 ;
32989 char *kwnames
[] = {
32990 (char *) "self",(char *) "pos", NULL
32993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
32994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32995 if (SWIG_arg_fail(1)) SWIG_fail
;
32998 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33002 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33007 Py_INCREF(Py_None
); resultobj
= Py_None
;
33014 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33015 PyObject
*resultobj
;
33016 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33018 PyObject
* obj0
= 0 ;
33019 char *kwnames
[] = {
33020 (char *) "self", NULL
33023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33025 if (SWIG_arg_fail(1)) SWIG_fail
;
33027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33030 result
= (wxString
*) &_result_ref
;
33033 wxPyEndAllowThreads(__tstate
);
33034 if (PyErr_Occurred()) SWIG_fail
;
33038 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33040 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33049 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33050 PyObject
*resultobj
;
33051 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33052 wxString
*arg2
= 0 ;
33053 bool temp2
= false ;
33054 PyObject
* obj0
= 0 ;
33055 PyObject
* obj1
= 0 ;
33056 char *kwnames
[] = {
33057 (char *) "self",(char *) "link", NULL
33060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33062 if (SWIG_arg_fail(1)) SWIG_fail
;
33064 arg2
= wxString_in_helper(obj1
);
33065 if (arg2
== NULL
) SWIG_fail
;
33069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 (arg1
)->SetLink((wxString
const &)*arg2
);
33072 wxPyEndAllowThreads(__tstate
);
33073 if (PyErr_Occurred()) SWIG_fail
;
33075 Py_INCREF(Py_None
); resultobj
= Py_None
;
33090 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
;
33092 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33094 PyObject
* obj0
= 0 ;
33095 char *kwnames
[] = {
33096 (char *) "self", NULL
33099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33101 if (SWIG_arg_fail(1)) SWIG_fail
;
33103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33105 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33106 result
= (wxString
*) &_result_ref
;
33109 wxPyEndAllowThreads(__tstate
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33116 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33125 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33126 PyObject
*resultobj
;
33127 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33128 wxString
*arg2
= 0 ;
33129 bool temp2
= false ;
33130 PyObject
* obj0
= 0 ;
33131 PyObject
* obj1
= 0 ;
33132 char *kwnames
[] = {
33133 (char *) "self",(char *) "target", NULL
33136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33138 if (SWIG_arg_fail(1)) SWIG_fail
;
33140 arg2
= wxString_in_helper(obj1
);
33141 if (arg2
== NULL
) SWIG_fail
;
33145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33146 (arg1
)->SetTarget((wxString
const &)*arg2
);
33148 wxPyEndAllowThreads(__tstate
);
33149 if (PyErr_Occurred()) SWIG_fail
;
33151 Py_INCREF(Py_None
); resultobj
= Py_None
;
33166 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33169 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33171 return Py_BuildValue((char *)"");
33173 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
;
33175 wxWindow
*arg1
= (wxWindow
*) NULL
;
33176 bool arg2
= (bool) true ;
33177 wxContextHelp
*result
;
33178 PyObject
* obj0
= 0 ;
33179 PyObject
* obj1
= 0 ;
33180 char *kwnames
[] = {
33181 (char *) "window",(char *) "doNow", NULL
33184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33187 if (SWIG_arg_fail(1)) SWIG_fail
;
33191 arg2
= (bool)(SWIG_As_bool(obj1
));
33192 if (SWIG_arg_fail(2)) SWIG_fail
;
33196 if (!wxPyCheckForApp()) SWIG_fail
;
33197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33198 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33200 wxPyEndAllowThreads(__tstate
);
33201 if (PyErr_Occurred()) SWIG_fail
;
33203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33210 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33211 PyObject
*resultobj
;
33212 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33213 PyObject
* obj0
= 0 ;
33214 char *kwnames
[] = {
33215 (char *) "self", NULL
33218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33220 if (SWIG_arg_fail(1)) SWIG_fail
;
33222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33225 wxPyEndAllowThreads(__tstate
);
33226 if (PyErr_Occurred()) SWIG_fail
;
33228 Py_INCREF(Py_None
); resultobj
= Py_None
;
33235 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33236 PyObject
*resultobj
;
33237 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33238 wxWindow
*arg2
= (wxWindow
*) NULL
;
33240 PyObject
* obj0
= 0 ;
33241 PyObject
* obj1
= 0 ;
33242 char *kwnames
[] = {
33243 (char *) "self",(char *) "window", NULL
33246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33248 if (SWIG_arg_fail(1)) SWIG_fail
;
33250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33251 if (SWIG_arg_fail(2)) SWIG_fail
;
33254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33255 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33257 wxPyEndAllowThreads(__tstate
);
33258 if (PyErr_Occurred()) SWIG_fail
;
33261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33269 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33270 PyObject
*resultobj
;
33271 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33273 PyObject
* obj0
= 0 ;
33274 char *kwnames
[] = {
33275 (char *) "self", NULL
33278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33280 if (SWIG_arg_fail(1)) SWIG_fail
;
33282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33283 result
= (bool)(arg1
)->EndContextHelp();
33285 wxPyEndAllowThreads(__tstate
);
33286 if (PyErr_Occurred()) SWIG_fail
;
33289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33297 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33300 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33302 return Py_BuildValue((char *)"");
33304 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33305 PyObject
*resultobj
;
33306 wxWindow
*arg1
= (wxWindow
*) 0 ;
33307 int arg2
= (int) wxID_CONTEXT_HELP
;
33308 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33309 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33310 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33311 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33312 long arg5
= (long) wxBU_AUTODRAW
;
33313 wxContextHelpButton
*result
;
33316 PyObject
* obj0
= 0 ;
33317 PyObject
* obj1
= 0 ;
33318 PyObject
* obj2
= 0 ;
33319 PyObject
* obj3
= 0 ;
33320 PyObject
* obj4
= 0 ;
33321 char *kwnames
[] = {
33322 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33327 if (SWIG_arg_fail(1)) SWIG_fail
;
33330 arg2
= (int)(SWIG_As_int(obj1
));
33331 if (SWIG_arg_fail(2)) SWIG_fail
;
33337 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33343 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33348 arg5
= (long)(SWIG_As_long(obj4
));
33349 if (SWIG_arg_fail(5)) SWIG_fail
;
33353 if (!wxPyCheckForApp()) SWIG_fail
;
33354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33355 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33357 wxPyEndAllowThreads(__tstate
);
33358 if (PyErr_Occurred()) SWIG_fail
;
33360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33367 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33370 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33372 return Py_BuildValue((char *)"");
33374 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33375 PyObject
*resultobj
;
33376 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33377 wxHelpProvider
*result
;
33378 PyObject
* obj0
= 0 ;
33379 char *kwnames
[] = {
33380 (char *) "helpProvider", NULL
33383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33385 if (SWIG_arg_fail(1)) SWIG_fail
;
33387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33390 wxPyEndAllowThreads(__tstate
);
33391 if (PyErr_Occurred()) SWIG_fail
;
33393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33400 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33401 PyObject
*resultobj
;
33402 wxHelpProvider
*result
;
33403 char *kwnames
[] = {
33407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33410 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33412 wxPyEndAllowThreads(__tstate
);
33413 if (PyErr_Occurred()) SWIG_fail
;
33415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33422 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33423 PyObject
*resultobj
;
33424 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33425 wxWindow
*arg2
= (wxWindow
*) 0 ;
33427 PyObject
* obj0
= 0 ;
33428 PyObject
* obj1
= 0 ;
33429 char *kwnames
[] = {
33430 (char *) "self",(char *) "window", NULL
33433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33435 if (SWIG_arg_fail(1)) SWIG_fail
;
33436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33437 if (SWIG_arg_fail(2)) SWIG_fail
;
33439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33440 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33442 wxPyEndAllowThreads(__tstate
);
33443 if (PyErr_Occurred()) SWIG_fail
;
33447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33458 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33459 PyObject
*resultobj
;
33460 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33461 wxWindow
*arg2
= (wxWindow
*) 0 ;
33463 PyObject
* obj0
= 0 ;
33464 PyObject
* obj1
= 0 ;
33465 char *kwnames
[] = {
33466 (char *) "self",(char *) "window", NULL
33469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33471 if (SWIG_arg_fail(1)) SWIG_fail
;
33472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33473 if (SWIG_arg_fail(2)) SWIG_fail
;
33475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33476 result
= (bool)(arg1
)->ShowHelp(arg2
);
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33490 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
;
33492 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33493 wxWindow
*arg2
= (wxWindow
*) 0 ;
33494 wxString
*arg3
= 0 ;
33495 bool temp3
= false ;
33496 PyObject
* obj0
= 0 ;
33497 PyObject
* obj1
= 0 ;
33498 PyObject
* obj2
= 0 ;
33499 char *kwnames
[] = {
33500 (char *) "self",(char *) "window",(char *) "text", NULL
33503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33505 if (SWIG_arg_fail(1)) SWIG_fail
;
33506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33507 if (SWIG_arg_fail(2)) SWIG_fail
;
33509 arg3
= wxString_in_helper(obj2
);
33510 if (arg3
== NULL
) SWIG_fail
;
33514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33515 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 Py_INCREF(Py_None
); resultobj
= Py_None
;
33535 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33536 PyObject
*resultobj
;
33537 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33539 wxString
*arg3
= 0 ;
33540 bool temp3
= false ;
33541 PyObject
* obj0
= 0 ;
33542 PyObject
* obj1
= 0 ;
33543 PyObject
* obj2
= 0 ;
33544 char *kwnames
[] = {
33545 (char *) "self",(char *) "id",(char *) "text", NULL
33548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33550 if (SWIG_arg_fail(1)) SWIG_fail
;
33552 arg2
= (int)(SWIG_As_int(obj1
));
33553 if (SWIG_arg_fail(2)) SWIG_fail
;
33556 arg3
= wxString_in_helper(obj2
);
33557 if (arg3
== NULL
) SWIG_fail
;
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33567 Py_INCREF(Py_None
); resultobj
= Py_None
;
33582 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33583 PyObject
*resultobj
;
33584 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33585 wxWindow
*arg2
= (wxWindow
*) 0 ;
33586 PyObject
* obj0
= 0 ;
33587 PyObject
* obj1
= 0 ;
33588 char *kwnames
[] = {
33589 (char *) "self",(char *) "window", NULL
33592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33594 if (SWIG_arg_fail(1)) SWIG_fail
;
33595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33596 if (SWIG_arg_fail(2)) SWIG_fail
;
33598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33599 (arg1
)->RemoveHelp(arg2
);
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33604 Py_INCREF(Py_None
); resultobj
= Py_None
;
33611 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33612 PyObject
*resultobj
;
33613 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33614 PyObject
* obj0
= 0 ;
33615 char *kwnames
[] = {
33616 (char *) "self", NULL
33619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33621 if (SWIG_arg_fail(1)) SWIG_fail
;
33623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33624 wxHelpProvider_Destroy(arg1
);
33626 wxPyEndAllowThreads(__tstate
);
33627 if (PyErr_Occurred()) SWIG_fail
;
33629 Py_INCREF(Py_None
); resultobj
= Py_None
;
33636 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33639 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33641 return Py_BuildValue((char *)"");
33643 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33644 PyObject
*resultobj
;
33645 wxSimpleHelpProvider
*result
;
33646 char *kwnames
[] = {
33650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33665 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33668 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33670 return Py_BuildValue((char *)"");
33672 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33673 PyObject
*resultobj
;
33674 wxBitmap
*arg1
= 0 ;
33675 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33676 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33677 wxGenericDragImage
*result
;
33678 PyObject
* obj0
= 0 ;
33679 PyObject
* obj1
= 0 ;
33680 char *kwnames
[] = {
33681 (char *) "image",(char *) "cursor", NULL
33684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33687 if (SWIG_arg_fail(1)) SWIG_fail
;
33688 if (arg1
== NULL
) {
33689 SWIG_null_ref("wxBitmap");
33691 if (SWIG_arg_fail(1)) SWIG_fail
;
33695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33696 if (SWIG_arg_fail(2)) SWIG_fail
;
33697 if (arg2
== NULL
) {
33698 SWIG_null_ref("wxCursor");
33700 if (SWIG_arg_fail(2)) SWIG_fail
;
33704 if (!wxPyCheckForApp()) SWIG_fail
;
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33708 wxPyEndAllowThreads(__tstate
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33718 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
;
33721 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33722 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33723 wxGenericDragImage
*result
;
33724 PyObject
* obj0
= 0 ;
33725 PyObject
* obj1
= 0 ;
33726 char *kwnames
[] = {
33727 (char *) "image",(char *) "cursor", NULL
33730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33733 if (SWIG_arg_fail(1)) SWIG_fail
;
33734 if (arg1
== NULL
) {
33735 SWIG_null_ref("wxIcon");
33737 if (SWIG_arg_fail(1)) SWIG_fail
;
33741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33742 if (SWIG_arg_fail(2)) SWIG_fail
;
33743 if (arg2
== NULL
) {
33744 SWIG_null_ref("wxCursor");
33746 if (SWIG_arg_fail(2)) SWIG_fail
;
33750 if (!wxPyCheckForApp()) SWIG_fail
;
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33754 wxPyEndAllowThreads(__tstate
);
33755 if (PyErr_Occurred()) SWIG_fail
;
33757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33764 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33765 PyObject
*resultobj
;
33766 wxString
*arg1
= 0 ;
33767 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33768 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33769 wxGenericDragImage
*result
;
33770 bool temp1
= false ;
33771 PyObject
* obj0
= 0 ;
33772 PyObject
* obj1
= 0 ;
33773 char *kwnames
[] = {
33774 (char *) "str",(char *) "cursor", NULL
33777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33779 arg1
= wxString_in_helper(obj0
);
33780 if (arg1
== NULL
) SWIG_fail
;
33785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33786 if (SWIG_arg_fail(2)) SWIG_fail
;
33787 if (arg2
== NULL
) {
33788 SWIG_null_ref("wxCursor");
33790 if (SWIG_arg_fail(2)) SWIG_fail
;
33794 if (!wxPyCheckForApp()) SWIG_fail
;
33795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33796 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33798 wxPyEndAllowThreads(__tstate
);
33799 if (PyErr_Occurred()) SWIG_fail
;
33801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33816 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33817 PyObject
*resultobj
;
33818 wxPyTreeCtrl
*arg1
= 0 ;
33819 wxTreeItemId
*arg2
= 0 ;
33820 wxGenericDragImage
*result
;
33821 PyObject
* obj0
= 0 ;
33822 PyObject
* obj1
= 0 ;
33823 char *kwnames
[] = {
33824 (char *) "treeCtrl",(char *) "id", NULL
33827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33830 if (SWIG_arg_fail(1)) SWIG_fail
;
33831 if (arg1
== NULL
) {
33832 SWIG_null_ref("wxPyTreeCtrl");
33834 if (SWIG_arg_fail(1)) SWIG_fail
;
33837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33838 if (SWIG_arg_fail(2)) SWIG_fail
;
33839 if (arg2
== NULL
) {
33840 SWIG_null_ref("wxTreeItemId");
33842 if (SWIG_arg_fail(2)) SWIG_fail
;
33845 if (!wxPyCheckForApp()) SWIG_fail
;
33846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33847 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33849 wxPyEndAllowThreads(__tstate
);
33850 if (PyErr_Occurred()) SWIG_fail
;
33852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33859 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33860 PyObject
*resultobj
;
33861 wxPyListCtrl
*arg1
= 0 ;
33863 wxGenericDragImage
*result
;
33864 PyObject
* obj0
= 0 ;
33865 PyObject
* obj1
= 0 ;
33866 char *kwnames
[] = {
33867 (char *) "listCtrl",(char *) "id", NULL
33870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33873 if (SWIG_arg_fail(1)) SWIG_fail
;
33874 if (arg1
== NULL
) {
33875 SWIG_null_ref("wxPyListCtrl");
33877 if (SWIG_arg_fail(1)) SWIG_fail
;
33880 arg2
= (long)(SWIG_As_long(obj1
));
33881 if (SWIG_arg_fail(2)) SWIG_fail
;
33884 if (!wxPyCheckForApp()) SWIG_fail
;
33885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33886 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33888 wxPyEndAllowThreads(__tstate
);
33889 if (PyErr_Occurred()) SWIG_fail
;
33891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33898 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33899 PyObject
*resultobj
;
33900 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33901 PyObject
* obj0
= 0 ;
33902 char *kwnames
[] = {
33903 (char *) "self", NULL
33906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33908 if (SWIG_arg_fail(1)) SWIG_fail
;
33910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33913 wxPyEndAllowThreads(__tstate
);
33914 if (PyErr_Occurred()) SWIG_fail
;
33916 Py_INCREF(Py_None
); resultobj
= Py_None
;
33923 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33924 PyObject
*resultobj
;
33925 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33926 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33927 PyObject
* obj0
= 0 ;
33928 PyObject
* obj1
= 0 ;
33929 char *kwnames
[] = {
33930 (char *) "self",(char *) "bitmap", NULL
33933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33935 if (SWIG_arg_fail(1)) SWIG_fail
;
33936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33937 if (SWIG_arg_fail(2)) SWIG_fail
;
33939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33940 (arg1
)->SetBackingBitmap(arg2
);
33942 wxPyEndAllowThreads(__tstate
);
33943 if (PyErr_Occurred()) SWIG_fail
;
33945 Py_INCREF(Py_None
); resultobj
= Py_None
;
33952 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33953 PyObject
*resultobj
;
33954 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33955 wxPoint
*arg2
= 0 ;
33956 wxWindow
*arg3
= (wxWindow
*) 0 ;
33957 bool arg4
= (bool) false ;
33958 wxRect
*arg5
= (wxRect
*) NULL
;
33961 PyObject
* obj0
= 0 ;
33962 PyObject
* obj1
= 0 ;
33963 PyObject
* obj2
= 0 ;
33964 PyObject
* obj3
= 0 ;
33965 PyObject
* obj4
= 0 ;
33966 char *kwnames
[] = {
33967 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33972 if (SWIG_arg_fail(1)) SWIG_fail
;
33975 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33977 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33978 if (SWIG_arg_fail(3)) SWIG_fail
;
33981 arg4
= (bool)(SWIG_As_bool(obj3
));
33982 if (SWIG_arg_fail(4)) SWIG_fail
;
33986 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
33987 if (SWIG_arg_fail(5)) SWIG_fail
;
33990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33991 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
33993 wxPyEndAllowThreads(__tstate
);
33994 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34005 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34006 PyObject
*resultobj
;
34007 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34008 wxPoint
*arg2
= 0 ;
34009 wxWindow
*arg3
= (wxWindow
*) 0 ;
34010 wxWindow
*arg4
= (wxWindow
*) 0 ;
34013 PyObject
* obj0
= 0 ;
34014 PyObject
* obj1
= 0 ;
34015 PyObject
* obj2
= 0 ;
34016 PyObject
* obj3
= 0 ;
34017 char *kwnames
[] = {
34018 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34023 if (SWIG_arg_fail(1)) SWIG_fail
;
34026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34028 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34029 if (SWIG_arg_fail(3)) SWIG_fail
;
34030 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34031 if (SWIG_arg_fail(4)) SWIG_fail
;
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34034 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34048 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34049 PyObject
*resultobj
;
34050 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34052 PyObject
* obj0
= 0 ;
34053 char *kwnames
[] = {
34054 (char *) "self", NULL
34057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34059 if (SWIG_arg_fail(1)) SWIG_fail
;
34061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34062 result
= (bool)(arg1
)->EndDrag();
34064 wxPyEndAllowThreads(__tstate
);
34065 if (PyErr_Occurred()) SWIG_fail
;
34068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34076 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34077 PyObject
*resultobj
;
34078 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34079 wxPoint
*arg2
= 0 ;
34082 PyObject
* obj0
= 0 ;
34083 PyObject
* obj1
= 0 ;
34084 char *kwnames
[] = {
34085 (char *) "self",(char *) "pt", NULL
34088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34090 if (SWIG_arg_fail(1)) SWIG_fail
;
34093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34099 wxPyEndAllowThreads(__tstate
);
34100 if (PyErr_Occurred()) SWIG_fail
;
34103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34111 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34112 PyObject
*resultobj
;
34113 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34115 PyObject
* obj0
= 0 ;
34116 char *kwnames
[] = {
34117 (char *) "self", NULL
34120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34122 if (SWIG_arg_fail(1)) SWIG_fail
;
34124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34125 result
= (bool)(arg1
)->Show();
34127 wxPyEndAllowThreads(__tstate
);
34128 if (PyErr_Occurred()) SWIG_fail
;
34131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34139 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34140 PyObject
*resultobj
;
34141 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34143 PyObject
* obj0
= 0 ;
34144 char *kwnames
[] = {
34145 (char *) "self", NULL
34148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34150 if (SWIG_arg_fail(1)) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 result
= (bool)(arg1
)->Hide();
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34167 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34168 PyObject
*resultobj
;
34169 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34170 wxPoint
*arg2
= 0 ;
34173 PyObject
* obj0
= 0 ;
34174 PyObject
* obj1
= 0 ;
34175 char *kwnames
[] = {
34176 (char *) "self",(char *) "pos", NULL
34179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34181 if (SWIG_arg_fail(1)) SWIG_fail
;
34184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34188 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34190 wxPyEndAllowThreads(__tstate
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34194 wxRect
* resultptr
;
34195 resultptr
= new wxRect((wxRect
&)(result
));
34196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34204 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34205 PyObject
*resultobj
;
34206 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34208 wxPoint
*arg3
= 0 ;
34211 PyObject
* obj0
= 0 ;
34212 PyObject
* obj1
= 0 ;
34213 PyObject
* obj2
= 0 ;
34214 char *kwnames
[] = {
34215 (char *) "self",(char *) "dc",(char *) "pos", NULL
34218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34220 if (SWIG_arg_fail(1)) SWIG_fail
;
34222 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34223 if (SWIG_arg_fail(2)) SWIG_fail
;
34224 if (arg2
== NULL
) {
34225 SWIG_null_ref("wxDC");
34227 if (SWIG_arg_fail(2)) SWIG_fail
;
34231 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34235 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34237 wxPyEndAllowThreads(__tstate
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34249 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34250 PyObject
*resultobj
;
34251 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34253 wxMemoryDC
*arg3
= 0 ;
34259 PyObject
* obj0
= 0 ;
34260 PyObject
* obj1
= 0 ;
34261 PyObject
* obj2
= 0 ;
34262 PyObject
* obj3
= 0 ;
34263 PyObject
* obj4
= 0 ;
34264 char *kwnames
[] = {
34265 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34270 if (SWIG_arg_fail(1)) SWIG_fail
;
34272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34273 if (SWIG_arg_fail(2)) SWIG_fail
;
34274 if (arg2
== NULL
) {
34275 SWIG_null_ref("wxDC");
34277 if (SWIG_arg_fail(2)) SWIG_fail
;
34280 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34281 if (SWIG_arg_fail(3)) SWIG_fail
;
34282 if (arg3
== NULL
) {
34283 SWIG_null_ref("wxMemoryDC");
34285 if (SWIG_arg_fail(3)) SWIG_fail
;
34289 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34293 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34297 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34311 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
;
34313 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34314 wxPoint
*arg2
= 0 ;
34315 wxPoint
*arg3
= 0 ;
34321 PyObject
* obj0
= 0 ;
34322 PyObject
* obj1
= 0 ;
34323 PyObject
* obj2
= 0 ;
34324 PyObject
* obj3
= 0 ;
34325 PyObject
* obj4
= 0 ;
34326 char *kwnames
[] = {
34327 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34332 if (SWIG_arg_fail(1)) SWIG_fail
;
34335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34342 arg4
= (bool)(SWIG_As_bool(obj3
));
34343 if (SWIG_arg_fail(4)) SWIG_fail
;
34346 arg5
= (bool)(SWIG_As_bool(obj4
));
34347 if (SWIG_arg_fail(5)) SWIG_fail
;
34350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34351 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34353 wxPyEndAllowThreads(__tstate
);
34354 if (PyErr_Occurred()) SWIG_fail
;
34357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34365 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34368 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34370 return Py_BuildValue((char *)"");
34372 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34373 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34378 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34383 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34385 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34392 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34393 PyObject
*resultobj
;
34394 wxWindow
*arg1
= (wxWindow
*) 0 ;
34395 int arg2
= (int) -1 ;
34396 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34397 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34398 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34399 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34400 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34401 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34402 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34403 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34404 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34405 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34406 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34407 wxDatePickerCtrl
*result
;
34410 bool temp8
= false ;
34411 PyObject
* obj0
= 0 ;
34412 PyObject
* obj1
= 0 ;
34413 PyObject
* obj2
= 0 ;
34414 PyObject
* obj3
= 0 ;
34415 PyObject
* obj4
= 0 ;
34416 PyObject
* obj5
= 0 ;
34417 PyObject
* obj6
= 0 ;
34418 PyObject
* obj7
= 0 ;
34419 char *kwnames
[] = {
34420 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34425 if (SWIG_arg_fail(1)) SWIG_fail
;
34428 arg2
= (int)(SWIG_As_int(obj1
));
34429 if (SWIG_arg_fail(2)) SWIG_fail
;
34434 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34435 if (SWIG_arg_fail(3)) SWIG_fail
;
34436 if (arg3
== NULL
) {
34437 SWIG_null_ref("wxDateTime");
34439 if (SWIG_arg_fail(3)) SWIG_fail
;
34445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34456 arg6
= (long)(SWIG_As_long(obj5
));
34457 if (SWIG_arg_fail(6)) SWIG_fail
;
34462 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34463 if (SWIG_arg_fail(7)) SWIG_fail
;
34464 if (arg7
== NULL
) {
34465 SWIG_null_ref("wxValidator");
34467 if (SWIG_arg_fail(7)) SWIG_fail
;
34472 arg8
= wxString_in_helper(obj7
);
34473 if (arg8
== NULL
) SWIG_fail
;
34478 if (!wxPyCheckForApp()) SWIG_fail
;
34479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34480 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34482 wxPyEndAllowThreads(__tstate
);
34483 if (PyErr_Occurred()) SWIG_fail
;
34485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34500 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34501 PyObject
*resultobj
;
34502 wxDatePickerCtrl
*result
;
34503 char *kwnames
[] = {
34507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34509 if (!wxPyCheckForApp()) SWIG_fail
;
34510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34511 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34513 wxPyEndAllowThreads(__tstate
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34523 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34524 PyObject
*resultobj
;
34525 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34526 wxWindow
*arg2
= (wxWindow
*) 0 ;
34527 int arg3
= (int) -1 ;
34528 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34529 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34530 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34531 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34532 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34533 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34534 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34535 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34536 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34537 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34538 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34542 bool temp9
= false ;
34543 PyObject
* obj0
= 0 ;
34544 PyObject
* obj1
= 0 ;
34545 PyObject
* obj2
= 0 ;
34546 PyObject
* obj3
= 0 ;
34547 PyObject
* obj4
= 0 ;
34548 PyObject
* obj5
= 0 ;
34549 PyObject
* obj6
= 0 ;
34550 PyObject
* obj7
= 0 ;
34551 PyObject
* obj8
= 0 ;
34552 char *kwnames
[] = {
34553 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34558 if (SWIG_arg_fail(1)) SWIG_fail
;
34559 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34560 if (SWIG_arg_fail(2)) SWIG_fail
;
34563 arg3
= (int)(SWIG_As_int(obj2
));
34564 if (SWIG_arg_fail(3)) SWIG_fail
;
34569 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34570 if (SWIG_arg_fail(4)) SWIG_fail
;
34571 if (arg4
== NULL
) {
34572 SWIG_null_ref("wxDateTime");
34574 if (SWIG_arg_fail(4)) SWIG_fail
;
34580 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34586 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34591 arg7
= (long)(SWIG_As_long(obj6
));
34592 if (SWIG_arg_fail(7)) SWIG_fail
;
34597 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34598 if (SWIG_arg_fail(8)) SWIG_fail
;
34599 if (arg8
== NULL
) {
34600 SWIG_null_ref("wxValidator");
34602 if (SWIG_arg_fail(8)) SWIG_fail
;
34607 arg9
= wxString_in_helper(obj8
);
34608 if (arg9
== NULL
) SWIG_fail
;
34613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34614 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34616 wxPyEndAllowThreads(__tstate
);
34617 if (PyErr_Occurred()) SWIG_fail
;
34620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34636 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34637 PyObject
*resultobj
;
34638 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34639 wxDateTime
*arg2
= 0 ;
34640 PyObject
* obj0
= 0 ;
34641 PyObject
* obj1
= 0 ;
34642 char *kwnames
[] = {
34643 (char *) "self",(char *) "dt", NULL
34646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34648 if (SWIG_arg_fail(1)) SWIG_fail
;
34650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34651 if (SWIG_arg_fail(2)) SWIG_fail
;
34652 if (arg2
== NULL
) {
34653 SWIG_null_ref("wxDateTime");
34655 if (SWIG_arg_fail(2)) SWIG_fail
;
34658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34659 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34661 wxPyEndAllowThreads(__tstate
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34664 Py_INCREF(Py_None
); resultobj
= Py_None
;
34671 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
;
34673 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34675 PyObject
* obj0
= 0 ;
34676 char *kwnames
[] = {
34677 (char *) "self", NULL
34680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34682 if (SWIG_arg_fail(1)) SWIG_fail
;
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34691 wxDateTime
* resultptr
;
34692 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34701 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34702 PyObject
*resultobj
;
34703 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34704 wxDateTime
*arg2
= 0 ;
34705 wxDateTime
*arg3
= 0 ;
34706 PyObject
* obj0
= 0 ;
34707 PyObject
* obj1
= 0 ;
34708 PyObject
* obj2
= 0 ;
34709 char *kwnames
[] = {
34710 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34715 if (SWIG_arg_fail(1)) SWIG_fail
;
34717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34718 if (SWIG_arg_fail(2)) SWIG_fail
;
34719 if (arg2
== NULL
) {
34720 SWIG_null_ref("wxDateTime");
34722 if (SWIG_arg_fail(2)) SWIG_fail
;
34725 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34726 if (SWIG_arg_fail(3)) SWIG_fail
;
34727 if (arg3
== NULL
) {
34728 SWIG_null_ref("wxDateTime");
34730 if (SWIG_arg_fail(3)) SWIG_fail
;
34733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34734 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34736 wxPyEndAllowThreads(__tstate
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34739 Py_INCREF(Py_None
); resultobj
= Py_None
;
34746 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34747 PyObject
*resultobj
;
34748 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34750 PyObject
* obj0
= 0 ;
34751 char *kwnames
[] = {
34752 (char *) "self", NULL
34755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34757 if (SWIG_arg_fail(1)) SWIG_fail
;
34759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34760 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34762 wxPyEndAllowThreads(__tstate
);
34763 if (PyErr_Occurred()) SWIG_fail
;
34766 wxDateTime
* resultptr
;
34767 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34776 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34777 PyObject
*resultobj
;
34778 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34780 PyObject
* obj0
= 0 ;
34781 char *kwnames
[] = {
34782 (char *) "self", NULL
34785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34787 if (SWIG_arg_fail(1)) SWIG_fail
;
34789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34790 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34792 wxPyEndAllowThreads(__tstate
);
34793 if (PyErr_Occurred()) SWIG_fail
;
34796 wxDateTime
* resultptr
;
34797 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34806 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34809 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34811 return Py_BuildValue((char *)"");
34813 static PyMethodDef SwigMethods
[] = {
34814 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34821 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34836 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34848 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34853 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34883 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34897 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34902 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34909 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34914 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34922 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34945 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34953 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34984 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35040 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35045 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35057 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35070 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35082 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35086 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35104 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35111 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35137 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35145 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35167 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35173 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35184 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35186 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35192 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35194 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35201 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35203 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35208 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35213 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35243 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35288 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35294 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35306 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35358 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35385 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35456 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35468 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35476 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35483 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35500 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35576 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35598 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35603 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35629 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35637 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35642 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35644 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35653 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35655 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35673 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35682 { NULL
, NULL
, 0, NULL
}
35686 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35688 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35689 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35691 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35692 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35694 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35695 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35697 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35698 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35700 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35701 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35703 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35704 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35706 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35707 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35709 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35710 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35712 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35713 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35715 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35716 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35718 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35719 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35721 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35722 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35724 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35725 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35727 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35728 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35730 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35731 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35733 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35734 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35736 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35737 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35739 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35740 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35742 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35743 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35745 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35746 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35748 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35749 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35751 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35752 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35754 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35755 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35757 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35758 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35760 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35761 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35763 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35764 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35766 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35767 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35769 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35770 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35772 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35773 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35775 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35776 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35778 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35779 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35781 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35782 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35784 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35785 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35787 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35788 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35790 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35791 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35793 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35794 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35796 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35797 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35799 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35800 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35802 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35803 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35805 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35806 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35808 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35809 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35811 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35812 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35814 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35815 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35817 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35818 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35820 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35821 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35823 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35824 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35826 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35827 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35829 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35830 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35832 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35835 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35838 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35839 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35841 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35842 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35844 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35845 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35847 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35848 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35850 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35851 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35853 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35854 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35856 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35857 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35859 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35860 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35862 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35863 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35865 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35866 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35868 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35869 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35871 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35872 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35874 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35875 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35877 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35878 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35880 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35881 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35883 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35884 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35886 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35887 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35889 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35890 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35892 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35893 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35895 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35896 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35898 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35899 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35901 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35902 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35904 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35905 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35907 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35908 return (void *)((wxControl
*) ((wxGauge
*) x
));
35910 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35911 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35913 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35914 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35916 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35917 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35919 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35920 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35922 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35923 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35925 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35926 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35928 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35929 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35931 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35932 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35934 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35935 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35937 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35938 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35940 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35941 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35943 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35944 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35946 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35947 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35949 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35950 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35952 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35953 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35955 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35956 return (void *)((wxControl
*) ((wxSlider
*) x
));
35958 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35959 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35961 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35962 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35964 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35965 return (void *)((wxControl
*) ((wxButton
*) x
));
35967 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35968 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35970 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
35971 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
35973 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35974 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35976 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35977 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35979 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35980 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35982 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35983 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35985 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35986 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35988 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35989 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35991 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35992 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35994 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35995 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35997 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
35998 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36000 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36001 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36003 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36004 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36006 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36007 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36009 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36010 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36012 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36013 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36015 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36016 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36018 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36019 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36021 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36022 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36024 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36025 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36027 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36028 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36030 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36031 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36033 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36034 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36036 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36037 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36039 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36040 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36042 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36045 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36048 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36051 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36054 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36057 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36058 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36060 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36063 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36066 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36069 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36072 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36075 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36076 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36078 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36079 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36081 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36084 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36087 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36090 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36093 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36096 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36099 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36102 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36105 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36108 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36111 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36114 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36117 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36120 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36123 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36126 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36129 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36132 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36135 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36138 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36139 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36141 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36142 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36144 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36145 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36147 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36148 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36150 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36151 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36153 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36154 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36156 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36157 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36159 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36160 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36162 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36165 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36166 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36168 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36169 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36171 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36172 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36174 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36175 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36177 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36178 return (void *)((wxObject
*) ((wxSizer
*) x
));
36180 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36181 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36183 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36186 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36189 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36190 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36192 static void *_p_wxEventTo_p_wxObject(void *x
) {
36193 return (void *)((wxObject
*) ((wxEvent
*) x
));
36195 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36196 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36198 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36199 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36201 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36202 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36204 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36207 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36208 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36210 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36213 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36214 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36216 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36217 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36219 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36220 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36222 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36223 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36225 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36226 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36228 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36229 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36231 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36234 static void *_p_wxControlTo_p_wxObject(void *x
) {
36235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36237 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36240 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36243 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36246 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36249 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36252 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36253 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36255 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36258 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36259 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36261 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36262 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36264 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36267 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36270 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36273 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36274 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36276 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36279 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36282 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36285 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36286 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36288 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36291 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36294 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36295 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36297 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36298 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36300 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36301 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36303 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36306 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36307 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36309 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36310 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36312 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36313 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36315 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36316 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36318 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36319 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36321 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36322 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36324 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36327 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36328 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36330 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36333 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36334 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36336 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36337 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36339 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36340 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36342 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36343 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36345 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36346 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36348 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36349 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36351 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36352 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36354 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36355 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36357 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36358 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36360 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36361 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36363 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36364 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36366 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36367 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36369 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36370 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36372 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36375 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36378 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36381 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36384 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36387 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36390 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36393 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36394 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36396 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36397 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36399 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36402 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36405 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36408 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36411 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36412 return (void *)((wxObject
*) ((wxListItem
*) x
));
36414 static void *_p_wxImageTo_p_wxObject(void *x
) {
36415 return (void *)((wxObject
*) ((wxImage
*) x
));
36417 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36418 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36420 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36421 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36423 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36424 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36426 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36427 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36429 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36432 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36433 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36435 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36438 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36439 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36441 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36444 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36445 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36447 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36448 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36450 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36451 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36453 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36454 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36456 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36459 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36460 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36462 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36465 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36466 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36468 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36469 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36471 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36472 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36474 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36475 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36477 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36478 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36480 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36483 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36484 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36486 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36489 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36490 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36492 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36495 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36496 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36498 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36499 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36501 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36504 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36507 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36510 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36511 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36513 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36516 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36519 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36520 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36522 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36523 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36525 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36526 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36528 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36529 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36531 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36532 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36534 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36535 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36537 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36538 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36540 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36541 return (void *)((wxWindow
*) ((wxControl
*) x
));
36543 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36544 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36546 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36547 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36549 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36550 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36552 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36553 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36555 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36556 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36558 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36559 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36561 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36562 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36564 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36565 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36567 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36568 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36570 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36571 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36573 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36574 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36576 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36577 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36579 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36580 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36582 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36583 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36585 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36586 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36588 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36589 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36591 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36592 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36594 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36595 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36597 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36598 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36600 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36601 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36603 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36604 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36606 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36607 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36609 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36610 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36612 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36613 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36615 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36616 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36618 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36619 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36621 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36622 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36624 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36625 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36627 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36628 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36630 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36631 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36633 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36634 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36636 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36637 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36639 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36640 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36642 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36643 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36645 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36646 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36648 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36649 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36651 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36652 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36654 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36655 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36657 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36658 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36660 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36661 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36663 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36664 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36666 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36667 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36669 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36670 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36672 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36673 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36675 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36676 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36678 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36679 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36681 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36682 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36684 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36685 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36687 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36688 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36690 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36691 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36693 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36694 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36696 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36697 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36699 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36700 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36702 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36703 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36705 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36706 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36708 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36709 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36711 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36712 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36714 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}};
36715 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}};
36716 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}};
36717 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}};
36718 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}};
36719 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}};
36720 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}};
36721 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}};
36722 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}};
36723 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}};
36724 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}};
36725 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}};
36726 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}};
36727 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}};
36728 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}};
36729 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}};
36730 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}};
36731 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}};
36732 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}};
36733 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}};
36734 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}};
36735 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}};
36736 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}};
36737 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}};
36738 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}};
36739 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}};
36740 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}};
36741 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}};
36742 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}};
36743 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}};
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 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}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 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}};
36756 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}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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}};
36784 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}};
36785 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}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36813 static swig_type_info
*swig_types_initial
[] = {
36814 _swigt__p_wxTextUrlEvent
,
36816 _swigt__p_wxCheckBox
,
36817 _swigt__p_wxPyTreeCtrl
,
36819 _swigt__p_wxGenericDirCtrl
,
36821 _swigt__p_wxItemContainer
,
36822 _swigt__p_wxPyListCtrl
,
36823 _swigt__p_wxPyTreeItemData
,
36824 _swigt__p_wxDirFilterListCtrl
,
36825 _swigt__p_wxStaticLine
,
36826 _swigt__p_wxControl
,
36827 _swigt__p_wxPyControl
,
36829 _swigt__p_wxToolBarBase
,
36831 _swigt__p_wxToggleButton
,
36832 _swigt__p_wxRadioButton
,
36833 _swigt__p_wxChoice
,
36834 _swigt__p_wxMemoryDC
,
36836 _swigt__std__ptrdiff_t
,
36837 _swigt__p_wxListItemAttr
,
36842 _swigt__p_wxListView
,
36844 _swigt__p_wxVisualAttributes
,
36845 _swigt__p_wxTextCtrl
,
36846 _swigt__p_wxNotebook
,
36847 _swigt__p_wxChoicebook
,
36848 _swigt__p_wxNotifyEvent
,
36849 _swigt__p_wxArrayString
,
36850 _swigt__p_form_ops_t
,
36851 _swigt__p_wxListbook
,
36852 _swigt__p_wxStaticBitmap
,
36853 _swigt__p_wxSlider
,
36854 _swigt__p_wxStaticBox
,
36855 _swigt__p_wxArrayInt
,
36856 _swigt__p_wxContextHelp
,
36858 _swigt__p_wxDuplexMode
,
36859 _swigt__p_wxBookCtrlBase
,
36860 _swigt__p_wxEvtHandler
,
36861 _swigt__p_wxListEvent
,
36862 _swigt__p_wxCheckListBox
,
36863 _swigt__p_wxListBox
,
36864 _swigt__p_wxSpinButton
,
36865 _swigt__p_wxButton
,
36866 _swigt__p_wxBitmapButton
,
36868 _swigt__p_wxContextHelpButton
,
36869 _swigt__p_wxRadioBox
,
36870 _swigt__p_wxScrollBar
,
36872 _swigt__p_wxComboBox
,
36873 _swigt__p_wxTreeItemId
,
36874 _swigt__p_wxHelpEvent
,
36875 _swigt__p_wxListItem
,
36876 _swigt__p_wxNotebookSizer
,
36877 _swigt__p_wxSpinEvent
,
36878 _swigt__p_wxGenericDragImage
,
36879 _swigt__p_wxSpinCtrl
,
36880 _swigt__p_wxPaperSize
,
36881 _swigt__p_wxImageList
,
36882 _swigt__p_wxHelpProvider
,
36883 _swigt__p_wxTextAttr
,
36884 _swigt__p_wxSimpleHelpProvider
,
36885 _swigt__p_wxChoicebookEvent
,
36886 _swigt__p_wxListbookEvent
,
36887 _swigt__p_wxNotebookEvent
,
36889 _swigt__p_wxObject
,
36890 _swigt__p_wxCursor
,
36891 _swigt__p_wxDateTime
,
36892 _swigt__p_wxKeyEvent
,
36893 _swigt__p_unsigned_long
,
36894 _swigt__p_wxWindow
,
36895 _swigt__p_wxString
,
36896 _swigt__p_wxBitmap
,
36897 _swigt__unsigned_int
,
36898 _swigt__p_unsigned_int
,
36899 _swigt__p_unsigned_char
,
36900 _swigt__p_wxMouseEvent
,
36901 _swigt__p_wxBookCtrlBaseEvent
,
36902 _swigt__p_wxTreeEvent
,
36903 _swigt__p_wxCommandEvent
,
36904 _swigt__p_wxStaticText
,
36905 _swigt__p_wxDatePickerCtrl
,
36906 _swigt__p_wxControlWithItems
,
36907 _swigt__p_wxToolBarToolBase
,
36908 _swigt__p_wxColour
,
36909 _swigt__p_wxToolBar
,
36910 _swigt__p_wxBookCtrlSizer
,
36911 _swigt__p_wxValidator
,
36916 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36918 static swig_const_info swig_const_table
[] = {
36919 {0, 0, 0, 0.0, 0, 0}};
36930 /* Python-specific SWIG API */
36931 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36932 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36933 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36935 /* -----------------------------------------------------------------------------
36936 * global variable support code.
36937 * ----------------------------------------------------------------------------- */
36939 typedef struct swig_globalvar
{
36940 char *name
; /* Name of global variable */
36941 PyObject
*(*get_attr
)(); /* Return the current value */
36942 int (*set_attr
)(PyObject
*); /* Set the value */
36943 struct swig_globalvar
*next
;
36946 typedef struct swig_varlinkobject
{
36948 swig_globalvar
*vars
;
36949 } swig_varlinkobject
;
36952 swig_varlink_repr(swig_varlinkobject
*v
) {
36954 return PyString_FromString("<Swig global variables>");
36958 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36959 swig_globalvar
*var
;
36961 fprintf(fp
,"Swig global variables { ");
36962 for (var
= v
->vars
; var
; var
=var
->next
) {
36963 fprintf(fp
,"%s", var
->name
);
36964 if (var
->next
) fprintf(fp
,", ");
36966 fprintf(fp
," }\n");
36971 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36972 swig_globalvar
*var
= v
->vars
;
36974 if (strcmp(var
->name
,n
) == 0) {
36975 return (*var
->get_attr
)();
36979 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36984 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36985 swig_globalvar
*var
= v
->vars
;
36987 if (strcmp(var
->name
,n
) == 0) {
36988 return (*var
->set_attr
)(p
);
36992 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36996 static PyTypeObject varlinktype
= {
36997 PyObject_HEAD_INIT(0)
36998 0, /* Number of items in variable part (ob_size) */
36999 (char *)"swigvarlink", /* Type name (tp_name) */
37000 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37001 0, /* Itemsize (tp_itemsize) */
37002 0, /* Deallocator (tp_dealloc) */
37003 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37004 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37005 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37006 0, /* tp_compare */
37007 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37008 0, /* tp_as_number */
37009 0, /* tp_as_sequence */
37010 0, /* tp_as_mapping */
37014 0, /* tp_getattro */
37015 0, /* tp_setattro */
37016 0, /* tp_as_buffer */
37019 #if PY_VERSION_HEX >= 0x02000000
37020 0, /* tp_traverse */
37023 #if PY_VERSION_HEX >= 0x02010000
37024 0, /* tp_richcompare */
37025 0, /* tp_weaklistoffset */
37027 #if PY_VERSION_HEX >= 0x02020000
37028 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37030 #if PY_VERSION_HEX >= 0x02030000
37033 #ifdef COUNT_ALLOCS
37034 0,0,0,0 /* tp_alloc -> tp_next */
37038 /* Create a variable linking object for use later */
37040 SWIG_Python_newvarlink(void) {
37041 swig_varlinkobject
*result
= 0;
37042 result
= PyMem_NEW(swig_varlinkobject
,1);
37043 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37044 result
->ob_type
= &varlinktype
;
37046 result
->ob_refcnt
= 0;
37047 Py_XINCREF((PyObject
*) result
);
37048 return ((PyObject
*) result
);
37052 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37053 swig_varlinkobject
*v
;
37054 swig_globalvar
*gv
;
37055 v
= (swig_varlinkobject
*) p
;
37056 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37057 gv
->name
= (char *) malloc(strlen(name
)+1);
37058 strcpy(gv
->name
,name
);
37059 gv
->get_attr
= get_attr
;
37060 gv
->set_attr
= set_attr
;
37061 gv
->next
= v
->vars
;
37065 /* -----------------------------------------------------------------------------
37066 * constants/methods manipulation
37067 * ----------------------------------------------------------------------------- */
37069 /* Install Constants */
37071 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37074 for (i
= 0; constants
[i
].type
; i
++) {
37075 switch(constants
[i
].type
) {
37077 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37079 case SWIG_PY_FLOAT
:
37080 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37082 case SWIG_PY_STRING
:
37083 if (constants
[i
].pvalue
) {
37084 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37086 Py_INCREF(Py_None
);
37090 case SWIG_PY_POINTER
:
37091 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37093 case SWIG_PY_BINARY
:
37094 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37101 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37107 /* -----------------------------------------------------------------------------*/
37108 /* Fix SwigMethods to carry the callback ptrs when needed */
37109 /* -----------------------------------------------------------------------------*/
37112 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37113 swig_const_info
*const_table
,
37114 swig_type_info
**types
,
37115 swig_type_info
**types_initial
) {
37117 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37118 char *c
= methods
[i
].ml_doc
;
37119 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37121 swig_const_info
*ci
= 0;
37122 char *name
= c
+ 10;
37123 for (j
= 0; const_table
[j
].type
; j
++) {
37124 if (strncmp(const_table
[j
].name
, name
,
37125 strlen(const_table
[j
].name
)) == 0) {
37126 ci
= &(const_table
[j
]);
37131 size_t shift
= (ci
->ptype
) - types
;
37132 swig_type_info
*ty
= types_initial
[shift
];
37133 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37134 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37135 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37137 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37138 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37140 strncpy(buff
, "swig_ptr: ", 10);
37142 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37143 methods
[i
].ml_doc
= ndoc
;
37149 /* -----------------------------------------------------------------------------*
37150 * Initialize type list
37151 * -----------------------------------------------------------------------------*/
37153 #if PY_MAJOR_VERSION < 2
37154 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37155 is copied out of Python/modsupport.c in python version 2.3.4 */
37157 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37160 if (!PyModule_Check(m
)) {
37161 PyErr_SetString(PyExc_TypeError
,
37162 "PyModule_AddObject() needs module as first arg");
37166 PyErr_SetString(PyExc_TypeError
,
37167 "PyModule_AddObject() needs non-NULL value");
37171 dict
= PyModule_GetDict(m
);
37172 if (dict
== NULL
) {
37173 /* Internal error -- modules must have a dict! */
37174 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37175 PyModule_GetName(m
));
37178 if (PyDict_SetItemString(dict
, name
, o
))
37185 static swig_type_info
**
37186 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37187 static PyMethodDef swig_empty_runtime_method_table
[] = {
37189 NULL
, NULL
, 0, NULL
37193 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37194 swig_empty_runtime_method_table
);
37195 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37196 if (pointer
&& module) {
37197 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37199 return type_list_handle
;
37202 static swig_type_info
**
37203 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37204 swig_type_info
**type_pointer
;
37206 /* first check if module already created */
37207 type_pointer
= SWIG_Python_GetTypeListHandle();
37208 if (type_pointer
) {
37209 return type_pointer
;
37211 /* create a new module and variable */
37212 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37220 /* -----------------------------------------------------------------------------*
37221 * Partial Init method
37222 * -----------------------------------------------------------------------------*/
37224 #ifdef SWIG_LINK_RUNTIME
37228 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37234 SWIGEXPORT(void) SWIG_init(void) {
37235 static PyObject
*SWIG_globals
= 0;
37236 static int typeinit
= 0;
37239 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37241 /* Fix SwigMethods to carry the callback ptrs when needed */
37242 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37244 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37245 d
= PyModule_GetDict(m
);
37248 #ifdef SWIG_LINK_RUNTIME
37249 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37251 # ifndef SWIG_STATIC_RUNTIME
37252 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37255 for (i
= 0; swig_types_initial
[i
]; i
++) {
37256 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37260 SWIG_InstallConstants(d
,swig_const_table
);
37262 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37263 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37265 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37268 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37271 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37274 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37277 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37280 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37283 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37285 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37287 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37290 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37293 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37296 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37299 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37302 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37304 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37305 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37306 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37308 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37311 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37314 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37317 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37319 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37320 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37321 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37322 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37323 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37325 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37328 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37331 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37334 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37337 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37340 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37343 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37346 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37349 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37352 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37355 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37358 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37361 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37364 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37367 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37370 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37373 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37376 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37379 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37382 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37385 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37388 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37391 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37394 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37397 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37400 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37403 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37406 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37409 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37412 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37415 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37418 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37421 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37424 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37427 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37430 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37433 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37436 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37439 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37442 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37445 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37448 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37451 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37454 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37457 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37460 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37462 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37463 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37464 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37465 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37466 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37467 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37468 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37470 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37473 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37476 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37479 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37481 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37482 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37483 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37484 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37486 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37489 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37492 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37495 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37498 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37501 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37504 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37507 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37510 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37513 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37516 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37519 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37521 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37522 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37523 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37525 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37528 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37531 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37534 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37537 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37540 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37543 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37546 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37549 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37552 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37555 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37557 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37558 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37560 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37563 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37566 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37569 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37572 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37575 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37577 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37578 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37580 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37583 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37586 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37589 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37592 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37595 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37597 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37598 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37600 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37603 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37606 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37609 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37612 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37615 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37618 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37621 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37624 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37627 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37630 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37633 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37636 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37639 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37641 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37643 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37646 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37649 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37652 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37655 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37658 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37661 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37664 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37667 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37670 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37673 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37676 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37679 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37682 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37685 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37688 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37691 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37694 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37697 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37700 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37703 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37706 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37709 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37712 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37715 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37718 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37721 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37724 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37727 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37730 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37733 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37736 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37739 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37742 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37745 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37748 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37751 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37754 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37757 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37760 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37763 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37766 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37769 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37772 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37775 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37778 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37781 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37784 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37787 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37790 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37793 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37796 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37799 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37802 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37805 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37808 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37811 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37814 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37817 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37820 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37823 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37826 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37829 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37832 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37835 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37838 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37841 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37844 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37846 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37847 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37848 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37849 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37850 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37851 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37852 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37853 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37854 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37855 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37856 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37857 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37858 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37859 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37860 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37861 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37862 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37863 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37864 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37865 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37866 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37867 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37869 // Map renamed classes back to their common name for OOR
37870 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37872 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37874 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37877 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37880 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37883 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37886 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37889 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37892 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37895 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37898 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37901 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37904 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37907 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37910 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37913 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37916 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37919 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37922 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37925 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37928 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37931 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37934 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37937 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37940 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37943 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37946 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37949 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37952 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37955 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37958 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37961 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37964 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37967 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37970 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37973 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37976 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37978 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37979 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37980 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37981 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37982 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37986 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37987 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37988 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37989 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37990 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37991 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37992 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37993 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37994 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37995 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
37996 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
37997 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
37998 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38000 // Map renamed classes back to their common name for OOR
38001 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38002 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38004 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38006 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38009 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38012 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38015 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38018 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38021 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38024 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38026 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38027 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38029 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38031 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38033 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38036 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38039 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38042 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38045 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));