1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343 #define SWIGTYPE_p_wxSizer swig_types[1]
1344 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1345 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346 #define SWIGTYPE_p_wxEvent swig_types[4]
1347 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348 #define SWIGTYPE_p_bool swig_types[6]
1349 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1350 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1354 #define SWIGTYPE_p_wxControl swig_types[12]
1355 #define SWIGTYPE_p_wxPyControl swig_types[13]
1356 #define SWIGTYPE_p_wxGauge swig_types[14]
1357 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358 #define SWIGTYPE_p_wxFont swig_types[16]
1359 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1360 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1361 #define SWIGTYPE_p_wxChoice swig_types[19]
1362 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363 #define SWIGTYPE_ptrdiff_t swig_types[21]
1364 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366 #define SWIGTYPE_p_void swig_types[24]
1367 #define SWIGTYPE_p_int swig_types[25]
1368 #define SWIGTYPE_p_wxSize swig_types[26]
1369 #define SWIGTYPE_p_wxDC swig_types[27]
1370 #define SWIGTYPE_p_wxListView swig_types[28]
1371 #define SWIGTYPE_p_wxIcon swig_types[29]
1372 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374 #define SWIGTYPE_p_wxNotebook swig_types[32]
1375 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1376 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377 #define SWIGTYPE_p_wxArrayString swig_types[35]
1378 #define SWIGTYPE_p_form_ops_t swig_types[36]
1379 #define SWIGTYPE_p_wxListbook swig_types[37]
1380 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381 #define SWIGTYPE_p_wxSlider swig_types[39]
1382 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1383 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1384 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1385 #define SWIGTYPE_p_long swig_types[43]
1386 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389 #define SWIGTYPE_p_wxListEvent swig_types[47]
1390 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391 #define SWIGTYPE_p_wxListBox swig_types[49]
1392 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1393 #define SWIGTYPE_p_wxButton swig_types[51]
1394 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395 #define SWIGTYPE_p_wxRect swig_types[53]
1396 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1398 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1399 #define SWIGTYPE_p_char swig_types[57]
1400 #define SWIGTYPE_p_wxComboBox swig_types[58]
1401 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403 #define SWIGTYPE_p_wxListItem swig_types[61]
1404 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1409 #define SWIGTYPE_p_wxImageList swig_types[67]
1410 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1412 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416 #define SWIGTYPE_p_wxPoint swig_types[74]
1417 #define SWIGTYPE_p_wxObject swig_types[75]
1418 #define SWIGTYPE_p_wxCursor swig_types[76]
1419 #define SWIGTYPE_p_wxDateTime swig_types[77]
1420 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421 #define SWIGTYPE_p_unsigned_long swig_types[79]
1422 #define SWIGTYPE_p_wxWindow swig_types[80]
1423 #define SWIGTYPE_p_wxString swig_types[81]
1424 #define SWIGTYPE_p_wxBitmap swig_types[82]
1425 #define SWIGTYPE_unsigned_int swig_types[83]
1426 #define SWIGTYPE_p_unsigned_int swig_types[84]
1427 #define SWIGTYPE_p_unsigned_char swig_types[85]
1428 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432 #define SWIGTYPE_p_wxStaticText swig_types[90]
1433 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436 #define SWIGTYPE_p_wxColour swig_types[94]
1437 #define SWIGTYPE_p_wxToolBar swig_types[95]
1438 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439 #define SWIGTYPE_p_wxValidator swig_types[97]
1440 static swig_type_info
*swig_types
[99];
1442 /* -------- TYPES TABLE (END) -------- */
1445 /*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448 #define SWIG_init init_controls_
1450 #define SWIG_name "_controls_"
1452 #include "wx/wxPython/wxPython.h"
1453 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1456 static const wxString
wxPyEmptyString(wxEmptyString
);
1457 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1459 const wxArrayString wxPyEmptyStringArray
;
1461 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464 #define SWIG_From_int PyInt_FromLong
1472 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1475 if (value
< min_value
) {
1477 PyErr_Format(PyExc_OverflowError
,
1478 "value %ld is less than '%s' minimum %ld",
1479 value
, errmsg
, min_value
);
1482 } else if (value
> max_value
) {
1484 PyErr_Format(PyExc_OverflowError
,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value
, errmsg
, max_value
);
1495 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1497 if (PyNumber_Check(obj
)) {
1498 if (val
) *val
= PyInt_AsLong(obj
);
1502 SWIG_type_error("number", obj
);
1508 #if INT_MAX != LONG_MAX
1510 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1512 const char* errmsg
= val
? "int" : (char*)0;
1514 if (SWIG_AsVal_long(obj
, &v
)) {
1515 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1516 if (val
) *val
= (int)(v
);
1525 SWIG_type_error(errmsg
, obj
);
1531 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1533 return SWIG_AsVal_long(obj
,(long*)val
);
1539 SWIG_As_int(PyObject
* obj
)
1542 if (!SWIG_AsVal_int(obj
, &v
)) {
1544 this is needed to make valgrind/purify happier.
1546 memset((void*)&v
, 0, sizeof(int));
1552 SWIGINTERNSHORT
long
1553 SWIG_As_long(PyObject
* obj
)
1556 if (!SWIG_AsVal_long(obj
, &v
)) {
1558 this is needed to make valgrind/purify happier.
1560 memset((void*)&v
, 0, sizeof(long));
1567 SWIG_Check_int(PyObject
* obj
)
1569 return SWIG_AsVal_int(obj
, (int*)0);
1574 SWIG_Check_long(PyObject
* obj
)
1576 return SWIG_AsVal_long(obj
, (long*)0);
1579 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1582 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1584 if (obj
== Py_True
) {
1585 if (val
) *val
= true;
1588 if (obj
== Py_False
) {
1589 if (val
) *val
= false;
1593 if (SWIG_AsVal_int(obj
, &res
)) {
1594 if (val
) *val
= res
? true : false;
1600 SWIG_type_error("bool", obj
);
1606 SWIGINTERNSHORT
bool
1607 SWIG_As_bool(PyObject
* obj
)
1610 if (!SWIG_AsVal_bool(obj
, &v
)) {
1612 this is needed to make valgrind/purify happier.
1614 memset((void*)&v
, 0, sizeof(bool));
1621 SWIG_Check_bool(PyObject
* obj
)
1623 return SWIG_AsVal_bool(obj
, (bool*)0);
1626 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1627 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630 #define SWIG_From_long PyInt_FromLong
1633 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1634 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1635 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1636 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1638 #include <wx/checklst.h>
1641 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1642 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1644 wxPyClientData
* data
= new wxPyClientData(clientData
);
1645 self
->Insert(item
, pos
, data
);
1647 self
->Insert(item
, pos
);
1649 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1651 self
->GetSelections(lst
);
1652 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1653 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1654 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1658 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1660 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1661 self
->GetItem(item
)->SetTextColour(c
);
1664 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1666 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1667 self
->GetItem(item
)->SetBackgroundColour(c
);
1670 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1672 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1673 self
->GetItem(item
)->SetFont(f
);
1676 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1678 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1684 } else if (target
== Py_None
) {
1688 if (!PyTuple_Check(target
)) {
1690 target
= PyTuple_New(1);
1691 PyTuple_SetItem(target
, 0, o2
);
1693 o3
= PyTuple_New(1);
1694 PyTuple_SetItem(o3
, 0, o
);
1697 target
= PySequence_Concat(o2
, o3
);
1707 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1710 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1711 SWIG_type_error("unsigned number", obj
);
1714 *val
= (unsigned long)v
;
1719 SWIGINTERNSHORT
unsigned long
1720 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1723 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1725 this is needed to make valgrind/purify happier.
1727 memset((void*)&v
, 0, sizeof(unsigned long));
1734 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1736 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1739 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1740 self
->AppendText(text
);
1742 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1743 return self
->GetValue().Mid(from
, to
- from
);
1745 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1746 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1747 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1749 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1751 #include <wx/slider.h>
1754 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1755 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1757 #if !wxUSE_TOGGLEBTN
1758 // implement dummy items for platforms that don't have this class
1760 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1762 class wxToggleButton
: public wxControl
1765 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1766 const wxPoint
&, const wxSize
&, long,
1767 const wxValidator
&, const wxString
&)
1768 { wxPyRaiseNotImplemented(); }
1771 { wxPyRaiseNotImplemented(); }
1775 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1777 SWIGINTERNSHORT PyObject
*
1778 SWIG_From_unsigned_SS_long(unsigned long value
)
1780 return (value
> LONG_MAX
) ?
1781 PyLong_FromUnsignedLong(value
)
1782 : PyInt_FromLong((long)(value
));
1785 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1786 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1787 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1789 Py_INCREF(udata
->m_obj
);
1790 return udata
->m_obj
;
1796 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1797 self
->SetClientData(new wxPyUserData(clientData
));
1799 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1800 wxPyUserData
* udata
= NULL
;
1801 if (clientData
&& clientData
!= Py_None
)
1802 udata
= new wxPyUserData(clientData
);
1803 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1804 shortHelp
, longHelp
, udata
);
1806 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1807 wxPyUserData
* udata
= NULL
;
1808 if (clientData
&& clientData
!= Py_None
)
1809 udata
= new wxPyUserData(clientData
);
1810 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1811 shortHelp
, longHelp
, udata
);
1813 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1814 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1816 Py_INCREF(udata
->m_obj
);
1817 return udata
->m_obj
;
1823 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1824 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1827 #include <wx/listctrl.h>
1829 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1830 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1834 PyObject
* func
= (PyObject
*)funcPtr
;
1835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1837 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1838 PyObject
* result
= PyEval_CallObject(func
, args
);
1841 retval
= PyInt_AsLong(result
);
1845 wxPyEndBlockThreads(blocked
);
1849 // C++ Version of a Python aware class
1850 class wxPyListCtrl
: public wxListCtrl
{
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1858 const wxValidator
& validator
,
1859 const wxString
& name
) :
1860 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1862 bool Create(wxWindow
* parent
, wxWindowID id
,
1866 const wxValidator
& validator
,
1867 const wxString
& name
) {
1868 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1880 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1882 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1883 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1884 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1887 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1889 item
.SetMask( wxLIST_MASK_STATE
|
1897 if (self
->GetColumn(col
, item
))
1898 return new wxListItem(item
);
1902 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1903 wxListItem
* info
= new wxListItem
;
1904 info
->m_itemId
= itemId
;
1906 info
->m_mask
= 0xFFFF;
1907 self
->GetItem(*info
);
1910 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1912 self
->GetItemPosition(item
, pos
);
1915 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1917 self
->GetItemRect(item
, rect
, code
);
1921 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1922 if (!PyCallable_Check(func
))
1924 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1926 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1930 return (wxWindow
*)self
->m_mainWin
;
1934 #include <wx/treectrl.h>
1935 #include "wx/wxPython/pytree.h"
1937 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1938 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1939 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1940 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1941 // C++ version of Python aware wxTreeCtrl
1942 class wxPyTreeCtrl
: public wxTreeCtrl
{
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1950 const wxValidator
& validator
,
1951 const wxString
& name
) :
1952 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1954 bool Create(wxWindow
*parent
, wxWindowID id
,
1958 const wxValidator
& validator
,
1959 const wxString
& name
) {
1960 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1964 int OnCompareItems(const wxTreeItemId
& item1
,
1965 const wxTreeItemId
& item2
) {
1968 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1969 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1970 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1971 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1972 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1976 wxPyEndBlockThreads(blocked
);
1978 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1988 #if UINT_MAX < LONG_MAX
1989 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1990 #define SWIG_From_unsigned_SS_int SWIG_From_long
1993 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1994 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2000 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2001 unsigned long max_value
,
2004 if (value
> max_value
) {
2006 PyErr_Format(PyExc_OverflowError
,
2007 "value %lu is greater than '%s' minimum %lu",
2008 value
, errmsg
, max_value
);
2016 #if UINT_MAX != ULONG_MAX
2018 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2020 const char* errmsg
= val
? "unsigned int" : (char*)0;
2022 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2023 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2024 if (val
) *val
= (unsigned int)(v
);
2031 SWIG_type_error(errmsg
, obj
);
2036 SWIGINTERNSHORT
unsigned int
2037 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2039 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2044 SWIGINTERNSHORT
unsigned int
2045 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2048 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2050 this is needed to make valgrind/purify happier.
2052 memset((void*)&v
, 0, sizeof(unsigned int));
2059 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2061 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2064 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2065 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2067 data
= new wxPyTreeItemData();
2068 data
->SetId(item
); // set the id
2069 self
->SetItemData(item
, data
);
2073 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2074 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2076 data
= new wxPyTreeItemData();
2077 data
->SetId(item
); // set the id
2078 self
->SetItemData(item
, data
);
2080 return data
->GetData();
2082 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2083 data
->SetId(item
); // set the id
2084 self
->SetItemData(item
, data
);
2086 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2087 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2089 data
= new wxPyTreeItemData(obj
);
2090 data
->SetId(item
); // set the id
2091 self
->SetItemData(item
, data
);
2095 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2097 PyObject
* rval
= PyList_New(0);
2098 wxArrayTreeItemIds array
;
2100 num
= self
->GetSelections(array
);
2101 for (x
=0; x
< num
; x
++) {
2102 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2103 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2104 PyList_Append(rval
, item
);
2107 wxPyEndBlockThreads(blocked
);
2110 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2112 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2114 PyObject
* tup
= PyTuple_New(2);
2115 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2116 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2117 wxPyEndBlockThreads(blocked
);
2120 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2121 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2122 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2123 PyObject
* tup
= PyTuple_New(2);
2124 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2125 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2126 wxPyEndBlockThreads(blocked
);
2129 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2131 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2132 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2133 wxRect
* r
= new wxRect(rect
);
2134 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2135 wxPyEndBlockThreads(blocked
);
2141 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2143 SWIGINTERNSHORT PyObject
*
2144 SWIG_From_bool(bool value
)
2146 PyObject
*obj
= value
? Py_True
: Py_False
;
2152 // C++ version of Python aware wxControl
2153 class wxPyControl
: public wxControl
2155 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2159 const wxPoint
& pos
= wxDefaultPosition
,
2160 const wxSize
& size
= wxDefaultSize
,
2162 const wxValidator
& validator
=wxDefaultValidator
,
2163 const wxString
& name
= wxPyControlNameStr
)
2164 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2166 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2168 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2169 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2171 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2177 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2178 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2180 DEC_PYCALLBACK__(InitDialog
);
2181 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2182 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2183 DEC_PYCALLBACK_BOOL_(Validate
);
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2186 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2187 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2189 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2190 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2192 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2193 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2195 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2200 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2202 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2203 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2204 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2205 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2208 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2209 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2211 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2212 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2214 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2215 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2216 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2217 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2219 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2220 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2221 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2223 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2224 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2226 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2227 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2229 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2233 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2235 #include <wx/generic/dragimgg.h>
2237 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2238 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2240 self
->GetRange(&rv
, NULL
);
2243 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2245 self
->GetRange(NULL
, &rv
);
2251 static int _wrap_ButtonNameStr_set(PyObject
*) {
2252 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2257 static PyObject
*_wrap_ButtonNameStr_get(void) {
2262 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2264 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2271 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 wxWindow
*arg1
= (wxWindow
*) 0 ;
2274 int arg2
= (int) -1 ;
2275 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2276 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2277 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2278 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2279 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2280 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2281 long arg6
= (long) 0 ;
2282 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2283 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2284 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2285 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2287 bool temp3
= false ;
2290 bool temp8
= false ;
2291 PyObject
* obj0
= 0 ;
2292 PyObject
* obj1
= 0 ;
2293 PyObject
* obj2
= 0 ;
2294 PyObject
* obj3
= 0 ;
2295 PyObject
* obj4
= 0 ;
2296 PyObject
* obj5
= 0 ;
2297 PyObject
* obj6
= 0 ;
2298 PyObject
* obj7
= 0 ;
2300 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2305 if (SWIG_arg_fail(1)) SWIG_fail
;
2308 arg2
= (int)(SWIG_As_int(obj1
));
2309 if (SWIG_arg_fail(2)) SWIG_fail
;
2314 arg3
= wxString_in_helper(obj2
);
2315 if (arg3
== NULL
) SWIG_fail
;
2322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2333 arg6
= (long)(SWIG_As_long(obj5
));
2334 if (SWIG_arg_fail(6)) SWIG_fail
;
2339 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2340 if (SWIG_arg_fail(7)) SWIG_fail
;
2342 SWIG_null_ref("wxValidator");
2344 if (SWIG_arg_fail(7)) SWIG_fail
;
2349 arg8
= wxString_in_helper(obj7
);
2350 if (arg8
== NULL
) SWIG_fail
;
2355 if (!wxPyCheckForApp()) SWIG_fail
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2385 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2394 if (!wxPyCheckForApp()) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 result
= (wxButton
*)new wxButton();
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2408 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
*resultobj
;
2410 wxButton
*arg1
= (wxButton
*) 0 ;
2411 wxWindow
*arg2
= (wxWindow
*) 0 ;
2412 int arg3
= (int) -1 ;
2413 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2414 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2415 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2416 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2417 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2418 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2419 long arg7
= (long) 0 ;
2420 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2421 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2422 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2423 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2425 bool temp4
= false ;
2428 bool temp9
= false ;
2429 PyObject
* obj0
= 0 ;
2430 PyObject
* obj1
= 0 ;
2431 PyObject
* obj2
= 0 ;
2432 PyObject
* obj3
= 0 ;
2433 PyObject
* obj4
= 0 ;
2434 PyObject
* obj5
= 0 ;
2435 PyObject
* obj6
= 0 ;
2436 PyObject
* obj7
= 0 ;
2437 PyObject
* obj8
= 0 ;
2439 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2444 if (SWIG_arg_fail(1)) SWIG_fail
;
2445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2446 if (SWIG_arg_fail(2)) SWIG_fail
;
2449 arg3
= (int)(SWIG_As_int(obj2
));
2450 if (SWIG_arg_fail(3)) SWIG_fail
;
2455 arg4
= wxString_in_helper(obj3
);
2456 if (arg4
== NULL
) SWIG_fail
;
2463 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2469 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2474 arg7
= (long)(SWIG_As_long(obj6
));
2475 if (SWIG_arg_fail(7)) SWIG_fail
;
2480 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2481 if (SWIG_arg_fail(8)) SWIG_fail
;
2483 SWIG_null_ref("wxValidator");
2485 if (SWIG_arg_fail(8)) SWIG_fail
;
2490 arg9
= wxString_in_helper(obj8
);
2491 if (arg9
== NULL
) SWIG_fail
;
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2527 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxButton
*arg1
= (wxButton
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2532 (char *) "self", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2537 if (SWIG_arg_fail(1)) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 (arg1
)->SetDefault();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2552 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= wxButton::GetDefaultSize();
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2569 resultptr
= new wxSize((wxSize
&)(result
));
2570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2578 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2581 wxVisualAttributes result
;
2582 PyObject
* obj0
= 0 ;
2584 (char *) "variant", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2590 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2591 if (SWIG_arg_fail(1)) SWIG_fail
;
2595 if (!wxPyCheckForApp()) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2603 wxVisualAttributes
* resultptr
;
2604 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2613 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2616 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2618 return Py_BuildValue((char *)"");
2620 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
*resultobj
;
2622 wxWindow
*arg1
= (wxWindow
*) 0 ;
2623 int arg2
= (int) -1 ;
2624 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2625 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2626 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2627 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2628 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2629 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2630 long arg6
= (long) wxBU_AUTODRAW
;
2631 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2632 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2633 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2634 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2635 wxBitmapButton
*result
;
2638 bool temp8
= false ;
2639 PyObject
* obj0
= 0 ;
2640 PyObject
* obj1
= 0 ;
2641 PyObject
* obj2
= 0 ;
2642 PyObject
* obj3
= 0 ;
2643 PyObject
* obj4
= 0 ;
2644 PyObject
* obj5
= 0 ;
2645 PyObject
* obj6
= 0 ;
2646 PyObject
* obj7
= 0 ;
2648 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2653 if (SWIG_arg_fail(1)) SWIG_fail
;
2656 arg2
= (int)(SWIG_As_int(obj1
));
2657 if (SWIG_arg_fail(2)) SWIG_fail
;
2662 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2663 if (SWIG_arg_fail(3)) SWIG_fail
;
2665 SWIG_null_ref("wxBitmap");
2667 if (SWIG_arg_fail(3)) SWIG_fail
;
2673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2684 arg6
= (long)(SWIG_As_long(obj5
));
2685 if (SWIG_arg_fail(6)) SWIG_fail
;
2690 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2691 if (SWIG_arg_fail(7)) SWIG_fail
;
2693 SWIG_null_ref("wxValidator");
2695 if (SWIG_arg_fail(7)) SWIG_fail
;
2700 arg8
= wxString_in_helper(obj7
);
2701 if (arg8
== NULL
) SWIG_fail
;
2706 if (!wxPyCheckForApp()) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2728 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
*resultobj
;
2730 wxBitmapButton
*result
;
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2737 if (!wxPyCheckForApp()) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 result
= (wxBitmapButton
*)new wxBitmapButton();
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2751 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2754 wxWindow
*arg2
= (wxWindow
*) 0 ;
2755 int arg3
= (int) -1 ;
2756 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2757 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2758 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2759 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2760 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2761 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2762 long arg7
= (long) wxBU_AUTODRAW
;
2763 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2764 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2765 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2766 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2770 bool temp9
= false ;
2771 PyObject
* obj0
= 0 ;
2772 PyObject
* obj1
= 0 ;
2773 PyObject
* obj2
= 0 ;
2774 PyObject
* obj3
= 0 ;
2775 PyObject
* obj4
= 0 ;
2776 PyObject
* obj5
= 0 ;
2777 PyObject
* obj6
= 0 ;
2778 PyObject
* obj7
= 0 ;
2779 PyObject
* obj8
= 0 ;
2781 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail
;
2787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2788 if (SWIG_arg_fail(2)) SWIG_fail
;
2791 arg3
= (int)(SWIG_As_int(obj2
));
2792 if (SWIG_arg_fail(3)) SWIG_fail
;
2797 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2798 if (SWIG_arg_fail(4)) SWIG_fail
;
2800 SWIG_null_ref("wxBitmap");
2802 if (SWIG_arg_fail(4)) SWIG_fail
;
2808 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2814 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2819 arg7
= (long)(SWIG_As_long(obj6
));
2820 if (SWIG_arg_fail(7)) SWIG_fail
;
2825 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2826 if (SWIG_arg_fail(8)) SWIG_fail
;
2828 SWIG_null_ref("wxValidator");
2830 if (SWIG_arg_fail(8)) SWIG_fail
;
2835 arg9
= wxString_in_helper(obj8
);
2836 if (arg9
== NULL
) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2864 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2868 PyObject
* obj0
= 0 ;
2870 (char *) "self", NULL
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2875 if (SWIG_arg_fail(1)) SWIG_fail
;
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 result
= (arg1
)->GetBitmapLabel();
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) SWIG_fail
;
2884 wxBitmap
* resultptr
;
2885 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2894 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2898 PyObject
* obj0
= 0 ;
2900 (char *) "self", NULL
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2905 if (SWIG_arg_fail(1)) SWIG_fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 result
= (arg1
)->GetBitmapDisabled();
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2914 wxBitmap
* resultptr
;
2915 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2924 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
*resultobj
;
2926 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2928 PyObject
* obj0
= 0 ;
2930 (char *) "self", NULL
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2935 if (SWIG_arg_fail(1)) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 result
= (arg1
)->GetBitmapFocus();
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2944 wxBitmap
* resultptr
;
2945 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2954 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2958 PyObject
* obj0
= 0 ;
2960 (char *) "self", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2965 if (SWIG_arg_fail(1)) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= (arg1
)->GetBitmapSelected();
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2974 wxBitmap
* resultptr
;
2975 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2984 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2987 wxBitmap
*arg2
= 0 ;
2988 PyObject
* obj0
= 0 ;
2989 PyObject
* obj1
= 0 ;
2991 (char *) "self",(char *) "bitmap", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2996 if (SWIG_arg_fail(1)) SWIG_fail
;
2998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2999 if (SWIG_arg_fail(2)) SWIG_fail
;
3001 SWIG_null_ref("wxBitmap");
3003 if (SWIG_arg_fail(2)) SWIG_fail
;
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3012 Py_INCREF(Py_None
); resultobj
= Py_None
;
3019 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3022 wxBitmap
*arg2
= 0 ;
3023 PyObject
* obj0
= 0 ;
3024 PyObject
* obj1
= 0 ;
3026 (char *) "self",(char *) "bitmap", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3031 if (SWIG_arg_fail(1)) SWIG_fail
;
3033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3034 if (SWIG_arg_fail(2)) SWIG_fail
;
3036 SWIG_null_ref("wxBitmap");
3038 if (SWIG_arg_fail(2)) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3047 Py_INCREF(Py_None
); resultobj
= Py_None
;
3054 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
*resultobj
;
3056 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3057 wxBitmap
*arg2
= 0 ;
3058 PyObject
* obj0
= 0 ;
3059 PyObject
* obj1
= 0 ;
3061 (char *) "self",(char *) "bitmap", NULL
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3066 if (SWIG_arg_fail(1)) SWIG_fail
;
3068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3069 if (SWIG_arg_fail(2)) SWIG_fail
;
3071 SWIG_null_ref("wxBitmap");
3073 if (SWIG_arg_fail(2)) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3082 Py_INCREF(Py_None
); resultobj
= Py_None
;
3089 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
;
3091 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3092 wxBitmap
*arg2
= 0 ;
3093 PyObject
* obj0
= 0 ;
3094 PyObject
* obj1
= 0 ;
3096 (char *) "self",(char *) "bitmap", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3101 if (SWIG_arg_fail(1)) SWIG_fail
;
3103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3104 if (SWIG_arg_fail(2)) SWIG_fail
;
3106 SWIG_null_ref("wxBitmap");
3108 if (SWIG_arg_fail(2)) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 Py_INCREF(Py_None
); resultobj
= Py_None
;
3124 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3129 PyObject
* obj0
= 0 ;
3130 PyObject
* obj1
= 0 ;
3131 PyObject
* obj2
= 0 ;
3133 (char *) "self",(char *) "x",(char *) "y", NULL
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3138 if (SWIG_arg_fail(1)) SWIG_fail
;
3140 arg2
= (int)(SWIG_As_int(obj1
));
3141 if (SWIG_arg_fail(2)) SWIG_fail
;
3144 arg3
= (int)(SWIG_As_int(obj2
));
3145 if (SWIG_arg_fail(3)) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 (arg1
)->SetMargins(arg2
,arg3
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3154 Py_INCREF(Py_None
); resultobj
= Py_None
;
3161 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3167 (char *) "self", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3181 resultobj
= SWIG_From_int((int)(result
));
3189 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
;
3191 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3193 PyObject
* obj0
= 0 ;
3195 (char *) "self", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail
;
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) SWIG_fail
;
3209 resultobj
= SWIG_From_int((int)(result
));
3217 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3220 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3222 return Py_BuildValue((char *)"");
3224 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3225 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3230 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3235 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3237 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3244 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxWindow
*arg1
= (wxWindow
*) 0 ;
3247 int arg2
= (int) -1 ;
3248 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3249 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3250 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3251 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3252 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3253 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3254 long arg6
= (long) 0 ;
3255 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3256 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3257 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3258 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3260 bool temp3
= false ;
3263 bool temp8
= false ;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3266 PyObject
* obj2
= 0 ;
3267 PyObject
* obj3
= 0 ;
3268 PyObject
* obj4
= 0 ;
3269 PyObject
* obj5
= 0 ;
3270 PyObject
* obj6
= 0 ;
3271 PyObject
* obj7
= 0 ;
3273 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail
;
3281 arg2
= (int)(SWIG_As_int(obj1
));
3282 if (SWIG_arg_fail(2)) SWIG_fail
;
3287 arg3
= wxString_in_helper(obj2
);
3288 if (arg3
== NULL
) SWIG_fail
;
3295 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3301 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3306 arg6
= (long)(SWIG_As_long(obj5
));
3307 if (SWIG_arg_fail(6)) SWIG_fail
;
3312 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3313 if (SWIG_arg_fail(7)) SWIG_fail
;
3315 SWIG_null_ref("wxValidator");
3317 if (SWIG_arg_fail(7)) SWIG_fail
;
3322 arg8
= wxString_in_helper(obj7
);
3323 if (arg8
== NULL
) SWIG_fail
;
3328 if (!wxPyCheckForApp()) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3358 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3367 if (!wxPyCheckForApp()) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 result
= (wxCheckBox
*)new wxCheckBox();
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3381 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3384 wxWindow
*arg2
= (wxWindow
*) 0 ;
3385 int arg3
= (int) -1 ;
3386 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3387 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3388 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3389 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3390 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3391 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3392 long arg7
= (long) 0 ;
3393 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3394 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3395 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3396 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3398 bool temp4
= false ;
3401 bool temp9
= false ;
3402 PyObject
* obj0
= 0 ;
3403 PyObject
* obj1
= 0 ;
3404 PyObject
* obj2
= 0 ;
3405 PyObject
* obj3
= 0 ;
3406 PyObject
* obj4
= 0 ;
3407 PyObject
* obj5
= 0 ;
3408 PyObject
* obj6
= 0 ;
3409 PyObject
* obj7
= 0 ;
3410 PyObject
* obj8
= 0 ;
3412 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3417 if (SWIG_arg_fail(1)) SWIG_fail
;
3418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3419 if (SWIG_arg_fail(2)) SWIG_fail
;
3422 arg3
= (int)(SWIG_As_int(obj2
));
3423 if (SWIG_arg_fail(3)) SWIG_fail
;
3428 arg4
= wxString_in_helper(obj3
);
3429 if (arg4
== NULL
) SWIG_fail
;
3436 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3442 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3447 arg7
= (long)(SWIG_As_long(obj6
));
3448 if (SWIG_arg_fail(7)) SWIG_fail
;
3453 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3454 if (SWIG_arg_fail(8)) SWIG_fail
;
3456 SWIG_null_ref("wxValidator");
3458 if (SWIG_arg_fail(8)) SWIG_fail
;
3463 arg9
= wxString_in_helper(obj8
);
3464 if (arg9
== NULL
) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3500 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3506 (char *) "self", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 result
= (bool)(arg1
)->GetValue();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3528 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
*resultobj
;
3530 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3532 PyObject
* obj0
= 0 ;
3534 (char *) "self", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3539 if (SWIG_arg_fail(1)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (bool)(arg1
)->IsChecked();
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3556 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3563 (char *) "self",(char *) "state", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail
;
3570 arg2
= (bool const)(SWIG_As_bool(obj1
));
3571 if (SWIG_arg_fail(2)) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 (arg1
)->SetValue(arg2
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 Py_INCREF(Py_None
); resultobj
= Py_None
;
3587 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3590 wxCheckBoxState result
;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3598 if (SWIG_arg_fail(1)) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= SWIG_From_int((result
));
3613 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3616 wxCheckBoxState arg2
;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3620 (char *) "self",(char *) "state", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3625 if (SWIG_arg_fail(1)) SWIG_fail
;
3627 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3628 if (SWIG_arg_fail(2)) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3644 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 (char *) "self", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3655 if (SWIG_arg_fail(1)) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3672 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3678 (char *) "self", NULL
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3700 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
;
3702 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3703 wxVisualAttributes result
;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "variant", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3712 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3713 if (SWIG_arg_fail(1)) SWIG_fail
;
3717 if (!wxPyCheckForApp()) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3725 wxVisualAttributes
* resultptr
;
3726 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3735 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3738 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3740 return Py_BuildValue((char *)"");
3742 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3743 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3748 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3753 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3755 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3762 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxWindow
*arg1
= (wxWindow
*) 0 ;
3765 int arg2
= (int) -1 ;
3766 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3767 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3768 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3769 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3770 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3771 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3772 long arg6
= (long) 0 ;
3773 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3774 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3775 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3776 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3780 bool temp5
= false ;
3781 bool temp8
= false ;
3782 PyObject
* obj0
= 0 ;
3783 PyObject
* obj1
= 0 ;
3784 PyObject
* obj2
= 0 ;
3785 PyObject
* obj3
= 0 ;
3786 PyObject
* obj4
= 0 ;
3787 PyObject
* obj5
= 0 ;
3788 PyObject
* obj6
= 0 ;
3789 PyObject
* obj7
= 0 ;
3791 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3796 if (SWIG_arg_fail(1)) SWIG_fail
;
3799 arg2
= (int)(SWIG_As_int(obj1
));
3800 if (SWIG_arg_fail(2)) SWIG_fail
;
3806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3817 if (! PySequence_Check(obj4
)) {
3818 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3821 arg5
= new wxArrayString
;
3823 int i
, len
=PySequence_Length(obj4
);
3824 for (i
=0; i
<len
; i
++) {
3825 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3827 PyObject
* str
= PyObject_Unicode(item
);
3829 PyObject
* str
= PyObject_Str(item
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3832 arg5
->Add(Py2wxString(str
));
3840 arg6
= (long)(SWIG_As_long(obj5
));
3841 if (SWIG_arg_fail(6)) SWIG_fail
;
3846 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3847 if (SWIG_arg_fail(7)) SWIG_fail
;
3849 SWIG_null_ref("wxValidator");
3851 if (SWIG_arg_fail(7)) SWIG_fail
;
3856 arg8
= wxString_in_helper(obj7
);
3857 if (arg8
== NULL
) SWIG_fail
;
3862 if (!wxPyCheckForApp()) SWIG_fail
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3871 if (temp5
) delete arg5
;
3880 if (temp5
) delete arg5
;
3890 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3899 if (!wxPyCheckForApp()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxChoice
*)new wxChoice();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3913 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxChoice
*arg1
= (wxChoice
*) 0 ;
3916 wxWindow
*arg2
= (wxWindow
*) 0 ;
3917 int arg3
= (int) -1 ;
3918 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3919 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3920 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3921 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3922 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3923 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3924 long arg7
= (long) 0 ;
3925 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3926 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3927 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3928 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3932 bool temp6
= false ;
3933 bool temp9
= false ;
3934 PyObject
* obj0
= 0 ;
3935 PyObject
* obj1
= 0 ;
3936 PyObject
* obj2
= 0 ;
3937 PyObject
* obj3
= 0 ;
3938 PyObject
* obj4
= 0 ;
3939 PyObject
* obj5
= 0 ;
3940 PyObject
* obj6
= 0 ;
3941 PyObject
* obj7
= 0 ;
3942 PyObject
* obj8
= 0 ;
3944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3949 if (SWIG_arg_fail(1)) SWIG_fail
;
3950 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3951 if (SWIG_arg_fail(2)) SWIG_fail
;
3954 arg3
= (int)(SWIG_As_int(obj2
));
3955 if (SWIG_arg_fail(3)) SWIG_fail
;
3961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3972 if (! PySequence_Check(obj5
)) {
3973 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3976 arg6
= new wxArrayString
;
3978 int i
, len
=PySequence_Length(obj5
);
3979 for (i
=0; i
<len
; i
++) {
3980 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3982 PyObject
* str
= PyObject_Unicode(item
);
3984 PyObject
* str
= PyObject_Str(item
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3987 arg6
->Add(Py2wxString(str
));
3995 arg7
= (long)(SWIG_As_long(obj6
));
3996 if (SWIG_arg_fail(7)) SWIG_fail
;
4001 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4002 if (SWIG_arg_fail(8)) SWIG_fail
;
4004 SWIG_null_ref("wxValidator");
4006 if (SWIG_arg_fail(8)) SWIG_fail
;
4011 arg9
= wxString_in_helper(obj8
);
4012 if (arg9
== NULL
) SWIG_fail
;
4017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4027 if (temp6
) delete arg6
;
4036 if (temp6
) delete arg6
;
4046 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4049 wxVisualAttributes result
;
4050 PyObject
* obj0
= 0 ;
4052 (char *) "variant", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4058 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4059 if (SWIG_arg_fail(1)) SWIG_fail
;
4063 if (!wxPyCheckForApp()) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4071 wxVisualAttributes
* resultptr
;
4072 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4081 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4084 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4086 return Py_BuildValue((char *)"");
4088 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4089 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4094 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4099 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4101 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4108 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4110 wxWindow
*arg1
= (wxWindow
*) 0 ;
4111 int arg2
= (int) -1 ;
4112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4118 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4119 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4120 long arg7
= (long) 0 ;
4121 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4122 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4123 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4124 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4126 bool temp3
= false ;
4129 bool temp6
= false ;
4130 bool temp9
= false ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4133 PyObject
* obj2
= 0 ;
4134 PyObject
* obj3
= 0 ;
4135 PyObject
* obj4
= 0 ;
4136 PyObject
* obj5
= 0 ;
4137 PyObject
* obj6
= 0 ;
4138 PyObject
* obj7
= 0 ;
4139 PyObject
* obj8
= 0 ;
4141 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail
;
4149 arg2
= (int)(SWIG_As_int(obj1
));
4150 if (SWIG_arg_fail(2)) SWIG_fail
;
4155 arg3
= wxString_in_helper(obj2
);
4156 if (arg3
== NULL
) SWIG_fail
;
4163 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4169 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4174 if (! PySequence_Check(obj5
)) {
4175 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4178 arg6
= new wxArrayString
;
4180 int i
, len
=PySequence_Length(obj5
);
4181 for (i
=0; i
<len
; i
++) {
4182 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4184 PyObject
* str
= PyObject_Unicode(item
);
4186 PyObject
* str
= PyObject_Str(item
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4189 arg6
->Add(Py2wxString(str
));
4197 arg7
= (long)(SWIG_As_long(obj6
));
4198 if (SWIG_arg_fail(7)) SWIG_fail
;
4203 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4204 if (SWIG_arg_fail(8)) SWIG_fail
;
4206 SWIG_null_ref("wxValidator");
4208 if (SWIG_arg_fail(8)) SWIG_fail
;
4213 arg9
= wxString_in_helper(obj8
);
4214 if (arg9
== NULL
) SWIG_fail
;
4219 if (!wxPyCheckForApp()) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4232 if (temp6
) delete arg6
;
4245 if (temp6
) delete arg6
;
4255 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4264 if (!wxPyCheckForApp()) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 result
= (wxComboBox
*)new wxComboBox();
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4278 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4281 wxWindow
*arg2
= (wxWindow
*) 0 ;
4282 int arg3
= (int) -1 ;
4283 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4284 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4285 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4286 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4287 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4288 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4289 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4290 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4291 long arg8
= (long) 0 ;
4292 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4293 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4294 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4295 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4297 bool temp4
= false ;
4300 bool temp7
= false ;
4301 bool temp10
= false ;
4302 PyObject
* obj0
= 0 ;
4303 PyObject
* obj1
= 0 ;
4304 PyObject
* obj2
= 0 ;
4305 PyObject
* obj3
= 0 ;
4306 PyObject
* obj4
= 0 ;
4307 PyObject
* obj5
= 0 ;
4308 PyObject
* obj6
= 0 ;
4309 PyObject
* obj7
= 0 ;
4310 PyObject
* obj8
= 0 ;
4311 PyObject
* obj9
= 0 ;
4313 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4318 if (SWIG_arg_fail(1)) SWIG_fail
;
4319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4320 if (SWIG_arg_fail(2)) SWIG_fail
;
4323 arg3
= (int)(SWIG_As_int(obj2
));
4324 if (SWIG_arg_fail(3)) SWIG_fail
;
4329 arg4
= wxString_in_helper(obj3
);
4330 if (arg4
== NULL
) SWIG_fail
;
4337 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4343 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4348 if (! PySequence_Check(obj6
)) {
4349 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4352 arg7
= new wxArrayString
;
4354 int i
, len
=PySequence_Length(obj6
);
4355 for (i
=0; i
<len
; i
++) {
4356 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4358 PyObject
* str
= PyObject_Unicode(item
);
4360 PyObject
* str
= PyObject_Str(item
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4363 arg7
->Add(Py2wxString(str
));
4371 arg8
= (long)(SWIG_As_long(obj7
));
4372 if (SWIG_arg_fail(8)) SWIG_fail
;
4377 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4378 if (SWIG_arg_fail(9)) SWIG_fail
;
4380 SWIG_null_ref("wxValidator");
4382 if (SWIG_arg_fail(9)) SWIG_fail
;
4387 arg10
= wxString_in_helper(obj9
);
4388 if (arg10
== NULL
) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4407 if (temp7
) delete arg7
;
4420 if (temp7
) delete arg7
;
4430 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "self", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4441 if (SWIG_arg_fail(1)) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= ((wxComboBox
const *)arg1
)->GetValue();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4462 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
*resultobj
;
4464 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4465 wxString
*arg2
= 0 ;
4466 bool temp2
= false ;
4467 PyObject
* obj0
= 0 ;
4468 PyObject
* obj1
= 0 ;
4470 (char *) "self",(char *) "value", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4475 if (SWIG_arg_fail(1)) SWIG_fail
;
4477 arg2
= wxString_in_helper(obj1
);
4478 if (arg2
== NULL
) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 (arg1
)->SetValue((wxString
const &)*arg2
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 Py_INCREF(Py_None
); resultobj
= Py_None
;
4503 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4508 (char *) "self", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4513 if (SWIG_arg_fail(1)) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 Py_INCREF(Py_None
); resultobj
= Py_None
;
4528 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4538 if (SWIG_arg_fail(1)) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 Py_INCREF(Py_None
); resultobj
= Py_None
;
4553 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4556 PyObject
* obj0
= 0 ;
4558 (char *) "self", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4563 if (SWIG_arg_fail(1)) SWIG_fail
;
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4571 Py_INCREF(Py_None
); resultobj
= Py_None
;
4578 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4585 (char *) "self",(char *) "pos", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail
;
4592 arg2
= (long)(SWIG_As_long(obj1
));
4593 if (SWIG_arg_fail(2)) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 (arg1
)->SetInsertionPoint(arg2
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 Py_INCREF(Py_None
); resultobj
= Py_None
;
4609 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4613 PyObject
* obj0
= 0 ;
4615 (char *) "self", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4620 if (SWIG_arg_fail(1)) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_From_long((long)(result
));
4637 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4643 (char *) "self", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4648 if (SWIG_arg_fail(1)) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_From_long((long)(result
));
4665 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4670 wxString
*arg4
= 0 ;
4671 bool temp4
= false ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4674 PyObject
* obj2
= 0 ;
4675 PyObject
* obj3
= 0 ;
4677 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4682 if (SWIG_arg_fail(1)) SWIG_fail
;
4684 arg2
= (long)(SWIG_As_long(obj1
));
4685 if (SWIG_arg_fail(2)) SWIG_fail
;
4688 arg3
= (long)(SWIG_As_long(obj2
));
4689 if (SWIG_arg_fail(3)) SWIG_fail
;
4692 arg4
= wxString_in_helper(obj3
);
4693 if (arg4
== NULL
) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4723 PyObject
* obj1
= 0 ;
4725 (char *) "self",(char *) "n", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail
;
4732 arg2
= (int)(SWIG_As_int(obj1
));
4733 if (SWIG_arg_fail(2)) SWIG_fail
;
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 (arg1
)->SetSelection(arg2
);
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 Py_INCREF(Py_None
); resultobj
= Py_None
;
4749 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4754 PyObject
* obj0
= 0 ;
4755 PyObject
* obj1
= 0 ;
4756 PyObject
* obj2
= 0 ;
4758 (char *) "self",(char *) "from",(char *) "to", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4763 if (SWIG_arg_fail(1)) SWIG_fail
;
4765 arg2
= (long)(SWIG_As_long(obj1
));
4766 if (SWIG_arg_fail(2)) SWIG_fail
;
4769 arg3
= (long)(SWIG_As_long(obj2
));
4770 if (SWIG_arg_fail(3)) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 (arg1
)->SetSelection(arg2
,arg3
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 Py_INCREF(Py_None
); resultobj
= Py_None
;
4786 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4789 wxString
*arg2
= 0 ;
4791 bool temp2
= false ;
4792 PyObject
* obj0
= 0 ;
4793 PyObject
* obj1
= 0 ;
4795 (char *) "self",(char *) "string", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4800 if (SWIG_arg_fail(1)) SWIG_fail
;
4802 arg2
= wxString_in_helper(obj1
);
4803 if (arg2
== NULL
) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4830 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4834 wxString
*arg3
= 0 ;
4835 bool temp3
= false ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4838 PyObject
* obj2
= 0 ;
4840 (char *) "self",(char *) "n",(char *) "string", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4845 if (SWIG_arg_fail(1)) SWIG_fail
;
4847 arg2
= (int)(SWIG_As_int(obj1
));
4848 if (SWIG_arg_fail(2)) SWIG_fail
;
4851 arg3
= wxString_in_helper(obj2
);
4852 if (arg3
== NULL
) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 Py_INCREF(Py_None
); resultobj
= Py_None
;
4877 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4879 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4884 (char *) "self",(char *) "editable", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4889 if (SWIG_arg_fail(1)) SWIG_fail
;
4891 arg2
= (bool)(SWIG_As_bool(obj1
));
4892 if (SWIG_arg_fail(2)) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 (arg1
)->SetEditable(arg2
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 Py_INCREF(Py_None
); resultobj
= Py_None
;
4908 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
;
4910 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4911 PyObject
* obj0
= 0 ;
4913 (char *) "self", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4918 if (SWIG_arg_fail(1)) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 (arg1
)->SetInsertionPointEnd();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 Py_INCREF(Py_None
); resultobj
= Py_None
;
4933 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 PyObject
* obj2
= 0 ;
4942 (char *) "self",(char *) "from",(char *) "to", NULL
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4947 if (SWIG_arg_fail(1)) SWIG_fail
;
4949 arg2
= (long)(SWIG_As_long(obj1
));
4950 if (SWIG_arg_fail(2)) SWIG_fail
;
4953 arg3
= (long)(SWIG_As_long(obj2
));
4954 if (SWIG_arg_fail(3)) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->Remove(arg2
,arg3
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4976 (char *) "self", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
4980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4981 if (SWIG_arg_fail(1)) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5003 (char *) "self", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5008 if (SWIG_arg_fail(1)) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 Py_INCREF(Py_None
); resultobj
= Py_None
;
5023 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5028 (char *) "self", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5033 if (SWIG_arg_fail(1)) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 Py_INCREF(Py_None
); resultobj
= Py_None
;
5048 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5053 (char *) "self", NULL
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5058 if (SWIG_arg_fail(1)) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 (arg1
)->SelectAll();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 Py_INCREF(Py_None
); resultobj
= Py_None
;
5073 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5079 (char *) "self", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5084 if (SWIG_arg_fail(1)) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5101 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5105 PyObject
* obj0
= 0 ;
5107 (char *) "self", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5112 if (SWIG_arg_fail(1)) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5129 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5133 PyObject
* obj0
= 0 ;
5135 (char *) "self", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5140 if (SWIG_arg_fail(1)) SWIG_fail
;
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5157 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "self", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5185 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5189 PyObject
* obj0
= 0 ;
5191 (char *) "self", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5196 if (SWIG_arg_fail(1)) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5213 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5216 wxVisualAttributes result
;
5217 PyObject
* obj0
= 0 ;
5219 (char *) "variant", NULL
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5225 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5226 if (SWIG_arg_fail(1)) SWIG_fail
;
5230 if (!wxPyCheckForApp()) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5238 wxVisualAttributes
* resultptr
;
5239 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5248 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5251 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5253 return Py_BuildValue((char *)"");
5255 static int _wrap_GaugeNameStr_set(PyObject
*) {
5256 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5261 static PyObject
*_wrap_GaugeNameStr_get(void) {
5266 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5268 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5275 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxWindow
*arg1
= (wxWindow
*) 0 ;
5278 int arg2
= (int) -1 ;
5279 int arg3
= (int) 100 ;
5280 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5281 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5282 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5283 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5284 long arg6
= (long) wxGA_HORIZONTAL
;
5285 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5286 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5287 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5292 bool temp8
= false ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 PyObject
* obj2
= 0 ;
5296 PyObject
* obj3
= 0 ;
5297 PyObject
* obj4
= 0 ;
5298 PyObject
* obj5
= 0 ;
5299 PyObject
* obj6
= 0 ;
5300 PyObject
* obj7
= 0 ;
5302 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5307 if (SWIG_arg_fail(1)) SWIG_fail
;
5310 arg2
= (int)(SWIG_As_int(obj1
));
5311 if (SWIG_arg_fail(2)) SWIG_fail
;
5316 arg3
= (int)(SWIG_As_int(obj2
));
5317 if (SWIG_arg_fail(3)) SWIG_fail
;
5323 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5329 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5334 arg6
= (long)(SWIG_As_long(obj5
));
5335 if (SWIG_arg_fail(6)) SWIG_fail
;
5340 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5341 if (SWIG_arg_fail(7)) SWIG_fail
;
5343 SWIG_null_ref("wxValidator");
5345 if (SWIG_arg_fail(7)) SWIG_fail
;
5350 arg8
= wxString_in_helper(obj7
);
5351 if (arg8
== NULL
) SWIG_fail
;
5356 if (!wxPyCheckForApp()) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5378 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5387 if (!wxPyCheckForApp()) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (wxGauge
*)new wxGauge();
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5401 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
;
5403 wxGauge
*arg1
= (wxGauge
*) 0 ;
5404 wxWindow
*arg2
= (wxWindow
*) 0 ;
5405 int arg3
= (int) -1 ;
5406 int arg4
= (int) 100 ;
5407 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5408 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5409 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5410 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5411 long arg7
= (long) wxGA_HORIZONTAL
;
5412 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5413 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5414 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5415 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5419 bool temp9
= false ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5422 PyObject
* obj2
= 0 ;
5423 PyObject
* obj3
= 0 ;
5424 PyObject
* obj4
= 0 ;
5425 PyObject
* obj5
= 0 ;
5426 PyObject
* obj6
= 0 ;
5427 PyObject
* obj7
= 0 ;
5428 PyObject
* obj8
= 0 ;
5430 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5435 if (SWIG_arg_fail(1)) SWIG_fail
;
5436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5437 if (SWIG_arg_fail(2)) SWIG_fail
;
5440 arg3
= (int)(SWIG_As_int(obj2
));
5441 if (SWIG_arg_fail(3)) SWIG_fail
;
5446 arg4
= (int)(SWIG_As_int(obj3
));
5447 if (SWIG_arg_fail(4)) SWIG_fail
;
5453 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5459 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5464 arg7
= (long)(SWIG_As_long(obj6
));
5465 if (SWIG_arg_fail(7)) SWIG_fail
;
5470 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5471 if (SWIG_arg_fail(8)) SWIG_fail
;
5473 SWIG_null_ref("wxValidator");
5475 if (SWIG_arg_fail(8)) SWIG_fail
;
5480 arg9
= wxString_in_helper(obj8
);
5481 if (arg9
== NULL
) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5509 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 wxGauge
*arg1
= (wxGauge
*) 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5516 (char *) "self",(char *) "range", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5521 if (SWIG_arg_fail(1)) SWIG_fail
;
5523 arg2
= (int)(SWIG_As_int(obj1
));
5524 if (SWIG_arg_fail(2)) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 (arg1
)->SetRange(arg2
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 Py_INCREF(Py_None
); resultobj
= Py_None
;
5540 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxGauge
*arg1
= (wxGauge
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5551 if (SWIG_arg_fail(1)) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= SWIG_From_int((int)(result
));
5568 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxGauge
*arg1
= (wxGauge
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5575 (char *) "self",(char *) "pos", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5580 if (SWIG_arg_fail(1)) SWIG_fail
;
5582 arg2
= (int)(SWIG_As_int(obj1
));
5583 if (SWIG_arg_fail(2)) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 (arg1
)->SetValue(arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 Py_INCREF(Py_None
); resultobj
= Py_None
;
5599 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxGauge
*arg1
= (wxGauge
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5605 (char *) "self", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5610 if (SWIG_arg_fail(1)) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= SWIG_From_int((int)(result
));
5627 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxGauge
*arg1
= (wxGauge
*) 0 ;
5631 PyObject
* obj0
= 0 ;
5633 (char *) "self", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5638 if (SWIG_arg_fail(1)) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxGauge
*arg1
= (wxGauge
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5662 (char *) "self",(char *) "w", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5667 if (SWIG_arg_fail(1)) SWIG_fail
;
5669 arg2
= (int)(SWIG_As_int(obj1
));
5670 if (SWIG_arg_fail(2)) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 (arg1
)->SetShadowWidth(arg2
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 Py_INCREF(Py_None
); resultobj
= Py_None
;
5686 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxGauge
*arg1
= (wxGauge
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5697 if (SWIG_arg_fail(1)) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= SWIG_From_int((int)(result
));
5714 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxGauge
*arg1
= (wxGauge
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5721 (char *) "self",(char *) "w", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5726 if (SWIG_arg_fail(1)) SWIG_fail
;
5728 arg2
= (int)(SWIG_As_int(obj1
));
5729 if (SWIG_arg_fail(2)) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 (arg1
)->SetBezelFace(arg2
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxGauge
*arg1
= (wxGauge
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5756 if (SWIG_arg_fail(1)) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= SWIG_From_int((int)(result
));
5773 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
;
5775 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5776 wxVisualAttributes result
;
5777 PyObject
* obj0
= 0 ;
5779 (char *) "variant", NULL
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5785 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5786 if (SWIG_arg_fail(1)) SWIG_fail
;
5790 if (!wxPyCheckForApp()) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5798 wxVisualAttributes
* resultptr
;
5799 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5808 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5811 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5813 return Py_BuildValue((char *)"");
5815 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5816 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5821 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5826 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5828 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5835 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5836 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5841 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5846 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5848 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5855 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5856 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5861 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5866 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5868 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5875 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxWindow
*arg1
= (wxWindow
*) 0 ;
5878 int arg2
= (int) -1 ;
5879 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5880 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5881 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5882 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5883 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5884 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5885 long arg6
= (long) 0 ;
5886 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5887 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5888 wxStaticBox
*result
;
5889 bool temp3
= false ;
5892 bool temp7
= false ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5895 PyObject
* obj2
= 0 ;
5896 PyObject
* obj3
= 0 ;
5897 PyObject
* obj4
= 0 ;
5898 PyObject
* obj5
= 0 ;
5899 PyObject
* obj6
= 0 ;
5901 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5906 if (SWIG_arg_fail(1)) SWIG_fail
;
5909 arg2
= (int)(SWIG_As_int(obj1
));
5910 if (SWIG_arg_fail(2)) SWIG_fail
;
5915 arg3
= wxString_in_helper(obj2
);
5916 if (arg3
== NULL
) SWIG_fail
;
5923 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5929 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5934 arg6
= (long)(SWIG_As_long(obj5
));
5935 if (SWIG_arg_fail(6)) SWIG_fail
;
5940 arg7
= wxString_in_helper(obj6
);
5941 if (arg7
== NULL
) SWIG_fail
;
5946 if (!wxPyCheckForApp()) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5976 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5978 wxStaticBox
*result
;
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
5985 if (!wxPyCheckForApp()) SWIG_fail
;
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (wxStaticBox
*)new wxStaticBox();
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5999 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
;
6001 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6002 wxWindow
*arg2
= (wxWindow
*) 0 ;
6003 int arg3
= (int) -1 ;
6004 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6005 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6006 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6007 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6008 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6009 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6010 long arg7
= (long) 0 ;
6011 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6012 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6014 bool temp4
= false ;
6017 bool temp8
= false ;
6018 PyObject
* obj0
= 0 ;
6019 PyObject
* obj1
= 0 ;
6020 PyObject
* obj2
= 0 ;
6021 PyObject
* obj3
= 0 ;
6022 PyObject
* obj4
= 0 ;
6023 PyObject
* obj5
= 0 ;
6024 PyObject
* obj6
= 0 ;
6025 PyObject
* obj7
= 0 ;
6027 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6032 if (SWIG_arg_fail(1)) SWIG_fail
;
6033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6034 if (SWIG_arg_fail(2)) SWIG_fail
;
6037 arg3
= (int)(SWIG_As_int(obj2
));
6038 if (SWIG_arg_fail(3)) SWIG_fail
;
6043 arg4
= wxString_in_helper(obj3
);
6044 if (arg4
== NULL
) SWIG_fail
;
6051 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6057 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6062 arg7
= (long)(SWIG_As_long(obj6
));
6063 if (SWIG_arg_fail(7)) SWIG_fail
;
6068 arg8
= wxString_in_helper(obj7
);
6069 if (arg8
== NULL
) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6105 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6108 wxVisualAttributes result
;
6109 PyObject
* obj0
= 0 ;
6111 (char *) "variant", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6117 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6118 if (SWIG_arg_fail(1)) SWIG_fail
;
6122 if (!wxPyCheckForApp()) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 wxVisualAttributes
* resultptr
;
6131 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6140 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6143 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6145 return Py_BuildValue((char *)"");
6147 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxWindow
*arg1
= (wxWindow
*) 0 ;
6150 int arg2
= (int) -1 ;
6151 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6152 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6153 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6154 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6155 long arg5
= (long) wxLI_HORIZONTAL
;
6156 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6157 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6158 wxStaticLine
*result
;
6161 bool temp6
= false ;
6162 PyObject
* obj0
= 0 ;
6163 PyObject
* obj1
= 0 ;
6164 PyObject
* obj2
= 0 ;
6165 PyObject
* obj3
= 0 ;
6166 PyObject
* obj4
= 0 ;
6167 PyObject
* obj5
= 0 ;
6169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6174 if (SWIG_arg_fail(1)) SWIG_fail
;
6177 arg2
= (int)(SWIG_As_int(obj1
));
6178 if (SWIG_arg_fail(2)) SWIG_fail
;
6184 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6190 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6195 arg5
= (long)(SWIG_As_long(obj4
));
6196 if (SWIG_arg_fail(5)) SWIG_fail
;
6201 arg6
= wxString_in_helper(obj5
);
6202 if (arg6
== NULL
) SWIG_fail
;
6207 if (!wxPyCheckForApp()) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6229 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxStaticLine
*result
;
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6238 if (!wxPyCheckForApp()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 result
= (wxStaticLine
*)new wxStaticLine();
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6252 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6255 wxWindow
*arg2
= (wxWindow
*) 0 ;
6256 int arg3
= (int) -1 ;
6257 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6258 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6259 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6260 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6261 long arg6
= (long) wxLI_HORIZONTAL
;
6262 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6263 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6267 bool temp7
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 PyObject
* obj2
= 0 ;
6271 PyObject
* obj3
= 0 ;
6272 PyObject
* obj4
= 0 ;
6273 PyObject
* obj5
= 0 ;
6274 PyObject
* obj6
= 0 ;
6276 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6281 if (SWIG_arg_fail(1)) SWIG_fail
;
6282 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6283 if (SWIG_arg_fail(2)) SWIG_fail
;
6286 arg3
= (int)(SWIG_As_int(obj2
));
6287 if (SWIG_arg_fail(3)) SWIG_fail
;
6293 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6299 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6304 arg6
= (long)(SWIG_As_long(obj5
));
6305 if (SWIG_arg_fail(6)) SWIG_fail
;
6310 arg7
= wxString_in_helper(obj6
);
6311 if (arg7
== NULL
) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6339 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "self", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6350 if (SWIG_arg_fail(1)) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6367 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (int)wxStaticLine::GetDefaultSize();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= SWIG_From_int((int)(result
));
6391 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6394 wxVisualAttributes result
;
6395 PyObject
* obj0
= 0 ;
6397 (char *) "variant", NULL
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6403 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6404 if (SWIG_arg_fail(1)) SWIG_fail
;
6408 if (!wxPyCheckForApp()) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6416 wxVisualAttributes
* resultptr
;
6417 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6426 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6429 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6431 return Py_BuildValue((char *)"");
6433 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxWindow
*arg1
= (wxWindow
*) 0 ;
6436 int arg2
= (int) -1 ;
6437 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6438 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6439 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6440 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6441 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6442 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6443 long arg6
= (long) 0 ;
6444 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6445 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6446 wxStaticText
*result
;
6447 bool temp3
= false ;
6450 bool temp7
= false ;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6453 PyObject
* obj2
= 0 ;
6454 PyObject
* obj3
= 0 ;
6455 PyObject
* obj4
= 0 ;
6456 PyObject
* obj5
= 0 ;
6457 PyObject
* obj6
= 0 ;
6459 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6464 if (SWIG_arg_fail(1)) SWIG_fail
;
6467 arg2
= (int)(SWIG_As_int(obj1
));
6468 if (SWIG_arg_fail(2)) SWIG_fail
;
6473 arg3
= wxString_in_helper(obj2
);
6474 if (arg3
== NULL
) SWIG_fail
;
6481 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6487 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6492 arg6
= (long)(SWIG_As_long(obj5
));
6493 if (SWIG_arg_fail(6)) SWIG_fail
;
6498 arg7
= wxString_in_helper(obj6
);
6499 if (arg7
== NULL
) SWIG_fail
;
6504 if (!wxPyCheckForApp()) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6534 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6536 wxStaticText
*result
;
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6543 if (!wxPyCheckForApp()) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (wxStaticText
*)new wxStaticText();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6557 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6560 wxWindow
*arg2
= (wxWindow
*) 0 ;
6561 int arg3
= (int) -1 ;
6562 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6563 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6564 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6565 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6566 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6567 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6568 long arg7
= (long) 0 ;
6569 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6570 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6572 bool temp4
= false ;
6575 bool temp8
= false ;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 PyObject
* obj2
= 0 ;
6579 PyObject
* obj3
= 0 ;
6580 PyObject
* obj4
= 0 ;
6581 PyObject
* obj5
= 0 ;
6582 PyObject
* obj6
= 0 ;
6583 PyObject
* obj7
= 0 ;
6585 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6590 if (SWIG_arg_fail(1)) SWIG_fail
;
6591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6592 if (SWIG_arg_fail(2)) SWIG_fail
;
6595 arg3
= (int)(SWIG_As_int(obj2
));
6596 if (SWIG_arg_fail(3)) SWIG_fail
;
6601 arg4
= wxString_in_helper(obj3
);
6602 if (arg4
== NULL
) SWIG_fail
;
6609 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6615 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6620 arg7
= (long)(SWIG_As_long(obj6
));
6621 if (SWIG_arg_fail(7)) SWIG_fail
;
6626 arg8
= wxString_in_helper(obj7
);
6627 if (arg8
== NULL
) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6663 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6666 wxVisualAttributes result
;
6667 PyObject
* obj0
= 0 ;
6669 (char *) "variant", NULL
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6675 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6676 if (SWIG_arg_fail(1)) SWIG_fail
;
6680 if (!wxPyCheckForApp()) SWIG_fail
;
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6688 wxVisualAttributes
* resultptr
;
6689 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6698 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6701 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6703 return Py_BuildValue((char *)"");
6705 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxWindow
*arg1
= (wxWindow
*) 0 ;
6708 int arg2
= (int) -1 ;
6709 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6710 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6711 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6712 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6713 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6714 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6715 long arg6
= (long) 0 ;
6716 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6717 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6718 wxStaticBitmap
*result
;
6721 bool temp7
= false ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6724 PyObject
* obj2
= 0 ;
6725 PyObject
* obj3
= 0 ;
6726 PyObject
* obj4
= 0 ;
6727 PyObject
* obj5
= 0 ;
6728 PyObject
* obj6
= 0 ;
6730 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6735 if (SWIG_arg_fail(1)) SWIG_fail
;
6738 arg2
= (int)(SWIG_As_int(obj1
));
6739 if (SWIG_arg_fail(2)) SWIG_fail
;
6744 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6745 if (SWIG_arg_fail(3)) SWIG_fail
;
6747 SWIG_null_ref("wxBitmap");
6749 if (SWIG_arg_fail(3)) SWIG_fail
;
6755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6766 arg6
= (long)(SWIG_As_long(obj5
));
6767 if (SWIG_arg_fail(6)) SWIG_fail
;
6772 arg7
= wxString_in_helper(obj6
);
6773 if (arg7
== NULL
) SWIG_fail
;
6778 if (!wxPyCheckForApp()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6800 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxStaticBitmap
*result
;
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6809 if (!wxPyCheckForApp()) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6823 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6826 wxWindow
*arg2
= (wxWindow
*) 0 ;
6827 int arg3
= (int) -1 ;
6828 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6829 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6830 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6831 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6832 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6833 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6834 long arg7
= (long) 0 ;
6835 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6836 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6840 bool temp8
= false ;
6841 PyObject
* obj0
= 0 ;
6842 PyObject
* obj1
= 0 ;
6843 PyObject
* obj2
= 0 ;
6844 PyObject
* obj3
= 0 ;
6845 PyObject
* obj4
= 0 ;
6846 PyObject
* obj5
= 0 ;
6847 PyObject
* obj6
= 0 ;
6848 PyObject
* obj7
= 0 ;
6850 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6855 if (SWIG_arg_fail(1)) SWIG_fail
;
6856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6857 if (SWIG_arg_fail(2)) SWIG_fail
;
6860 arg3
= (int)(SWIG_As_int(obj2
));
6861 if (SWIG_arg_fail(3)) SWIG_fail
;
6866 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6867 if (SWIG_arg_fail(4)) SWIG_fail
;
6869 SWIG_null_ref("wxBitmap");
6871 if (SWIG_arg_fail(4)) SWIG_fail
;
6877 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6883 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6888 arg7
= (long)(SWIG_As_long(obj6
));
6889 if (SWIG_arg_fail(7)) SWIG_fail
;
6894 arg8
= wxString_in_helper(obj7
);
6895 if (arg8
== NULL
) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6923 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
;
6925 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6927 PyObject
* obj0
= 0 ;
6929 (char *) "self", NULL
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6934 if (SWIG_arg_fail(1)) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= (arg1
)->GetBitmap();
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6943 wxBitmap
* resultptr
;
6944 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6953 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
;
6955 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6956 wxBitmap
*arg2
= 0 ;
6957 PyObject
* obj0
= 0 ;
6958 PyObject
* obj1
= 0 ;
6960 (char *) "self",(char *) "bitmap", NULL
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6965 if (SWIG_arg_fail(1)) SWIG_fail
;
6967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6968 if (SWIG_arg_fail(2)) SWIG_fail
;
6970 SWIG_null_ref("wxBitmap");
6972 if (SWIG_arg_fail(2)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 Py_INCREF(Py_None
); resultobj
= Py_None
;
6988 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6993 PyObject
* obj1
= 0 ;
6995 (char *) "self",(char *) "icon", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7000 if (SWIG_arg_fail(1)) SWIG_fail
;
7002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7003 if (SWIG_arg_fail(2)) SWIG_fail
;
7005 SWIG_null_ref("wxIcon");
7007 if (SWIG_arg_fail(2)) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 Py_INCREF(Py_None
); resultobj
= Py_None
;
7023 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7026 wxVisualAttributes result
;
7027 PyObject
* obj0
= 0 ;
7029 (char *) "variant", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7035 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7036 if (SWIG_arg_fail(1)) SWIG_fail
;
7040 if (!wxPyCheckForApp()) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 wxVisualAttributes
* resultptr
;
7049 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7058 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7061 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7063 return Py_BuildValue((char *)"");
7065 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7066 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7071 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7076 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7078 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7085 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxWindow
*arg1
= (wxWindow
*) 0 ;
7088 int arg2
= (int) -1 ;
7089 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7090 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7091 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7092 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7093 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7094 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7095 long arg6
= (long) 0 ;
7096 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7097 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7098 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7099 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7103 bool temp5
= false ;
7104 bool temp8
= false ;
7105 PyObject
* obj0
= 0 ;
7106 PyObject
* obj1
= 0 ;
7107 PyObject
* obj2
= 0 ;
7108 PyObject
* obj3
= 0 ;
7109 PyObject
* obj4
= 0 ;
7110 PyObject
* obj5
= 0 ;
7111 PyObject
* obj6
= 0 ;
7112 PyObject
* obj7
= 0 ;
7114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7119 if (SWIG_arg_fail(1)) SWIG_fail
;
7122 arg2
= (int)(SWIG_As_int(obj1
));
7123 if (SWIG_arg_fail(2)) SWIG_fail
;
7129 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7135 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7140 if (! PySequence_Check(obj4
)) {
7141 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7144 arg5
= new wxArrayString
;
7146 int i
, len
=PySequence_Length(obj4
);
7147 for (i
=0; i
<len
; i
++) {
7148 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7150 PyObject
* str
= PyObject_Unicode(item
);
7152 PyObject
* str
= PyObject_Str(item
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7155 arg5
->Add(Py2wxString(str
));
7163 arg6
= (long)(SWIG_As_long(obj5
));
7164 if (SWIG_arg_fail(6)) SWIG_fail
;
7169 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7170 if (SWIG_arg_fail(7)) SWIG_fail
;
7172 SWIG_null_ref("wxValidator");
7174 if (SWIG_arg_fail(7)) SWIG_fail
;
7179 arg8
= wxString_in_helper(obj7
);
7180 if (arg8
== NULL
) SWIG_fail
;
7185 if (!wxPyCheckForApp()) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7194 if (temp5
) delete arg5
;
7203 if (temp5
) delete arg5
;
7213 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7222 if (!wxPyCheckForApp()) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (wxListBox
*)new wxListBox();
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7236 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxListBox
*arg1
= (wxListBox
*) 0 ;
7239 wxWindow
*arg2
= (wxWindow
*) 0 ;
7240 int arg3
= (int) -1 ;
7241 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7242 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7243 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7244 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7245 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7246 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7247 long arg7
= (long) 0 ;
7248 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7249 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7250 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7251 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7255 bool temp6
= false ;
7256 bool temp9
= false ;
7257 PyObject
* obj0
= 0 ;
7258 PyObject
* obj1
= 0 ;
7259 PyObject
* obj2
= 0 ;
7260 PyObject
* obj3
= 0 ;
7261 PyObject
* obj4
= 0 ;
7262 PyObject
* obj5
= 0 ;
7263 PyObject
* obj6
= 0 ;
7264 PyObject
* obj7
= 0 ;
7265 PyObject
* obj8
= 0 ;
7267 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7272 if (SWIG_arg_fail(1)) SWIG_fail
;
7273 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7274 if (SWIG_arg_fail(2)) SWIG_fail
;
7277 arg3
= (int)(SWIG_As_int(obj2
));
7278 if (SWIG_arg_fail(3)) SWIG_fail
;
7284 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7290 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7295 if (! PySequence_Check(obj5
)) {
7296 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7299 arg6
= new wxArrayString
;
7301 int i
, len
=PySequence_Length(obj5
);
7302 for (i
=0; i
<len
; i
++) {
7303 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7305 PyObject
* str
= PyObject_Unicode(item
);
7307 PyObject
* str
= PyObject_Str(item
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7310 arg6
->Add(Py2wxString(str
));
7318 arg7
= (long)(SWIG_As_long(obj6
));
7319 if (SWIG_arg_fail(7)) SWIG_fail
;
7324 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7325 if (SWIG_arg_fail(8)) SWIG_fail
;
7327 SWIG_null_ref("wxValidator");
7329 if (SWIG_arg_fail(8)) SWIG_fail
;
7334 arg9
= wxString_in_helper(obj8
);
7335 if (arg9
== NULL
) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7350 if (temp6
) delete arg6
;
7359 if (temp6
) delete arg6
;
7369 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 wxListBox
*arg1
= (wxListBox
*) 0 ;
7372 wxString
*arg2
= 0 ;
7374 PyObject
*arg4
= (PyObject
*) NULL
;
7375 bool temp2
= false ;
7376 PyObject
* obj0
= 0 ;
7377 PyObject
* obj1
= 0 ;
7378 PyObject
* obj2
= 0 ;
7379 PyObject
* obj3
= 0 ;
7381 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7386 if (SWIG_arg_fail(1)) SWIG_fail
;
7388 arg2
= wxString_in_helper(obj1
);
7389 if (arg2
== NULL
) SWIG_fail
;
7393 arg3
= (int)(SWIG_As_int(obj2
));
7394 if (SWIG_arg_fail(3)) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 Py_INCREF(Py_None
); resultobj
= Py_None
;
7421 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxListBox
*arg1
= (wxListBox
*) 0 ;
7424 wxArrayString
*arg2
= 0 ;
7426 bool temp2
= false ;
7427 PyObject
* obj0
= 0 ;
7428 PyObject
* obj1
= 0 ;
7429 PyObject
* obj2
= 0 ;
7431 (char *) "self",(char *) "items",(char *) "pos", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7436 if (SWIG_arg_fail(1)) SWIG_fail
;
7438 if (! PySequence_Check(obj1
)) {
7439 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7442 arg2
= new wxArrayString
;
7444 int i
, len
=PySequence_Length(obj1
);
7445 for (i
=0; i
<len
; i
++) {
7446 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7448 PyObject
* str
= PyObject_Unicode(item
);
7450 PyObject
* str
= PyObject_Str(item
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7453 arg2
->Add(Py2wxString(str
));
7459 arg3
= (int)(SWIG_As_int(obj2
));
7460 if (SWIG_arg_fail(3)) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 Py_INCREF(Py_None
); resultobj
= Py_None
;
7471 if (temp2
) delete arg2
;
7476 if (temp2
) delete arg2
;
7482 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxListBox
*arg1
= (wxListBox
*) 0 ;
7485 wxArrayString
*arg2
= 0 ;
7486 bool temp2
= false ;
7487 PyObject
* obj0
= 0 ;
7488 PyObject
* obj1
= 0 ;
7490 (char *) "self",(char *) "items", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7495 if (SWIG_arg_fail(1)) SWIG_fail
;
7497 if (! PySequence_Check(obj1
)) {
7498 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7501 arg2
= new wxArrayString
;
7503 int i
, len
=PySequence_Length(obj1
);
7504 for (i
=0; i
<len
; i
++) {
7505 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7507 PyObject
* str
= PyObject_Unicode(item
);
7509 PyObject
* str
= PyObject_Str(item
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7512 arg2
->Add(Py2wxString(str
));
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 (arg1
)->Set((wxArrayString
const &)*arg2
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 if (temp2
) delete arg2
;
7531 if (temp2
) delete arg2
;
7537 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxListBox
*arg1
= (wxListBox
*) 0 ;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7545 (char *) "self",(char *) "n", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail
;
7552 arg2
= (int)(SWIG_As_int(obj1
));
7553 if (SWIG_arg_fail(2)) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7571 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
;
7573 wxListBox
*arg1
= (wxListBox
*) 0 ;
7575 bool arg3
= (bool) true ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7578 PyObject
* obj2
= 0 ;
7580 (char *) "self",(char *) "n",(char *) "select", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7585 if (SWIG_arg_fail(1)) SWIG_fail
;
7587 arg2
= (int)(SWIG_As_int(obj1
));
7588 if (SWIG_arg_fail(2)) SWIG_fail
;
7592 arg3
= (bool)(SWIG_As_bool(obj2
));
7593 if (SWIG_arg_fail(3)) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 (arg1
)->SetSelection(arg2
,arg3
);
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 Py_INCREF(Py_None
); resultobj
= Py_None
;
7610 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxListBox
*arg1
= (wxListBox
*) 0 ;
7614 PyObject
* obj0
= 0 ;
7615 PyObject
* obj1
= 0 ;
7617 (char *) "self",(char *) "n", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7622 if (SWIG_arg_fail(1)) SWIG_fail
;
7624 arg2
= (int)(SWIG_As_int(obj1
));
7625 if (SWIG_arg_fail(2)) SWIG_fail
;
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 (arg1
)->Select(arg2
);
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 Py_INCREF(Py_None
); resultobj
= Py_None
;
7641 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxListBox
*arg1
= (wxListBox
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7646 PyObject
* obj1
= 0 ;
7648 (char *) "self",(char *) "n", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7653 if (SWIG_arg_fail(1)) SWIG_fail
;
7655 arg2
= (int)(SWIG_As_int(obj1
));
7656 if (SWIG_arg_fail(2)) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 (arg1
)->Deselect(arg2
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 Py_INCREF(Py_None
); resultobj
= Py_None
;
7672 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxListBox
*arg1
= (wxListBox
*) 0 ;
7675 int arg2
= (int) -1 ;
7676 PyObject
* obj0
= 0 ;
7677 PyObject
* obj1
= 0 ;
7679 (char *) "self",(char *) "itemToLeaveSelected", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7684 if (SWIG_arg_fail(1)) SWIG_fail
;
7687 arg2
= (int)(SWIG_As_int(obj1
));
7688 if (SWIG_arg_fail(2)) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 (arg1
)->DeselectAll(arg2
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 Py_INCREF(Py_None
); resultobj
= Py_None
;
7705 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxListBox
*arg1
= (wxListBox
*) 0 ;
7708 wxString
*arg2
= 0 ;
7709 bool arg3
= (bool) true ;
7711 bool temp2
= false ;
7712 PyObject
* obj0
= 0 ;
7713 PyObject
* obj1
= 0 ;
7714 PyObject
* obj2
= 0 ;
7716 (char *) "self",(char *) "s",(char *) "select", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7721 if (SWIG_arg_fail(1)) SWIG_fail
;
7723 arg2
= wxString_in_helper(obj1
);
7724 if (arg2
== NULL
) SWIG_fail
;
7729 arg3
= (bool)(SWIG_As_bool(obj2
));
7730 if (SWIG_arg_fail(3)) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7757 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxListBox
*arg1
= (wxListBox
*) 0 ;
7761 PyObject
* obj0
= 0 ;
7763 (char *) "self", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7768 if (SWIG_arg_fail(1)) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7783 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxListBox
*arg1
= (wxListBox
*) 0 ;
7787 PyObject
* obj0
= 0 ;
7788 PyObject
* obj1
= 0 ;
7790 (char *) "self",(char *) "n", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7795 if (SWIG_arg_fail(1)) SWIG_fail
;
7797 arg2
= (int)(SWIG_As_int(obj1
));
7798 if (SWIG_arg_fail(2)) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 (arg1
)->SetFirstItem(arg2
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 Py_INCREF(Py_None
); resultobj
= Py_None
;
7814 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxListBox
*arg1
= (wxListBox
*) 0 ;
7817 wxString
*arg2
= 0 ;
7818 bool temp2
= false ;
7819 PyObject
* obj0
= 0 ;
7820 PyObject
* obj1
= 0 ;
7822 (char *) "self",(char *) "s", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail
;
7829 arg2
= wxString_in_helper(obj1
);
7830 if (arg2
== NULL
) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 Py_INCREF(Py_None
); resultobj
= Py_None
;
7855 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxListBox
*arg1
= (wxListBox
*) 0 ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7862 (char *) "self",(char *) "n", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7867 if (SWIG_arg_fail(1)) SWIG_fail
;
7869 arg2
= (int)(SWIG_As_int(obj1
));
7870 if (SWIG_arg_fail(2)) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 (arg1
)->EnsureVisible(arg2
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 Py_INCREF(Py_None
); resultobj
= Py_None
;
7886 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxListBox
*arg1
= (wxListBox
*) 0 ;
7889 wxString
*arg2
= 0 ;
7890 bool temp2
= false ;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7894 (char *) "self",(char *) "s", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7899 if (SWIG_arg_fail(1)) SWIG_fail
;
7901 arg2
= wxString_in_helper(obj1
);
7902 if (arg2
== NULL
) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 Py_INCREF(Py_None
); resultobj
= Py_None
;
7927 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxListBox
*arg1
= (wxListBox
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7933 (char *) "self", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7955 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxListBox
*arg1
= (wxListBox
*) 0 ;
7959 wxColour
*arg3
= 0 ;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7963 PyObject
* obj2
= 0 ;
7965 (char *) "self",(char *) "item",(char *) "c", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7970 if (SWIG_arg_fail(1)) SWIG_fail
;
7972 arg2
= (int)(SWIG_As_int(obj1
));
7973 if (SWIG_arg_fail(2)) SWIG_fail
;
7977 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 Py_INCREF(Py_None
); resultobj
= Py_None
;
7993 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxListBox
*arg1
= (wxListBox
*) 0 ;
7997 wxColour
*arg3
= 0 ;
7999 PyObject
* obj0
= 0 ;
8000 PyObject
* obj1
= 0 ;
8001 PyObject
* obj2
= 0 ;
8003 (char *) "self",(char *) "item",(char *) "c", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8008 if (SWIG_arg_fail(1)) SWIG_fail
;
8010 arg2
= (int)(SWIG_As_int(obj1
));
8011 if (SWIG_arg_fail(2)) SWIG_fail
;
8015 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 Py_INCREF(Py_None
); resultobj
= Py_None
;
8031 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxListBox
*arg1
= (wxListBox
*) 0 ;
8036 PyObject
* obj0
= 0 ;
8037 PyObject
* obj1
= 0 ;
8038 PyObject
* obj2
= 0 ;
8040 (char *) "self",(char *) "item",(char *) "f", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail
;
8047 arg2
= (int)(SWIG_As_int(obj1
));
8048 if (SWIG_arg_fail(2)) SWIG_fail
;
8051 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8052 if (SWIG_arg_fail(3)) SWIG_fail
;
8054 SWIG_null_ref("wxFont");
8056 if (SWIG_arg_fail(3)) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8075 wxVisualAttributes result
;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "variant", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8084 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8085 if (SWIG_arg_fail(1)) SWIG_fail
;
8089 if (!wxPyCheckForApp()) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8097 wxVisualAttributes
* resultptr
;
8098 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8107 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8110 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8112 return Py_BuildValue((char *)"");
8114 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxWindow
*arg1
= (wxWindow
*) 0 ;
8117 int arg2
= (int) -1 ;
8118 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8119 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8120 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8121 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8122 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8123 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8124 long arg6
= (long) 0 ;
8125 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8126 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8127 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8128 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8129 wxCheckListBox
*result
;
8132 bool temp5
= false ;
8133 bool temp8
= false ;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8136 PyObject
* obj2
= 0 ;
8137 PyObject
* obj3
= 0 ;
8138 PyObject
* obj4
= 0 ;
8139 PyObject
* obj5
= 0 ;
8140 PyObject
* obj6
= 0 ;
8141 PyObject
* obj7
= 0 ;
8143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail
;
8151 arg2
= (int)(SWIG_As_int(obj1
));
8152 if (SWIG_arg_fail(2)) SWIG_fail
;
8158 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8164 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8169 if (! PySequence_Check(obj4
)) {
8170 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8173 arg5
= new wxArrayString
;
8175 int i
, len
=PySequence_Length(obj4
);
8176 for (i
=0; i
<len
; i
++) {
8177 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8179 PyObject
* str
= PyObject_Unicode(item
);
8181 PyObject
* str
= PyObject_Str(item
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8184 arg5
->Add(Py2wxString(str
));
8192 arg6
= (long)(SWIG_As_long(obj5
));
8193 if (SWIG_arg_fail(6)) SWIG_fail
;
8198 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8199 if (SWIG_arg_fail(7)) SWIG_fail
;
8201 SWIG_null_ref("wxValidator");
8203 if (SWIG_arg_fail(7)) SWIG_fail
;
8208 arg8
= wxString_in_helper(obj7
);
8209 if (arg8
== NULL
) SWIG_fail
;
8214 if (!wxPyCheckForApp()) SWIG_fail
;
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8223 if (temp5
) delete arg5
;
8232 if (temp5
) delete arg5
;
8242 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxCheckListBox
*result
;
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8251 if (!wxPyCheckForApp()) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (wxCheckListBox
*)new wxCheckListBox();
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8265 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8268 wxWindow
*arg2
= (wxWindow
*) 0 ;
8269 int arg3
= (int) -1 ;
8270 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8271 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8272 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8273 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8274 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8275 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8276 long arg7
= (long) 0 ;
8277 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8278 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8279 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8280 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8284 bool temp6
= false ;
8285 bool temp9
= false ;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8288 PyObject
* obj2
= 0 ;
8289 PyObject
* obj3
= 0 ;
8290 PyObject
* obj4
= 0 ;
8291 PyObject
* obj5
= 0 ;
8292 PyObject
* obj6
= 0 ;
8293 PyObject
* obj7
= 0 ;
8294 PyObject
* obj8
= 0 ;
8296 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8301 if (SWIG_arg_fail(1)) SWIG_fail
;
8302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8303 if (SWIG_arg_fail(2)) SWIG_fail
;
8306 arg3
= (int)(SWIG_As_int(obj2
));
8307 if (SWIG_arg_fail(3)) SWIG_fail
;
8313 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8319 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8324 if (! PySequence_Check(obj5
)) {
8325 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8328 arg6
= new wxArrayString
;
8330 int i
, len
=PySequence_Length(obj5
);
8331 for (i
=0; i
<len
; i
++) {
8332 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8334 PyObject
* str
= PyObject_Unicode(item
);
8336 PyObject
* str
= PyObject_Str(item
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8339 arg6
->Add(Py2wxString(str
));
8347 arg7
= (long)(SWIG_As_long(obj6
));
8348 if (SWIG_arg_fail(7)) SWIG_fail
;
8353 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8354 if (SWIG_arg_fail(8)) SWIG_fail
;
8356 SWIG_null_ref("wxValidator");
8358 if (SWIG_arg_fail(8)) SWIG_fail
;
8363 arg9
= wxString_in_helper(obj8
);
8364 if (arg9
== NULL
) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8379 if (temp6
) delete arg6
;
8388 if (temp6
) delete arg6
;
8398 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8406 (char *) "self",(char *) "index", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail
;
8413 arg2
= (int)(SWIG_As_int(obj1
));
8414 if (SWIG_arg_fail(2)) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (bool)(arg1
)->IsChecked(arg2
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8432 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8436 int arg3
= (int) true ;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8439 PyObject
* obj2
= 0 ;
8441 (char *) "self",(char *) "index",(char *) "check", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8446 if (SWIG_arg_fail(1)) SWIG_fail
;
8448 arg2
= (int)(SWIG_As_int(obj1
));
8449 if (SWIG_arg_fail(2)) SWIG_fail
;
8453 arg3
= (int)(SWIG_As_int(obj2
));
8454 if (SWIG_arg_fail(3)) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 (arg1
)->Check(arg2
,arg3
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 Py_INCREF(Py_None
); resultobj
= Py_None
;
8471 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8478 PyObject
* obj1
= 0 ;
8480 (char *) "self",(char *) "pt", NULL
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8485 if (SWIG_arg_fail(1)) SWIG_fail
;
8488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_From_int((int)(result
));
8506 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
;
8508 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8514 PyObject
* obj2
= 0 ;
8516 (char *) "self",(char *) "x",(char *) "y", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8521 if (SWIG_arg_fail(1)) SWIG_fail
;
8523 arg2
= (int)(SWIG_As_int(obj1
));
8524 if (SWIG_arg_fail(2)) SWIG_fail
;
8527 arg3
= (int)(SWIG_As_int(obj2
));
8528 if (SWIG_arg_fail(3)) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= SWIG_From_int((int)(result
));
8546 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8549 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8551 return Py_BuildValue((char *)"");
8553 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8554 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8559 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8564 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8566 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8573 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxColour
const &arg1_defvalue
= wxNullColour
;
8576 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8577 wxColour
const &arg2_defvalue
= wxNullColour
;
8578 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8579 wxFont
const &arg3_defvalue
= wxNullFont
;
8580 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8581 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8587 PyObject
* obj2
= 0 ;
8588 PyObject
* obj3
= 0 ;
8590 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8597 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8603 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8608 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8609 if (SWIG_arg_fail(3)) SWIG_fail
;
8611 SWIG_null_ref("wxFont");
8613 if (SWIG_arg_fail(3)) SWIG_fail
;
8618 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8619 if (SWIG_arg_fail(4)) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8636 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8639 PyObject
* obj0
= 0 ;
8641 (char *) "self", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8646 if (SWIG_arg_fail(1)) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 Py_INCREF(Py_None
); resultobj
= Py_None
;
8661 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
;
8663 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8666 (char *) "self", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8671 if (SWIG_arg_fail(1)) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8689 wxColour
*arg2
= 0 ;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8694 (char *) "self",(char *) "colText", NULL
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8699 if (SWIG_arg_fail(1)) SWIG_fail
;
8702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 Py_INCREF(Py_None
); resultobj
= Py_None
;
8718 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8721 wxColour
*arg2
= 0 ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8726 (char *) "self",(char *) "colBack", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8731 if (SWIG_arg_fail(1)) SWIG_fail
;
8734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8750 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8754 long arg3
= (long) wxTEXT_ATTR_FONT
;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8757 PyObject
* obj2
= 0 ;
8759 (char *) "self",(char *) "font",(char *) "flags", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8764 if (SWIG_arg_fail(1)) SWIG_fail
;
8766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8767 if (SWIG_arg_fail(2)) SWIG_fail
;
8769 SWIG_null_ref("wxFont");
8771 if (SWIG_arg_fail(2)) SWIG_fail
;
8775 arg3
= (long)(SWIG_As_long(obj2
));
8776 if (SWIG_arg_fail(3)) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 Py_INCREF(Py_None
); resultobj
= Py_None
;
8793 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
;
8795 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8796 wxTextAttrAlignment arg2
;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj1
= 0 ;
8800 (char *) "self",(char *) "alignment", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8805 if (SWIG_arg_fail(1)) SWIG_fail
;
8807 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8808 if (SWIG_arg_fail(2)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 Py_INCREF(Py_None
); resultobj
= Py_None
;
8824 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8827 wxArrayInt
*arg2
= 0 ;
8828 bool temp2
= false ;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8832 (char *) "self",(char *) "tabs", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail
;
8839 if (! PySequence_Check(obj1
)) {
8840 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8843 arg2
= new wxArrayInt
;
8845 int i
, len
=PySequence_Length(obj1
);
8846 for (i
=0; i
<len
; i
++) {
8847 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8848 PyObject
* number
= PyNumber_Int(item
);
8849 arg2
->Add(PyInt_AS_LONG(number
));
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 Py_INCREF(Py_None
); resultobj
= Py_None
;
8863 if (temp2
) delete arg2
;
8868 if (temp2
) delete arg2
;
8874 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8878 int arg3
= (int) 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 PyObject
* obj2
= 0 ;
8883 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8888 if (SWIG_arg_fail(1)) SWIG_fail
;
8890 arg2
= (int)(SWIG_As_int(obj1
));
8891 if (SWIG_arg_fail(2)) SWIG_fail
;
8895 arg3
= (int)(SWIG_As_int(obj2
));
8896 if (SWIG_arg_fail(3)) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 (arg1
)->SetLeftIndent(arg2
,arg3
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 Py_INCREF(Py_None
); resultobj
= Py_None
;
8913 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8920 (char *) "self",(char *) "indent", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail
;
8927 arg2
= (int)(SWIG_As_int(obj1
));
8928 if (SWIG_arg_fail(2)) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->SetRightIndent(arg2
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8951 (char *) "self",(char *) "flags", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
8959 if (SWIG_arg_fail(2)) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->SetFlags(arg2
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8975 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8979 PyObject
* obj0
= 0 ;
8981 (char *) "self", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
8985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8986 if (SWIG_arg_fail(1)) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9003 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9009 (char *) "self", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9014 if (SWIG_arg_fail(1)) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9031 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9035 PyObject
* obj0
= 0 ;
9037 (char *) "self", NULL
9040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9042 if (SWIG_arg_fail(1)) SWIG_fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9059 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9063 PyObject
* obj0
= 0 ;
9065 (char *) "self", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9070 if (SWIG_arg_fail(1)) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9087 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9091 PyObject
* obj0
= 0 ;
9093 (char *) "self", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9098 if (SWIG_arg_fail(1)) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9115 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
;
9117 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9119 PyObject
* obj0
= 0 ;
9121 (char *) "self", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9126 if (SWIG_arg_fail(1)) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9143 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9147 PyObject
* obj0
= 0 ;
9149 (char *) "self", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9171 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9179 (char *) "self",(char *) "flag", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail
;
9186 arg2
= (long)(SWIG_As_long(obj1
));
9187 if (SWIG_arg_fail(2)) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9205 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9211 (char *) "self", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9221 result
= (wxColour
*) &_result_ref
;
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9234 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9245 if (SWIG_arg_fail(1)) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9250 result
= (wxColour
*) &_result_ref
;
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9263 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9269 (char *) "self", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9274 if (SWIG_arg_fail(1)) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9279 result
= (wxFont
*) &_result_ref
;
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9286 wxFont
* resultptr
= new wxFont(*result
);
9287 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9295 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9298 wxTextAttrAlignment result
;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= SWIG_From_int((result
));
9321 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9327 (char *) "self", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9337 result
= (wxArrayInt
*) &_result_ref
;
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= PyList_New(0);
9346 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9347 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9348 PyList_Append(resultobj
, val
);
9358 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
;
9360 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9362 PyObject
* obj0
= 0 ;
9364 (char *) "self", NULL
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9369 if (SWIG_arg_fail(1)) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= SWIG_From_long((long)(result
));
9386 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "self", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9397 if (SWIG_arg_fail(1)) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= SWIG_From_long((long)(result
));
9414 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9420 (char *) "self", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9425 if (SWIG_arg_fail(1)) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_From_long((long)(result
));
9442 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
;
9444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9448 (char *) "self", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9453 if (SWIG_arg_fail(1)) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= SWIG_From_long((long)(result
));
9470 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9481 if (SWIG_arg_fail(1)) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9498 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxTextAttr
*arg1
= 0 ;
9501 wxTextAttr
*arg2
= 0 ;
9502 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9508 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9514 if (SWIG_arg_fail(1)) SWIG_fail
;
9516 SWIG_null_ref("wxTextAttr");
9518 if (SWIG_arg_fail(1)) SWIG_fail
;
9521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9522 if (SWIG_arg_fail(2)) SWIG_fail
;
9524 SWIG_null_ref("wxTextAttr");
9526 if (SWIG_arg_fail(2)) SWIG_fail
;
9528 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9529 if (SWIG_arg_fail(3)) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9538 wxTextAttr
* resultptr
;
9539 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9548 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9551 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9553 return Py_BuildValue((char *)"");
9555 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxWindow
*arg1
= (wxWindow
*) 0 ;
9558 int arg2
= (int) -1 ;
9559 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9560 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9561 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9562 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9563 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9564 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9565 long arg6
= (long) 0 ;
9566 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9567 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9568 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9569 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9571 bool temp3
= false ;
9574 bool temp8
= false ;
9575 PyObject
* obj0
= 0 ;
9576 PyObject
* obj1
= 0 ;
9577 PyObject
* obj2
= 0 ;
9578 PyObject
* obj3
= 0 ;
9579 PyObject
* obj4
= 0 ;
9580 PyObject
* obj5
= 0 ;
9581 PyObject
* obj6
= 0 ;
9582 PyObject
* obj7
= 0 ;
9584 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9589 if (SWIG_arg_fail(1)) SWIG_fail
;
9592 arg2
= (int)(SWIG_As_int(obj1
));
9593 if (SWIG_arg_fail(2)) SWIG_fail
;
9598 arg3
= wxString_in_helper(obj2
);
9599 if (arg3
== NULL
) SWIG_fail
;
9606 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9612 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9617 arg6
= (long)(SWIG_As_long(obj5
));
9618 if (SWIG_arg_fail(6)) SWIG_fail
;
9623 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9624 if (SWIG_arg_fail(7)) SWIG_fail
;
9626 SWIG_null_ref("wxValidator");
9628 if (SWIG_arg_fail(7)) SWIG_fail
;
9633 arg8
= wxString_in_helper(obj7
);
9634 if (arg8
== NULL
) SWIG_fail
;
9639 if (!wxPyCheckForApp()) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9669 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9678 if (!wxPyCheckForApp()) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (wxTextCtrl
*)new wxTextCtrl();
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9692 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9695 wxWindow
*arg2
= (wxWindow
*) 0 ;
9696 int arg3
= (int) -1 ;
9697 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9698 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9699 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9700 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9701 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9702 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9703 long arg7
= (long) 0 ;
9704 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9705 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9706 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9707 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9709 bool temp4
= false ;
9712 bool temp9
= false ;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9715 PyObject
* obj2
= 0 ;
9716 PyObject
* obj3
= 0 ;
9717 PyObject
* obj4
= 0 ;
9718 PyObject
* obj5
= 0 ;
9719 PyObject
* obj6
= 0 ;
9720 PyObject
* obj7
= 0 ;
9721 PyObject
* obj8
= 0 ;
9723 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail
;
9729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9730 if (SWIG_arg_fail(2)) SWIG_fail
;
9733 arg3
= (int)(SWIG_As_int(obj2
));
9734 if (SWIG_arg_fail(3)) SWIG_fail
;
9739 arg4
= wxString_in_helper(obj3
);
9740 if (arg4
== NULL
) SWIG_fail
;
9747 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9753 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9758 arg7
= (long)(SWIG_As_long(obj6
));
9759 if (SWIG_arg_fail(7)) SWIG_fail
;
9764 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9765 if (SWIG_arg_fail(8)) SWIG_fail
;
9767 SWIG_null_ref("wxValidator");
9769 if (SWIG_arg_fail(8)) SWIG_fail
;
9774 arg9
= wxString_in_helper(obj8
);
9775 if (arg9
== NULL
) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9811 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9817 (char *) "self", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9822 if (SWIG_arg_fail(1)) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9843 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9846 wxString
*arg2
= 0 ;
9847 bool temp2
= false ;
9848 PyObject
* obj0
= 0 ;
9849 PyObject
* obj1
= 0 ;
9851 (char *) "self",(char *) "value", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9856 if (SWIG_arg_fail(1)) SWIG_fail
;
9858 arg2
= wxString_in_helper(obj1
);
9859 if (arg2
== NULL
) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 (arg1
)->SetValue((wxString
const &)*arg2
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 Py_INCREF(Py_None
); resultobj
= Py_None
;
9884 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9890 PyObject
* obj0
= 0 ;
9891 PyObject
* obj1
= 0 ;
9892 PyObject
* obj2
= 0 ;
9894 (char *) "self",(char *) "from",(char *) "to", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9899 if (SWIG_arg_fail(1)) SWIG_fail
;
9901 arg2
= (long)(SWIG_As_long(obj1
));
9902 if (SWIG_arg_fail(2)) SWIG_fail
;
9905 arg3
= (long)(SWIG_As_long(obj2
));
9906 if (SWIG_arg_fail(3)) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9928 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9936 (char *) "self",(char *) "lineNo", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9941 if (SWIG_arg_fail(1)) SWIG_fail
;
9943 arg2
= (long)(SWIG_As_long(obj1
));
9944 if (SWIG_arg_fail(2)) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9954 resultobj
= SWIG_From_int((int)(result
));
9962 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
;
9964 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9970 (char *) "self",(char *) "lineNo", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
9974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9975 if (SWIG_arg_fail(1)) SWIG_fail
;
9977 arg2
= (long)(SWIG_As_long(obj1
));
9978 if (SWIG_arg_fail(2)) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10000 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10004 PyObject
* obj0
= 0 ;
10005 char *kwnames
[] = {
10006 (char *) "self", NULL
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10011 if (SWIG_arg_fail(1)) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_From_int((int)(result
));
10028 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10039 if (SWIG_arg_fail(1)) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10056 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10067 if (SWIG_arg_fail(1)) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10084 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10095 if (SWIG_arg_fail(1)) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10112 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "self", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10123 if (SWIG_arg_fail(1)) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10140 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10143 long *arg2
= (long *) 0 ;
10144 long *arg3
= (long *) 0 ;
10149 PyObject
* obj0
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self", NULL
10154 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10155 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",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 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 Py_INCREF(Py_None
); resultobj
= Py_None
;
10167 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10168 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10169 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10170 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10177 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10188 if (SWIG_arg_fail(1)) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10209 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "self", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10219 if (SWIG_arg_fail(1)) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 Py_INCREF(Py_None
); resultobj
= Py_None
;
10234 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10239 wxString
*arg4
= 0 ;
10240 bool temp4
= false ;
10241 PyObject
* obj0
= 0 ;
10242 PyObject
* obj1
= 0 ;
10243 PyObject
* obj2
= 0 ;
10244 PyObject
* obj3
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10251 if (SWIG_arg_fail(1)) SWIG_fail
;
10253 arg2
= (long)(SWIG_As_long(obj1
));
10254 if (SWIG_arg_fail(2)) SWIG_fail
;
10257 arg3
= (long)(SWIG_As_long(obj2
));
10258 if (SWIG_arg_fail(3)) SWIG_fail
;
10261 arg4
= wxString_in_helper(obj3
);
10262 if (arg4
== NULL
) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 Py_INCREF(Py_None
); resultobj
= Py_None
;
10287 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 PyObject
* obj2
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self",(char *) "from",(char *) "to", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10301 if (SWIG_arg_fail(1)) SWIG_fail
;
10303 arg2
= (long)(SWIG_As_long(obj1
));
10304 if (SWIG_arg_fail(2)) SWIG_fail
;
10307 arg3
= (long)(SWIG_As_long(obj2
));
10308 if (SWIG_arg_fail(3)) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 (arg1
)->Remove(arg2
,arg3
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 Py_INCREF(Py_None
); resultobj
= Py_None
;
10324 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10327 wxString
*arg2
= 0 ;
10329 bool temp2
= false ;
10330 PyObject
* obj0
= 0 ;
10331 PyObject
* obj1
= 0 ;
10332 char *kwnames
[] = {
10333 (char *) "self",(char *) "file", NULL
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10338 if (SWIG_arg_fail(1)) SWIG_fail
;
10340 arg2
= wxString_in_helper(obj1
);
10341 if (arg2
== NULL
) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10368 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10371 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10372 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10374 bool temp2
= false ;
10375 PyObject
* obj0
= 0 ;
10376 PyObject
* obj1
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self",(char *) "file", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10383 if (SWIG_arg_fail(1)) SWIG_fail
;
10386 arg2
= wxString_in_helper(obj1
);
10387 if (arg2
== NULL
) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10415 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 char *kwnames
[] = {
10420 (char *) "self", NULL
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10425 if (SWIG_arg_fail(1)) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 (arg1
)->MarkDirty();
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 Py_INCREF(Py_None
); resultobj
= Py_None
;
10440 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10443 PyObject
* obj0
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 (arg1
)->DiscardEdits();
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 Py_INCREF(Py_None
); resultobj
= Py_None
;
10465 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10468 unsigned long arg2
;
10469 PyObject
* obj0
= 0 ;
10470 PyObject
* obj1
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self",(char *) "len", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10477 if (SWIG_arg_fail(1)) SWIG_fail
;
10479 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10480 if (SWIG_arg_fail(2)) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 (arg1
)->SetMaxLength(arg2
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10489 Py_INCREF(Py_None
); resultobj
= Py_None
;
10496 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
*resultobj
;
10498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10499 wxString
*arg2
= 0 ;
10500 bool temp2
= false ;
10501 PyObject
* obj0
= 0 ;
10502 PyObject
* obj1
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self",(char *) "text", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10509 if (SWIG_arg_fail(1)) SWIG_fail
;
10511 arg2
= wxString_in_helper(obj1
);
10512 if (arg2
== NULL
) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 (arg1
)->WriteText((wxString
const &)*arg2
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 Py_INCREF(Py_None
); resultobj
= Py_None
;
10537 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
;
10539 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10540 wxString
*arg2
= 0 ;
10541 bool temp2
= false ;
10542 PyObject
* obj0
= 0 ;
10543 PyObject
* obj1
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "self",(char *) "text", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10550 if (SWIG_arg_fail(1)) SWIG_fail
;
10552 arg2
= wxString_in_helper(obj1
);
10553 if (arg2
== NULL
) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 (arg1
)->AppendText((wxString
const &)*arg2
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 Py_INCREF(Py_None
); resultobj
= Py_None
;
10578 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10581 wxKeyEvent
*arg2
= 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self",(char *) "event", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10591 if (SWIG_arg_fail(1)) SWIG_fail
;
10593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10594 if (SWIG_arg_fail(2)) SWIG_fail
;
10595 if (arg2
== NULL
) {
10596 SWIG_null_ref("wxKeyEvent");
10598 if (SWIG_arg_fail(2)) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10616 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10621 wxTextAttr
*arg4
= 0 ;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 PyObject
* obj2
= 0 ;
10626 PyObject
* obj3
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10633 if (SWIG_arg_fail(1)) SWIG_fail
;
10635 arg2
= (long)(SWIG_As_long(obj1
));
10636 if (SWIG_arg_fail(2)) SWIG_fail
;
10639 arg3
= (long)(SWIG_As_long(obj2
));
10640 if (SWIG_arg_fail(3)) SWIG_fail
;
10643 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10644 if (SWIG_arg_fail(4)) SWIG_fail
;
10645 if (arg4
== NULL
) {
10646 SWIG_null_ref("wxTextAttr");
10648 if (SWIG_arg_fail(4)) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10666 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10670 wxTextAttr
*arg3
= 0 ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 PyObject
* obj2
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self",(char *) "position",(char *) "style", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10681 if (SWIG_arg_fail(1)) SWIG_fail
;
10683 arg2
= (long)(SWIG_As_long(obj1
));
10684 if (SWIG_arg_fail(2)) SWIG_fail
;
10687 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10688 if (SWIG_arg_fail(3)) SWIG_fail
;
10689 if (arg3
== NULL
) {
10690 SWIG_null_ref("wxTextAttr");
10692 if (SWIG_arg_fail(3)) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10710 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
;
10712 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10713 wxTextAttr
*arg2
= 0 ;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self",(char *) "style", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10723 if (SWIG_arg_fail(1)) SWIG_fail
;
10725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10726 if (SWIG_arg_fail(2)) SWIG_fail
;
10727 if (arg2
== NULL
) {
10728 SWIG_null_ref("wxTextAttr");
10730 if (SWIG_arg_fail(2)) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10748 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10751 wxTextAttr
*result
;
10752 PyObject
* obj0
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10759 if (SWIG_arg_fail(1)) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10764 result
= (wxTextAttr
*) &_result_ref
;
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10777 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 PyObject
* obj2
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "x",(char *) "y", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail
;
10794 arg2
= (long)(SWIG_As_long(obj1
));
10795 if (SWIG_arg_fail(2)) SWIG_fail
;
10798 arg3
= (long)(SWIG_As_long(obj2
));
10799 if (SWIG_arg_fail(3)) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= SWIG_From_long((long)(result
));
10817 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10821 long *arg3
= (long *) 0 ;
10822 long *arg4
= (long *) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self",(char *) "pos", NULL
10833 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10834 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10837 if (SWIG_arg_fail(1)) SWIG_fail
;
10839 arg2
= (long)(SWIG_As_long(obj1
));
10840 if (SWIG_arg_fail(2)) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 Py_INCREF(Py_None
); resultobj
= Py_None
;
10850 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10851 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10852 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10853 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10860 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self",(char *) "pos", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10872 if (SWIG_arg_fail(1)) SWIG_fail
;
10874 arg2
= (long)(SWIG_As_long(obj1
));
10875 if (SWIG_arg_fail(2)) SWIG_fail
;
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 (arg1
)->ShowPosition(arg2
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 Py_INCREF(Py_None
); resultobj
= Py_None
;
10891 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10894 wxPoint
*arg2
= 0 ;
10895 long *arg3
= (long *) 0 ;
10896 long *arg4
= (long *) 0 ;
10897 wxTextCtrlHitTestResult result
;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 char *kwnames
[] = {
10906 (char *) "self",(char *) "pt", NULL
10909 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10910 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10913 if (SWIG_arg_fail(1)) SWIG_fail
;
10916 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= SWIG_From_int((result
));
10926 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10927 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10928 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10929 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10936 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
;
10938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10939 wxPoint
*arg2
= 0 ;
10940 long *arg3
= (long *) 0 ;
10941 wxTextCtrlHitTestResult result
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "pt", NULL
10951 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10954 if (SWIG_arg_fail(1)) SWIG_fail
;
10957 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= SWIG_From_int((result
));
10967 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10968 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10975 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10978 PyObject
* obj0
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
10984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10985 if (SWIG_arg_fail(1)) SWIG_fail
;
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 Py_INCREF(Py_None
); resultobj
= Py_None
;
11000 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11003 PyObject
* obj0
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11010 if (SWIG_arg_fail(1)) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 Py_INCREF(Py_None
); resultobj
= Py_None
;
11025 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
;
11027 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11035 if (SWIG_arg_fail(1)) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 Py_INCREF(Py_None
); resultobj
= Py_None
;
11050 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11054 PyObject
* obj0
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11061 if (SWIG_arg_fail(1)) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11089 if (SWIG_arg_fail(1)) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11110 PyObject
* obj0
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11134 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
;
11136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11137 PyObject
* obj0
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "self", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11144 if (SWIG_arg_fail(1)) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 Py_INCREF(Py_None
); resultobj
= Py_None
;
11159 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11162 PyObject
* obj0
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "self", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11169 if (SWIG_arg_fail(1)) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 Py_INCREF(Py_None
); resultobj
= Py_None
;
11184 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11195 if (SWIG_arg_fail(1)) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11212 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11216 PyObject
* obj0
= 0 ;
11217 char *kwnames
[] = {
11218 (char *) "self", NULL
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11223 if (SWIG_arg_fail(1)) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11240 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self",(char *) "pos", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11252 if (SWIG_arg_fail(1)) SWIG_fail
;
11254 arg2
= (long)(SWIG_As_long(obj1
));
11255 if (SWIG_arg_fail(2)) SWIG_fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 (arg1
)->SetInsertionPoint(arg2
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 Py_INCREF(Py_None
); resultobj
= Py_None
;
11271 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "self", NULL
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11281 if (SWIG_arg_fail(1)) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 (arg1
)->SetInsertionPointEnd();
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 Py_INCREF(Py_None
); resultobj
= Py_None
;
11296 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11300 PyObject
* obj0
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11307 if (SWIG_arg_fail(1)) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= SWIG_From_long((long)(result
));
11324 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11328 PyObject
* obj0
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "self", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11335 if (SWIG_arg_fail(1)) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= SWIG_From_long((long)(result
));
11352 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11357 PyObject
* obj0
= 0 ;
11358 PyObject
* obj1
= 0 ;
11359 PyObject
* obj2
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "from",(char *) "to", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11366 if (SWIG_arg_fail(1)) SWIG_fail
;
11368 arg2
= (long)(SWIG_As_long(obj1
));
11369 if (SWIG_arg_fail(2)) SWIG_fail
;
11372 arg3
= (long)(SWIG_As_long(obj2
));
11373 if (SWIG_arg_fail(3)) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 (arg1
)->SetSelection(arg2
,arg3
);
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 Py_INCREF(Py_None
); resultobj
= Py_None
;
11389 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 char *kwnames
[] = {
11394 (char *) "self", NULL
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11399 if (SWIG_arg_fail(1)) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 (arg1
)->SelectAll();
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 Py_INCREF(Py_None
); resultobj
= Py_None
;
11414 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11418 PyObject
* obj0
= 0 ;
11419 PyObject
* obj1
= 0 ;
11420 char *kwnames
[] = {
11421 (char *) "self",(char *) "editable", NULL
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11426 if (SWIG_arg_fail(1)) SWIG_fail
;
11428 arg2
= (bool)(SWIG_As_bool(obj1
));
11429 if (SWIG_arg_fail(2)) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 (arg1
)->SetEditable(arg2
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 Py_INCREF(Py_None
); resultobj
= Py_None
;
11445 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11448 wxString
*arg2
= 0 ;
11449 bool temp2
= false ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self",(char *) "text", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11458 if (SWIG_arg_fail(1)) SWIG_fail
;
11460 arg2
= wxString_in_helper(obj1
);
11461 if (arg2
== NULL
) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 Py_INCREF(Py_None
); resultobj
= Py_None
;
11486 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 PyObject
* obj2
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self",(char *) "from",(char *) "to", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11501 if (SWIG_arg_fail(1)) SWIG_fail
;
11503 arg2
= (long)(SWIG_As_long(obj1
));
11504 if (SWIG_arg_fail(2)) SWIG_fail
;
11507 arg3
= (long)(SWIG_As_long(obj2
));
11508 if (SWIG_arg_fail(3)) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11530 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11533 wxVisualAttributes result
;
11534 PyObject
* obj0
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "variant", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11542 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11543 if (SWIG_arg_fail(1)) SWIG_fail
;
11547 if (!wxPyCheckForApp()) SWIG_fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11555 wxVisualAttributes
* resultptr
;
11556 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11565 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11568 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11570 return Py_BuildValue((char *)"");
11572 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11575 wxMouseEvent
*arg2
= 0 ;
11578 wxTextUrlEvent
*result
;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 PyObject
* obj2
= 0 ;
11582 PyObject
* obj3
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11589 arg1
= (int)(SWIG_As_int(obj0
));
11590 if (SWIG_arg_fail(1)) SWIG_fail
;
11593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11594 if (SWIG_arg_fail(2)) SWIG_fail
;
11595 if (arg2
== NULL
) {
11596 SWIG_null_ref("wxMouseEvent");
11598 if (SWIG_arg_fail(2)) SWIG_fail
;
11601 arg3
= (long)(SWIG_As_long(obj2
));
11602 if (SWIG_arg_fail(3)) SWIG_fail
;
11605 arg4
= (long)(SWIG_As_long(obj3
));
11606 if (SWIG_arg_fail(4)) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11622 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11625 wxMouseEvent
*result
;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11638 result
= (wxMouseEvent
*) &_result_ref
;
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11651 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 char *kwnames
[] = {
11657 (char *) "self", NULL
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11662 if (SWIG_arg_fail(1)) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_From_long((long)(result
));
11679 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11690 if (SWIG_arg_fail(1)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= SWIG_From_long((long)(result
));
11707 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11710 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11712 return Py_BuildValue((char *)"");
11714 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11715 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11720 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11725 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11727 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11734 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxWindow
*arg1
= (wxWindow
*) 0 ;
11737 int arg2
= (int) -1 ;
11738 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11739 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11740 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11741 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11742 long arg5
= (long) wxSB_HORIZONTAL
;
11743 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11744 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11745 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11746 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11747 wxScrollBar
*result
;
11750 bool temp7
= false ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 PyObject
* obj2
= 0 ;
11754 PyObject
* obj3
= 0 ;
11755 PyObject
* obj4
= 0 ;
11756 PyObject
* obj5
= 0 ;
11757 PyObject
* obj6
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11764 if (SWIG_arg_fail(1)) SWIG_fail
;
11767 arg2
= (int)(SWIG_As_int(obj1
));
11768 if (SWIG_arg_fail(2)) SWIG_fail
;
11774 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11780 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11785 arg5
= (long)(SWIG_As_long(obj4
));
11786 if (SWIG_arg_fail(5)) SWIG_fail
;
11791 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11792 if (SWIG_arg_fail(6)) SWIG_fail
;
11793 if (arg6
== NULL
) {
11794 SWIG_null_ref("wxValidator");
11796 if (SWIG_arg_fail(6)) SWIG_fail
;
11801 arg7
= wxString_in_helper(obj6
);
11802 if (arg7
== NULL
) SWIG_fail
;
11807 if (!wxPyCheckForApp()) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11829 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
;
11831 wxScrollBar
*result
;
11832 char *kwnames
[] = {
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11838 if (!wxPyCheckForApp()) SWIG_fail
;
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (wxScrollBar
*)new wxScrollBar();
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11852 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
;
11854 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11855 wxWindow
*arg2
= (wxWindow
*) 0 ;
11856 int arg3
= (int) -1 ;
11857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11861 long arg6
= (long) wxSB_HORIZONTAL
;
11862 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11863 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11864 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11865 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11869 bool temp8
= false ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 PyObject
* obj2
= 0 ;
11873 PyObject
* obj3
= 0 ;
11874 PyObject
* obj4
= 0 ;
11875 PyObject
* obj5
= 0 ;
11876 PyObject
* obj6
= 0 ;
11877 PyObject
* obj7
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11884 if (SWIG_arg_fail(1)) SWIG_fail
;
11885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11886 if (SWIG_arg_fail(2)) SWIG_fail
;
11889 arg3
= (int)(SWIG_As_int(obj2
));
11890 if (SWIG_arg_fail(3)) SWIG_fail
;
11896 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11902 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11907 arg6
= (long)(SWIG_As_long(obj5
));
11908 if (SWIG_arg_fail(6)) SWIG_fail
;
11913 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11914 if (SWIG_arg_fail(7)) SWIG_fail
;
11915 if (arg7
== NULL
) {
11916 SWIG_null_ref("wxValidator");
11918 if (SWIG_arg_fail(7)) SWIG_fail
;
11923 arg8
= wxString_in_helper(obj7
);
11924 if (arg8
== NULL
) SWIG_fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11952 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11956 PyObject
* obj0
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
11962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11963 if (SWIG_arg_fail(1)) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_From_int((int)(result
));
11980 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
11990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11991 if (SWIG_arg_fail(1)) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= SWIG_From_int((int)(result
));
12008 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
;
12010 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12019 if (SWIG_arg_fail(1)) SWIG_fail
;
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_From_int((int)(result
));
12036 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12047 if (SWIG_arg_fail(1)) SWIG_fail
;
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_From_int((int)(result
));
12064 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
;
12066 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12068 PyObject
* obj0
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12075 if (SWIG_arg_fail(1)) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12092 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 PyObject
* obj1
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self",(char *) "viewStart", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12104 if (SWIG_arg_fail(1)) SWIG_fail
;
12106 arg2
= (int)(SWIG_As_int(obj1
));
12107 if (SWIG_arg_fail(2)) SWIG_fail
;
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 (arg1
)->SetThumbPosition(arg2
);
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 Py_INCREF(Py_None
); resultobj
= Py_None
;
12123 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
;
12125 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12130 bool arg6
= (bool) true ;
12131 PyObject
* obj0
= 0 ;
12132 PyObject
* obj1
= 0 ;
12133 PyObject
* obj2
= 0 ;
12134 PyObject
* obj3
= 0 ;
12135 PyObject
* obj4
= 0 ;
12136 PyObject
* obj5
= 0 ;
12137 char *kwnames
[] = {
12138 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12143 if (SWIG_arg_fail(1)) SWIG_fail
;
12145 arg2
= (int)(SWIG_As_int(obj1
));
12146 if (SWIG_arg_fail(2)) SWIG_fail
;
12149 arg3
= (int)(SWIG_As_int(obj2
));
12150 if (SWIG_arg_fail(3)) SWIG_fail
;
12153 arg4
= (int)(SWIG_As_int(obj3
));
12154 if (SWIG_arg_fail(4)) SWIG_fail
;
12157 arg5
= (int)(SWIG_As_int(obj4
));
12158 if (SWIG_arg_fail(5)) SWIG_fail
;
12162 arg6
= (bool)(SWIG_As_bool(obj5
));
12163 if (SWIG_arg_fail(6)) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 Py_INCREF(Py_None
); resultobj
= Py_None
;
12180 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12183 wxVisualAttributes result
;
12184 PyObject
* obj0
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "variant", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12192 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12193 if (SWIG_arg_fail(1)) SWIG_fail
;
12197 if (!wxPyCheckForApp()) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12205 wxVisualAttributes
* resultptr
;
12206 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12215 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12218 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12220 return Py_BuildValue((char *)"");
12222 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12223 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12228 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12233 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12235 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12242 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12243 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12248 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12253 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12255 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12262 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxWindow
*arg1
= (wxWindow
*) 0 ;
12265 int arg2
= (int) -1 ;
12266 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12267 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12268 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12269 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12270 long arg5
= (long) wxSP_HORIZONTAL
;
12271 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12272 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12273 wxSpinButton
*result
;
12276 bool temp6
= false ;
12277 PyObject
* obj0
= 0 ;
12278 PyObject
* obj1
= 0 ;
12279 PyObject
* obj2
= 0 ;
12280 PyObject
* obj3
= 0 ;
12281 PyObject
* obj4
= 0 ;
12282 PyObject
* obj5
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12289 if (SWIG_arg_fail(1)) SWIG_fail
;
12292 arg2
= (int)(SWIG_As_int(obj1
));
12293 if (SWIG_arg_fail(2)) SWIG_fail
;
12299 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12305 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12310 arg5
= (long)(SWIG_As_long(obj4
));
12311 if (SWIG_arg_fail(5)) SWIG_fail
;
12316 arg6
= wxString_in_helper(obj5
);
12317 if (arg6
== NULL
) SWIG_fail
;
12322 if (!wxPyCheckForApp()) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12344 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxSpinButton
*result
;
12347 char *kwnames
[] = {
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12353 if (!wxPyCheckForApp()) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (wxSpinButton
*)new wxSpinButton();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12367 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12370 wxWindow
*arg2
= (wxWindow
*) 0 ;
12371 int arg3
= (int) -1 ;
12372 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12373 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12374 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12375 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12376 long arg6
= (long) wxSP_HORIZONTAL
;
12377 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12378 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12382 bool temp7
= false ;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 PyObject
* obj2
= 0 ;
12386 PyObject
* obj3
= 0 ;
12387 PyObject
* obj4
= 0 ;
12388 PyObject
* obj5
= 0 ;
12389 PyObject
* obj6
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12396 if (SWIG_arg_fail(1)) SWIG_fail
;
12397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12398 if (SWIG_arg_fail(2)) SWIG_fail
;
12401 arg3
= (int)(SWIG_As_int(obj2
));
12402 if (SWIG_arg_fail(3)) SWIG_fail
;
12408 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12414 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12419 arg6
= (long)(SWIG_As_long(obj5
));
12420 if (SWIG_arg_fail(6)) SWIG_fail
;
12425 arg7
= wxString_in_helper(obj6
);
12426 if (arg7
== NULL
) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12454 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12458 PyObject
* obj0
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "self", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12465 if (SWIG_arg_fail(1)) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= SWIG_From_int((int)(result
));
12482 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12486 PyObject
* obj0
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_From_int((int)(result
));
12510 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12521 if (SWIG_arg_fail(1)) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_From_int((int)(result
));
12538 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12542 PyObject
* obj0
= 0 ;
12543 PyObject
* obj1
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self",(char *) "val", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail
;
12552 arg2
= (int)(SWIG_As_int(obj1
));
12553 if (SWIG_arg_fail(2)) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 (arg1
)->SetValue(arg2
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 Py_INCREF(Py_None
); resultobj
= Py_None
;
12569 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self",(char *) "minVal", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12581 if (SWIG_arg_fail(1)) SWIG_fail
;
12583 arg2
= (int)(SWIG_As_int(obj1
));
12584 if (SWIG_arg_fail(2)) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 (arg1
)->SetMin(arg2
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 Py_INCREF(Py_None
); resultobj
= Py_None
;
12600 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "self",(char *) "maxVal", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12612 if (SWIG_arg_fail(1)) SWIG_fail
;
12614 arg2
= (int)(SWIG_As_int(obj1
));
12615 if (SWIG_arg_fail(2)) SWIG_fail
;
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 (arg1
)->SetMax(arg2
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 Py_INCREF(Py_None
); resultobj
= Py_None
;
12631 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
;
12633 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12636 PyObject
* obj0
= 0 ;
12637 PyObject
* obj1
= 0 ;
12638 PyObject
* obj2
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12645 if (SWIG_arg_fail(1)) SWIG_fail
;
12647 arg2
= (int)(SWIG_As_int(obj1
));
12648 if (SWIG_arg_fail(2)) SWIG_fail
;
12651 arg3
= (int)(SWIG_As_int(obj2
));
12652 if (SWIG_arg_fail(3)) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 (arg1
)->SetRange(arg2
,arg3
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 Py_INCREF(Py_None
); resultobj
= Py_None
;
12668 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12679 if (SWIG_arg_fail(1)) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12696 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12699 wxVisualAttributes result
;
12700 PyObject
* obj0
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "variant", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12708 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12709 if (SWIG_arg_fail(1)) SWIG_fail
;
12713 if (!wxPyCheckForApp()) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12721 wxVisualAttributes
* resultptr
;
12722 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12731 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12734 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12736 return Py_BuildValue((char *)"");
12738 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxWindow
*arg1
= (wxWindow
*) 0 ;
12741 int arg2
= (int) -1 ;
12742 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12743 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12744 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12745 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12746 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12747 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12748 long arg6
= (long) wxSP_ARROW_KEYS
;
12749 int arg7
= (int) 0 ;
12750 int arg8
= (int) 100 ;
12751 int arg9
= (int) 0 ;
12752 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12753 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12754 wxSpinCtrl
*result
;
12755 bool temp3
= false ;
12758 bool temp10
= false ;
12759 PyObject
* obj0
= 0 ;
12760 PyObject
* obj1
= 0 ;
12761 PyObject
* obj2
= 0 ;
12762 PyObject
* obj3
= 0 ;
12763 PyObject
* obj4
= 0 ;
12764 PyObject
* obj5
= 0 ;
12765 PyObject
* obj6
= 0 ;
12766 PyObject
* obj7
= 0 ;
12767 PyObject
* obj8
= 0 ;
12768 PyObject
* obj9
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail
;
12778 arg2
= (int)(SWIG_As_int(obj1
));
12779 if (SWIG_arg_fail(2)) SWIG_fail
;
12784 arg3
= wxString_in_helper(obj2
);
12785 if (arg3
== NULL
) SWIG_fail
;
12792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12803 arg6
= (long)(SWIG_As_long(obj5
));
12804 if (SWIG_arg_fail(6)) SWIG_fail
;
12809 arg7
= (int)(SWIG_As_int(obj6
));
12810 if (SWIG_arg_fail(7)) SWIG_fail
;
12815 arg8
= (int)(SWIG_As_int(obj7
));
12816 if (SWIG_arg_fail(8)) SWIG_fail
;
12821 arg9
= (int)(SWIG_As_int(obj8
));
12822 if (SWIG_arg_fail(9)) SWIG_fail
;
12827 arg10
= wxString_in_helper(obj9
);
12828 if (arg10
== NULL
) SWIG_fail
;
12833 if (!wxPyCheckForApp()) SWIG_fail
;
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12863 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxSpinCtrl
*result
;
12866 char *kwnames
[] = {
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12872 if (!wxPyCheckForApp()) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12886 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12889 wxWindow
*arg2
= (wxWindow
*) 0 ;
12890 int arg3
= (int) -1 ;
12891 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12892 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12897 long arg7
= (long) wxSP_ARROW_KEYS
;
12898 int arg8
= (int) 0 ;
12899 int arg9
= (int) 100 ;
12900 int arg10
= (int) 0 ;
12901 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12902 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12904 bool temp4
= false ;
12907 bool temp11
= false ;
12908 PyObject
* obj0
= 0 ;
12909 PyObject
* obj1
= 0 ;
12910 PyObject
* obj2
= 0 ;
12911 PyObject
* obj3
= 0 ;
12912 PyObject
* obj4
= 0 ;
12913 PyObject
* obj5
= 0 ;
12914 PyObject
* obj6
= 0 ;
12915 PyObject
* obj7
= 0 ;
12916 PyObject
* obj8
= 0 ;
12917 PyObject
* obj9
= 0 ;
12918 PyObject
* obj10
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12925 if (SWIG_arg_fail(1)) SWIG_fail
;
12926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12927 if (SWIG_arg_fail(2)) SWIG_fail
;
12930 arg3
= (int)(SWIG_As_int(obj2
));
12931 if (SWIG_arg_fail(3)) SWIG_fail
;
12936 arg4
= wxString_in_helper(obj3
);
12937 if (arg4
== NULL
) SWIG_fail
;
12944 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12950 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12955 arg7
= (long)(SWIG_As_long(obj6
));
12956 if (SWIG_arg_fail(7)) SWIG_fail
;
12961 arg8
= (int)(SWIG_As_int(obj7
));
12962 if (SWIG_arg_fail(8)) SWIG_fail
;
12967 arg9
= (int)(SWIG_As_int(obj8
));
12968 if (SWIG_arg_fail(9)) SWIG_fail
;
12973 arg10
= (int)(SWIG_As_int(obj9
));
12974 if (SWIG_arg_fail(10)) SWIG_fail
;
12979 arg11
= wxString_in_helper(obj10
);
12980 if (arg11
== NULL
) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13016 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13027 if (SWIG_arg_fail(1)) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= SWIG_From_int((int)(result
));
13044 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 PyObject
* obj1
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self",(char *) "value", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13056 if (SWIG_arg_fail(1)) SWIG_fail
;
13058 arg2
= (int)(SWIG_As_int(obj1
));
13059 if (SWIG_arg_fail(2)) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 (arg1
)->SetValue(arg2
);
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 Py_INCREF(Py_None
); resultobj
= Py_None
;
13075 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13078 wxString
*arg2
= 0 ;
13079 bool temp2
= false ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "text", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13088 if (SWIG_arg_fail(1)) SWIG_fail
;
13090 arg2
= wxString_in_helper(obj1
);
13091 if (arg2
== NULL
) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 (arg1
)->SetValue((wxString
const &)*arg2
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 Py_INCREF(Py_None
); resultobj
= Py_None
;
13116 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 PyObject
* obj2
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail
;
13132 arg2
= (int)(SWIG_As_int(obj1
));
13133 if (SWIG_arg_fail(2)) SWIG_fail
;
13136 arg3
= (int)(SWIG_As_int(obj2
));
13137 if (SWIG_arg_fail(3)) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 (arg1
)->SetRange(arg2
,arg3
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 Py_INCREF(Py_None
); resultobj
= Py_None
;
13153 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
;
13155 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13157 PyObject
* obj0
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13164 if (SWIG_arg_fail(1)) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_From_int((int)(result
));
13181 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13192 if (SWIG_arg_fail(1)) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_From_int((int)(result
));
13209 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
;
13211 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 PyObject
* obj2
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "self",(char *) "from",(char *) "to", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13223 if (SWIG_arg_fail(1)) SWIG_fail
;
13225 arg2
= (long)(SWIG_As_long(obj1
));
13226 if (SWIG_arg_fail(2)) SWIG_fail
;
13229 arg3
= (long)(SWIG_As_long(obj2
));
13230 if (SWIG_arg_fail(3)) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 (arg1
)->SetSelection(arg2
,arg3
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 Py_INCREF(Py_None
); resultobj
= Py_None
;
13246 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13249 wxVisualAttributes result
;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "variant", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13258 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13259 if (SWIG_arg_fail(1)) SWIG_fail
;
13263 if (!wxPyCheckForApp()) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13271 wxVisualAttributes
* resultptr
;
13272 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13281 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13284 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13286 return Py_BuildValue((char *)"");
13288 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13291 int arg2
= (int) 0 ;
13292 wxSpinEvent
*result
;
13293 PyObject
* obj0
= 0 ;
13294 PyObject
* obj1
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "commandType",(char *) "winid", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13302 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13303 if (SWIG_arg_fail(1)) SWIG_fail
;
13308 arg2
= (int)(SWIG_As_int(obj1
));
13309 if (SWIG_arg_fail(2)) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13326 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13330 PyObject
* obj0
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "self", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13337 if (SWIG_arg_fail(1)) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= SWIG_From_int((int)(result
));
13354 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "pos", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail
;
13368 arg2
= (int)(SWIG_As_int(obj1
));
13369 if (SWIG_arg_fail(2)) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->SetPosition(arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13388 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13390 return Py_BuildValue((char *)"");
13392 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13393 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13398 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13403 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13405 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13412 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13413 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13418 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13423 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13425 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13432 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxWindow
*arg1
= (wxWindow
*) 0 ;
13435 int arg2
= (int) -1 ;
13436 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13437 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13442 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13443 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13444 int arg7
= (int) 0 ;
13445 long arg8
= (long) wxRA_HORIZONTAL
;
13446 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13447 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13448 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13449 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13450 wxRadioBox
*result
;
13451 bool temp3
= false ;
13454 bool temp6
= false ;
13455 bool temp10
= false ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 PyObject
* obj2
= 0 ;
13459 PyObject
* obj3
= 0 ;
13460 PyObject
* obj4
= 0 ;
13461 PyObject
* obj5
= 0 ;
13462 PyObject
* obj6
= 0 ;
13463 PyObject
* obj7
= 0 ;
13464 PyObject
* obj8
= 0 ;
13465 PyObject
* obj9
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13472 if (SWIG_arg_fail(1)) SWIG_fail
;
13475 arg2
= (int)(SWIG_As_int(obj1
));
13476 if (SWIG_arg_fail(2)) SWIG_fail
;
13481 arg3
= wxString_in_helper(obj2
);
13482 if (arg3
== NULL
) SWIG_fail
;
13489 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13495 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13500 if (! PySequence_Check(obj5
)) {
13501 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13504 arg6
= new wxArrayString
;
13506 int i
, len
=PySequence_Length(obj5
);
13507 for (i
=0; i
<len
; i
++) {
13508 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13510 PyObject
* str
= PyObject_Unicode(item
);
13512 PyObject
* str
= PyObject_Str(item
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13515 arg6
->Add(Py2wxString(str
));
13523 arg7
= (int)(SWIG_As_int(obj6
));
13524 if (SWIG_arg_fail(7)) SWIG_fail
;
13529 arg8
= (long)(SWIG_As_long(obj7
));
13530 if (SWIG_arg_fail(8)) SWIG_fail
;
13535 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13536 if (SWIG_arg_fail(9)) SWIG_fail
;
13537 if (arg9
== NULL
) {
13538 SWIG_null_ref("wxValidator");
13540 if (SWIG_arg_fail(9)) SWIG_fail
;
13545 arg10
= wxString_in_helper(obj9
);
13546 if (arg10
== NULL
) SWIG_fail
;
13551 if (!wxPyCheckForApp()) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 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
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13564 if (temp6
) delete arg6
;
13577 if (temp6
) delete arg6
;
13587 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxRadioBox
*result
;
13590 char *kwnames
[] = {
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13596 if (!wxPyCheckForApp()) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= (wxRadioBox
*)new wxRadioBox();
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13610 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13613 wxWindow
*arg2
= (wxWindow
*) 0 ;
13614 int arg3
= (int) -1 ;
13615 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13616 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13617 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13618 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13619 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13620 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13621 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13622 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13623 int arg8
= (int) 0 ;
13624 long arg9
= (long) wxRA_HORIZONTAL
;
13625 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13626 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13627 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13628 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13630 bool temp4
= false ;
13633 bool temp7
= false ;
13634 bool temp11
= false ;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 PyObject
* obj2
= 0 ;
13638 PyObject
* obj3
= 0 ;
13639 PyObject
* obj4
= 0 ;
13640 PyObject
* obj5
= 0 ;
13641 PyObject
* obj6
= 0 ;
13642 PyObject
* obj7
= 0 ;
13643 PyObject
* obj8
= 0 ;
13644 PyObject
* obj9
= 0 ;
13645 PyObject
* obj10
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13652 if (SWIG_arg_fail(1)) SWIG_fail
;
13653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13654 if (SWIG_arg_fail(2)) SWIG_fail
;
13657 arg3
= (int)(SWIG_As_int(obj2
));
13658 if (SWIG_arg_fail(3)) SWIG_fail
;
13663 arg4
= wxString_in_helper(obj3
);
13664 if (arg4
== NULL
) SWIG_fail
;
13671 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13677 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13682 if (! PySequence_Check(obj6
)) {
13683 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13686 arg7
= new wxArrayString
;
13688 int i
, len
=PySequence_Length(obj6
);
13689 for (i
=0; i
<len
; i
++) {
13690 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13692 PyObject
* str
= PyObject_Unicode(item
);
13694 PyObject
* str
= PyObject_Str(item
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13697 arg7
->Add(Py2wxString(str
));
13705 arg8
= (int)(SWIG_As_int(obj7
));
13706 if (SWIG_arg_fail(8)) SWIG_fail
;
13711 arg9
= (long)(SWIG_As_long(obj8
));
13712 if (SWIG_arg_fail(9)) SWIG_fail
;
13717 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13718 if (SWIG_arg_fail(10)) SWIG_fail
;
13719 if (arg10
== NULL
) {
13720 SWIG_null_ref("wxValidator");
13722 if (SWIG_arg_fail(10)) SWIG_fail
;
13727 arg11
= wxString_in_helper(obj10
);
13728 if (arg11
== NULL
) SWIG_fail
;
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 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
);
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13747 if (temp7
) delete arg7
;
13760 if (temp7
) delete arg7
;
13770 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self",(char *) "n", NULL
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13782 if (SWIG_arg_fail(1)) SWIG_fail
;
13784 arg2
= (int)(SWIG_As_int(obj1
));
13785 if (SWIG_arg_fail(2)) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 (arg1
)->SetSelection(arg2
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 Py_INCREF(Py_None
); resultobj
= Py_None
;
13801 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13805 PyObject
* obj0
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13812 if (SWIG_arg_fail(1)) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= SWIG_From_int((int)(result
));
13829 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13833 PyObject
* obj0
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self", NULL
13838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13840 if (SWIG_arg_fail(1)) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13861 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13864 wxString
*arg2
= 0 ;
13866 bool temp2
= false ;
13867 PyObject
* obj0
= 0 ;
13868 PyObject
* obj1
= 0 ;
13869 char *kwnames
[] = {
13870 (char *) "self",(char *) "s", NULL
13873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13875 if (SWIG_arg_fail(1)) SWIG_fail
;
13877 arg2
= wxString_in_helper(obj1
);
13878 if (arg2
== NULL
) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13905 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13916 if (SWIG_arg_fail(1)) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= SWIG_From_int((int)(result
));
13933 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13936 wxString
*arg2
= 0 ;
13938 bool temp2
= false ;
13939 PyObject
* obj0
= 0 ;
13940 PyObject
* obj1
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self",(char *) "s", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13947 if (SWIG_arg_fail(1)) SWIG_fail
;
13949 arg2
= wxString_in_helper(obj1
);
13950 if (arg2
== NULL
) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= SWIG_From_int((int)(result
));
13977 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self",(char *) "n", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13990 if (SWIG_arg_fail(1)) SWIG_fail
;
13992 arg2
= (int)(SWIG_As_int(obj1
));
13993 if (SWIG_arg_fail(2)) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14015 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14019 wxString
*arg3
= 0 ;
14020 bool temp3
= false ;
14021 PyObject
* obj0
= 0 ;
14022 PyObject
* obj1
= 0 ;
14023 PyObject
* obj2
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "self",(char *) "n",(char *) "label", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14030 if (SWIG_arg_fail(1)) SWIG_fail
;
14032 arg2
= (int)(SWIG_As_int(obj1
));
14033 if (SWIG_arg_fail(2)) SWIG_fail
;
14036 arg3
= wxString_in_helper(obj2
);
14037 if (arg3
== NULL
) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 Py_INCREF(Py_None
); resultobj
= Py_None
;
14062 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14066 bool arg3
= (bool) true ;
14067 PyObject
* obj0
= 0 ;
14068 PyObject
* obj1
= 0 ;
14069 PyObject
* obj2
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self",(char *) "n",(char *) "enable", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14076 if (SWIG_arg_fail(1)) SWIG_fail
;
14078 arg2
= (int)(SWIG_As_int(obj1
));
14079 if (SWIG_arg_fail(2)) SWIG_fail
;
14083 arg3
= (bool)(SWIG_As_bool(obj2
));
14084 if (SWIG_arg_fail(3)) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 (arg1
)->Enable(arg2
,arg3
);
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 Py_INCREF(Py_None
); resultobj
= Py_None
;
14101 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
;
14103 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14105 bool arg3
= (bool) true ;
14106 PyObject
* obj0
= 0 ;
14107 PyObject
* obj1
= 0 ;
14108 PyObject
* obj2
= 0 ;
14109 char *kwnames
[] = {
14110 (char *) "self",(char *) "n",(char *) "show", NULL
14113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14115 if (SWIG_arg_fail(1)) SWIG_fail
;
14117 arg2
= (int)(SWIG_As_int(obj1
));
14118 if (SWIG_arg_fail(2)) SWIG_fail
;
14122 arg3
= (bool)(SWIG_As_bool(obj2
));
14123 if (SWIG_arg_fail(3)) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 (arg1
)->Show(arg2
,arg3
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 Py_INCREF(Py_None
); resultobj
= Py_None
;
14140 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14151 if (SWIG_arg_fail(1)) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= SWIG_From_int((int)(result
));
14168 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14179 if (SWIG_arg_fail(1)) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_From_int((int)(result
));
14196 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 PyObject
* obj2
= 0 ;
14206 PyObject
* obj3
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14213 if (SWIG_arg_fail(1)) SWIG_fail
;
14215 arg2
= (int)(SWIG_As_int(obj1
));
14216 if (SWIG_arg_fail(2)) SWIG_fail
;
14219 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14220 if (SWIG_arg_fail(3)) SWIG_fail
;
14223 arg4
= (long)(SWIG_As_long(obj3
));
14224 if (SWIG_arg_fail(4)) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= SWIG_From_int((int)(result
));
14242 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14245 wxVisualAttributes result
;
14246 PyObject
* obj0
= 0 ;
14247 char *kwnames
[] = {
14248 (char *) "variant", NULL
14251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14254 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14255 if (SWIG_arg_fail(1)) SWIG_fail
;
14259 if (!wxPyCheckForApp()) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14267 wxVisualAttributes
* resultptr
;
14268 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14277 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14280 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14282 return Py_BuildValue((char *)"");
14284 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxWindow
*arg1
= (wxWindow
*) 0 ;
14287 int arg2
= (int) -1 ;
14288 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14289 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14294 long arg6
= (long) 0 ;
14295 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14296 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14297 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14298 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14299 wxRadioButton
*result
;
14300 bool temp3
= false ;
14303 bool temp8
= false ;
14304 PyObject
* obj0
= 0 ;
14305 PyObject
* obj1
= 0 ;
14306 PyObject
* obj2
= 0 ;
14307 PyObject
* obj3
= 0 ;
14308 PyObject
* obj4
= 0 ;
14309 PyObject
* obj5
= 0 ;
14310 PyObject
* obj6
= 0 ;
14311 PyObject
* obj7
= 0 ;
14312 char *kwnames
[] = {
14313 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14318 if (SWIG_arg_fail(1)) SWIG_fail
;
14321 arg2
= (int)(SWIG_As_int(obj1
));
14322 if (SWIG_arg_fail(2)) SWIG_fail
;
14327 arg3
= wxString_in_helper(obj2
);
14328 if (arg3
== NULL
) SWIG_fail
;
14335 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14341 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14346 arg6
= (long)(SWIG_As_long(obj5
));
14347 if (SWIG_arg_fail(6)) SWIG_fail
;
14352 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14353 if (SWIG_arg_fail(7)) SWIG_fail
;
14354 if (arg7
== NULL
) {
14355 SWIG_null_ref("wxValidator");
14357 if (SWIG_arg_fail(7)) SWIG_fail
;
14362 arg8
= wxString_in_helper(obj7
);
14363 if (arg8
== NULL
) SWIG_fail
;
14368 if (!wxPyCheckForApp()) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14398 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxRadioButton
*result
;
14401 char *kwnames
[] = {
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14407 if (!wxPyCheckForApp()) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (wxRadioButton
*)new wxRadioButton();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14421 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14424 wxWindow
*arg2
= (wxWindow
*) 0 ;
14425 int arg3
= (int) -1 ;
14426 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14427 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14428 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14429 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14430 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14431 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14432 long arg7
= (long) 0 ;
14433 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14434 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14435 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14436 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14438 bool temp4
= false ;
14441 bool temp9
= false ;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 PyObject
* obj2
= 0 ;
14445 PyObject
* obj3
= 0 ;
14446 PyObject
* obj4
= 0 ;
14447 PyObject
* obj5
= 0 ;
14448 PyObject
* obj6
= 0 ;
14449 PyObject
* obj7
= 0 ;
14450 PyObject
* obj8
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14457 if (SWIG_arg_fail(1)) SWIG_fail
;
14458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14459 if (SWIG_arg_fail(2)) SWIG_fail
;
14462 arg3
= (int)(SWIG_As_int(obj2
));
14463 if (SWIG_arg_fail(3)) SWIG_fail
;
14468 arg4
= wxString_in_helper(obj3
);
14469 if (arg4
== NULL
) SWIG_fail
;
14476 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14482 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14487 arg7
= (long)(SWIG_As_long(obj6
));
14488 if (SWIG_arg_fail(7)) SWIG_fail
;
14493 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14494 if (SWIG_arg_fail(8)) SWIG_fail
;
14495 if (arg8
== NULL
) {
14496 SWIG_null_ref("wxValidator");
14498 if (SWIG_arg_fail(8)) SWIG_fail
;
14503 arg9
= wxString_in_helper(obj8
);
14504 if (arg9
== NULL
) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14540 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14544 PyObject
* obj0
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14551 if (SWIG_arg_fail(1)) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (bool)(arg1
)->GetValue();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14568 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
;
14570 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self",(char *) "value", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14580 if (SWIG_arg_fail(1)) SWIG_fail
;
14582 arg2
= (bool)(SWIG_As_bool(obj1
));
14583 if (SWIG_arg_fail(2)) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 (arg1
)->SetValue(arg2
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 Py_INCREF(Py_None
); resultobj
= Py_None
;
14599 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14602 wxVisualAttributes result
;
14603 PyObject
* obj0
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "variant", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14611 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14612 if (SWIG_arg_fail(1)) SWIG_fail
;
14616 if (!wxPyCheckForApp()) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14624 wxVisualAttributes
* resultptr
;
14625 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14634 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14637 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14639 return Py_BuildValue((char *)"");
14641 static int _wrap_SliderNameStr_set(PyObject
*) {
14642 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14647 static PyObject
*_wrap_SliderNameStr_get(void) {
14652 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14654 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14661 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
;
14663 wxWindow
*arg1
= (wxWindow
*) 0 ;
14664 int arg2
= (int) -1 ;
14665 int arg3
= (int) 0 ;
14666 int arg4
= (int) 0 ;
14667 int arg5
= (int) 100 ;
14668 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14669 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14670 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14671 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14672 long arg8
= (long) wxSL_HORIZONTAL
;
14673 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14674 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14675 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14676 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14680 bool temp10
= false ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 PyObject
* obj2
= 0 ;
14684 PyObject
* obj3
= 0 ;
14685 PyObject
* obj4
= 0 ;
14686 PyObject
* obj5
= 0 ;
14687 PyObject
* obj6
= 0 ;
14688 PyObject
* obj7
= 0 ;
14689 PyObject
* obj8
= 0 ;
14690 PyObject
* obj9
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14697 if (SWIG_arg_fail(1)) SWIG_fail
;
14700 arg2
= (int)(SWIG_As_int(obj1
));
14701 if (SWIG_arg_fail(2)) SWIG_fail
;
14706 arg3
= (int)(SWIG_As_int(obj2
));
14707 if (SWIG_arg_fail(3)) SWIG_fail
;
14712 arg4
= (int)(SWIG_As_int(obj3
));
14713 if (SWIG_arg_fail(4)) SWIG_fail
;
14718 arg5
= (int)(SWIG_As_int(obj4
));
14719 if (SWIG_arg_fail(5)) SWIG_fail
;
14725 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14731 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14736 arg8
= (long)(SWIG_As_long(obj7
));
14737 if (SWIG_arg_fail(8)) SWIG_fail
;
14742 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14743 if (SWIG_arg_fail(9)) SWIG_fail
;
14744 if (arg9
== NULL
) {
14745 SWIG_null_ref("wxValidator");
14747 if (SWIG_arg_fail(9)) SWIG_fail
;
14752 arg10
= wxString_in_helper(obj9
);
14753 if (arg10
== NULL
) SWIG_fail
;
14758 if (!wxPyCheckForApp()) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14780 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14783 char *kwnames
[] = {
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14789 if (!wxPyCheckForApp()) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (wxSlider
*)new wxSlider();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14803 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxSlider
*arg1
= (wxSlider
*) 0 ;
14806 wxWindow
*arg2
= (wxWindow
*) 0 ;
14807 int arg3
= (int) -1 ;
14808 int arg4
= (int) 0 ;
14809 int arg5
= (int) 0 ;
14810 int arg6
= (int) 100 ;
14811 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14812 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14813 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14814 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14815 long arg9
= (long) wxSL_HORIZONTAL
;
14816 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14817 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14818 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14819 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14823 bool temp11
= false ;
14824 PyObject
* obj0
= 0 ;
14825 PyObject
* obj1
= 0 ;
14826 PyObject
* obj2
= 0 ;
14827 PyObject
* obj3
= 0 ;
14828 PyObject
* obj4
= 0 ;
14829 PyObject
* obj5
= 0 ;
14830 PyObject
* obj6
= 0 ;
14831 PyObject
* obj7
= 0 ;
14832 PyObject
* obj8
= 0 ;
14833 PyObject
* obj9
= 0 ;
14834 PyObject
* obj10
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14841 if (SWIG_arg_fail(1)) SWIG_fail
;
14842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14843 if (SWIG_arg_fail(2)) SWIG_fail
;
14846 arg3
= (int)(SWIG_As_int(obj2
));
14847 if (SWIG_arg_fail(3)) SWIG_fail
;
14852 arg4
= (int)(SWIG_As_int(obj3
));
14853 if (SWIG_arg_fail(4)) SWIG_fail
;
14858 arg5
= (int)(SWIG_As_int(obj4
));
14859 if (SWIG_arg_fail(5)) SWIG_fail
;
14864 arg6
= (int)(SWIG_As_int(obj5
));
14865 if (SWIG_arg_fail(6)) SWIG_fail
;
14871 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14877 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14882 arg9
= (long)(SWIG_As_long(obj8
));
14883 if (SWIG_arg_fail(9)) SWIG_fail
;
14888 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14889 if (SWIG_arg_fail(10)) SWIG_fail
;
14890 if (arg10
== NULL
) {
14891 SWIG_null_ref("wxValidator");
14893 if (SWIG_arg_fail(10)) SWIG_fail
;
14898 arg11
= wxString_in_helper(obj10
);
14899 if (arg11
== NULL
) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14927 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxSlider
*arg1
= (wxSlider
*) 0 ;
14931 PyObject
* obj0
= 0 ;
14932 char *kwnames
[] = {
14933 (char *) "self", NULL
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14938 if (SWIG_arg_fail(1)) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_From_int((int)(result
));
14955 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxSlider
*arg1
= (wxSlider
*) 0 ;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self",(char *) "value", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14967 if (SWIG_arg_fail(1)) SWIG_fail
;
14969 arg2
= (int)(SWIG_As_int(obj1
));
14970 if (SWIG_arg_fail(2)) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 (arg1
)->SetValue(arg2
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 Py_INCREF(Py_None
); resultobj
= Py_None
;
14986 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxSlider
*arg1
= (wxSlider
*) 0 ;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 PyObject
* obj2
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15000 if (SWIG_arg_fail(1)) SWIG_fail
;
15002 arg2
= (int)(SWIG_As_int(obj1
));
15003 if (SWIG_arg_fail(2)) SWIG_fail
;
15006 arg3
= (int)(SWIG_As_int(obj2
));
15007 if (SWIG_arg_fail(3)) SWIG_fail
;
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 (arg1
)->SetRange(arg2
,arg3
);
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15016 Py_INCREF(Py_None
); resultobj
= Py_None
;
15023 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxSlider
*arg1
= (wxSlider
*) 0 ;
15027 PyObject
* obj0
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= SWIG_From_int((int)(result
));
15051 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxSlider
*arg1
= (wxSlider
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15062 if (SWIG_arg_fail(1)) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= SWIG_From_int((int)(result
));
15079 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxSlider
*arg1
= (wxSlider
*) 0 ;
15083 PyObject
* obj0
= 0 ;
15084 PyObject
* obj1
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self",(char *) "minValue", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15091 if (SWIG_arg_fail(1)) SWIG_fail
;
15093 arg2
= (int)(SWIG_As_int(obj1
));
15094 if (SWIG_arg_fail(2)) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 (arg1
)->SetMin(arg2
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 Py_INCREF(Py_None
); resultobj
= Py_None
;
15110 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxSlider
*arg1
= (wxSlider
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self",(char *) "maxValue", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15122 if (SWIG_arg_fail(1)) SWIG_fail
;
15124 arg2
= (int)(SWIG_As_int(obj1
));
15125 if (SWIG_arg_fail(2)) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 (arg1
)->SetMax(arg2
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxSlider
*arg1
= (wxSlider
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15147 char *kwnames
[] = {
15148 (char *) "self",(char *) "lineSize", NULL
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15153 if (SWIG_arg_fail(1)) SWIG_fail
;
15155 arg2
= (int)(SWIG_As_int(obj1
));
15156 if (SWIG_arg_fail(2)) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 (arg1
)->SetLineSize(arg2
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 Py_INCREF(Py_None
); resultobj
= Py_None
;
15172 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxSlider
*arg1
= (wxSlider
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self",(char *) "pageSize", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15184 if (SWIG_arg_fail(1)) SWIG_fail
;
15186 arg2
= (int)(SWIG_As_int(obj1
));
15187 if (SWIG_arg_fail(2)) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 (arg1
)->SetPageSize(arg2
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 Py_INCREF(Py_None
); resultobj
= Py_None
;
15203 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxSlider
*arg1
= (wxSlider
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15214 if (SWIG_arg_fail(1)) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= SWIG_From_int((int)(result
));
15231 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxSlider
*arg1
= (wxSlider
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "self", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15242 if (SWIG_arg_fail(1)) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= SWIG_From_int((int)(result
));
15259 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxSlider
*arg1
= (wxSlider
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 PyObject
* obj1
= 0 ;
15265 char *kwnames
[] = {
15266 (char *) "self",(char *) "lenPixels", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15271 if (SWIG_arg_fail(1)) SWIG_fail
;
15273 arg2
= (int)(SWIG_As_int(obj1
));
15274 if (SWIG_arg_fail(2)) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 (arg1
)->SetThumbLength(arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 Py_INCREF(Py_None
); resultobj
= Py_None
;
15290 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxSlider
*arg1
= (wxSlider
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "self", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15301 if (SWIG_arg_fail(1)) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= SWIG_From_int((int)(result
));
15318 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
;
15320 wxSlider
*arg1
= (wxSlider
*) 0 ;
15322 int arg3
= (int) 1 ;
15323 PyObject
* obj0
= 0 ;
15324 PyObject
* obj1
= 0 ;
15325 PyObject
* obj2
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self",(char *) "n",(char *) "pos", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15332 if (SWIG_arg_fail(1)) SWIG_fail
;
15334 arg2
= (int)(SWIG_As_int(obj1
));
15335 if (SWIG_arg_fail(2)) SWIG_fail
;
15339 arg3
= (int)(SWIG_As_int(obj2
));
15340 if (SWIG_arg_fail(3)) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 (arg1
)->SetTickFreq(arg2
,arg3
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 Py_INCREF(Py_None
); resultobj
= Py_None
;
15357 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxSlider
*arg1
= (wxSlider
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_From_int((int)(result
));
15385 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxSlider
*arg1
= (wxSlider
*) 0 ;
15388 PyObject
* obj0
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 (arg1
)->ClearTicks();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 Py_INCREF(Py_None
); resultobj
= Py_None
;
15410 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxSlider
*arg1
= (wxSlider
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self",(char *) "tickPos", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15422 if (SWIG_arg_fail(1)) SWIG_fail
;
15424 arg2
= (int)(SWIG_As_int(obj1
));
15425 if (SWIG_arg_fail(2)) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 (arg1
)->SetTick(arg2
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 Py_INCREF(Py_None
); resultobj
= Py_None
;
15441 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxSlider
*arg1
= (wxSlider
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15451 if (SWIG_arg_fail(1)) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->ClearSel();
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 Py_INCREF(Py_None
); resultobj
= Py_None
;
15466 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxSlider
*arg1
= (wxSlider
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15477 if (SWIG_arg_fail(1)) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_From_int((int)(result
));
15494 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxSlider
*arg1
= (wxSlider
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15505 if (SWIG_arg_fail(1)) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= SWIG_From_int((int)(result
));
15522 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxSlider
*arg1
= (wxSlider
*) 0 ;
15527 PyObject
* obj0
= 0 ;
15528 PyObject
* obj1
= 0 ;
15529 PyObject
* obj2
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self",(char *) "min",(char *) "max", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15536 if (SWIG_arg_fail(1)) SWIG_fail
;
15538 arg2
= (int)(SWIG_As_int(obj1
));
15539 if (SWIG_arg_fail(2)) SWIG_fail
;
15542 arg3
= (int)(SWIG_As_int(obj2
));
15543 if (SWIG_arg_fail(3)) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 (arg1
)->SetSelection(arg2
,arg3
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 Py_INCREF(Py_None
); resultobj
= Py_None
;
15559 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15562 wxVisualAttributes result
;
15563 PyObject
* obj0
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "variant", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15571 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15572 if (SWIG_arg_fail(1)) SWIG_fail
;
15576 if (!wxPyCheckForApp()) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15584 wxVisualAttributes
* resultptr
;
15585 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15594 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15597 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15599 return Py_BuildValue((char *)"");
15601 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15602 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15607 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15612 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15614 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15621 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
;
15623 wxWindow
*arg1
= (wxWindow
*) 0 ;
15624 int arg2
= (int) -1 ;
15625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15631 long arg6
= (long) 0 ;
15632 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15633 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15634 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15635 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15636 wxToggleButton
*result
;
15637 bool temp3
= false ;
15640 bool temp8
= false ;
15641 PyObject
* obj0
= 0 ;
15642 PyObject
* obj1
= 0 ;
15643 PyObject
* obj2
= 0 ;
15644 PyObject
* obj3
= 0 ;
15645 PyObject
* obj4
= 0 ;
15646 PyObject
* obj5
= 0 ;
15647 PyObject
* obj6
= 0 ;
15648 PyObject
* obj7
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15655 if (SWIG_arg_fail(1)) SWIG_fail
;
15658 arg2
= (int)(SWIG_As_int(obj1
));
15659 if (SWIG_arg_fail(2)) SWIG_fail
;
15664 arg3
= wxString_in_helper(obj2
);
15665 if (arg3
== NULL
) SWIG_fail
;
15672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15683 arg6
= (long)(SWIG_As_long(obj5
));
15684 if (SWIG_arg_fail(6)) SWIG_fail
;
15689 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15690 if (SWIG_arg_fail(7)) SWIG_fail
;
15691 if (arg7
== NULL
) {
15692 SWIG_null_ref("wxValidator");
15694 if (SWIG_arg_fail(7)) SWIG_fail
;
15699 arg8
= wxString_in_helper(obj7
);
15700 if (arg8
== NULL
) SWIG_fail
;
15705 if (!wxPyCheckForApp()) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15735 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxToggleButton
*result
;
15738 char *kwnames
[] = {
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15744 if (!wxPyCheckForApp()) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 result
= (wxToggleButton
*)new wxToggleButton();
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15758 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15761 wxWindow
*arg2
= (wxWindow
*) 0 ;
15762 int arg3
= (int) -1 ;
15763 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15764 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15765 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15766 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15767 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15768 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15769 long arg7
= (long) 0 ;
15770 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15771 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15772 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15773 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15775 bool temp4
= false ;
15778 bool temp9
= false ;
15779 PyObject
* obj0
= 0 ;
15780 PyObject
* obj1
= 0 ;
15781 PyObject
* obj2
= 0 ;
15782 PyObject
* obj3
= 0 ;
15783 PyObject
* obj4
= 0 ;
15784 PyObject
* obj5
= 0 ;
15785 PyObject
* obj6
= 0 ;
15786 PyObject
* obj7
= 0 ;
15787 PyObject
* obj8
= 0 ;
15788 char *kwnames
[] = {
15789 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15794 if (SWIG_arg_fail(1)) SWIG_fail
;
15795 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15796 if (SWIG_arg_fail(2)) SWIG_fail
;
15799 arg3
= (int)(SWIG_As_int(obj2
));
15800 if (SWIG_arg_fail(3)) SWIG_fail
;
15805 arg4
= wxString_in_helper(obj3
);
15806 if (arg4
== NULL
) SWIG_fail
;
15813 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15819 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15824 arg7
= (long)(SWIG_As_long(obj6
));
15825 if (SWIG_arg_fail(7)) SWIG_fail
;
15830 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15831 if (SWIG_arg_fail(8)) SWIG_fail
;
15832 if (arg8
== NULL
) {
15833 SWIG_null_ref("wxValidator");
15835 if (SWIG_arg_fail(8)) SWIG_fail
;
15840 arg9
= wxString_in_helper(obj8
);
15841 if (arg9
== NULL
) SWIG_fail
;
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15877 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
;
15879 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15881 PyObject
* obj0
= 0 ;
15882 PyObject
* obj1
= 0 ;
15883 char *kwnames
[] = {
15884 (char *) "self",(char *) "value", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15889 if (SWIG_arg_fail(1)) SWIG_fail
;
15891 arg2
= (bool)(SWIG_As_bool(obj1
));
15892 if (SWIG_arg_fail(2)) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 (arg1
)->SetValue(arg2
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 Py_INCREF(Py_None
); resultobj
= Py_None
;
15908 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15912 PyObject
* obj0
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15919 if (SWIG_arg_fail(1)) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15936 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15939 wxString
*arg2
= 0 ;
15940 bool temp2
= false ;
15941 PyObject
* obj0
= 0 ;
15942 PyObject
* obj1
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self",(char *) "label", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15949 if (SWIG_arg_fail(1)) SWIG_fail
;
15951 arg2
= wxString_in_helper(obj1
);
15952 if (arg2
== NULL
) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 (arg1
)->SetLabel((wxString
const &)*arg2
);
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 Py_INCREF(Py_None
); resultobj
= Py_None
;
15977 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15980 wxVisualAttributes result
;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "variant", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15989 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15990 if (SWIG_arg_fail(1)) SWIG_fail
;
15994 if (!wxPyCheckForApp()) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16002 wxVisualAttributes
* resultptr
;
16003 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16012 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16015 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16017 return Py_BuildValue((char *)"");
16019 static int _wrap_NotebookNameStr_set(PyObject
*) {
16020 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16025 static PyObject
*_wrap_NotebookNameStr_get(void) {
16030 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16032 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16039 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16043 PyObject
* obj0
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16050 if (SWIG_arg_fail(1)) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16059 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16067 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
;
16069 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 PyObject
* obj1
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self",(char *) "n", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16080 if (SWIG_arg_fail(1)) SWIG_fail
;
16082 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16083 if (SWIG_arg_fail(2)) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= wxPyMake_wxObject(result
, 0);
16101 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16105 PyObject
* obj0
= 0 ;
16106 char *kwnames
[] = {
16107 (char *) "self", NULL
16110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16112 if (SWIG_arg_fail(1)) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16121 resultobj
= wxPyMake_wxObject(result
, 0);
16129 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16133 PyObject
* obj0
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16140 if (SWIG_arg_fail(1)) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= SWIG_From_int((int)(result
));
16157 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16161 wxString
*arg3
= 0 ;
16163 bool temp3
= false ;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 PyObject
* obj2
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "n",(char *) "strText", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16173 if (SWIG_arg_fail(1)) SWIG_fail
;
16175 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16176 if (SWIG_arg_fail(2)) SWIG_fail
;
16179 arg3
= wxString_in_helper(obj2
);
16180 if (arg3
== NULL
) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16207 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self",(char *) "n", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16220 if (SWIG_arg_fail(1)) SWIG_fail
;
16222 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16223 if (SWIG_arg_fail(2)) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16245 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16248 wxImageList
*arg2
= (wxImageList
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self",(char *) "imageList", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16257 if (SWIG_arg_fail(1)) SWIG_fail
;
16258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16259 if (SWIG_arg_fail(2)) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 (arg1
)->SetImageList(arg2
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 Py_INCREF(Py_None
); resultobj
= Py_None
;
16274 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16277 wxImageList
*arg2
= (wxImageList
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 PyObject
* obj1
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "self",(char *) "imageList", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16286 if (SWIG_arg_fail(1)) SWIG_fail
;
16287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16288 if (SWIG_arg_fail(2)) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 (arg1
)->AssignImageList(arg2
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 Py_INCREF(Py_None
); resultobj
= Py_None
;
16303 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16306 wxImageList
*result
;
16307 PyObject
* obj0
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16314 if (SWIG_arg_fail(1)) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= wxPyMake_wxObject(result
, 0);
16331 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "n", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16344 if (SWIG_arg_fail(1)) SWIG_fail
;
16346 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16347 if (SWIG_arg_fail(2)) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= SWIG_From_int((int)(result
));
16365 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 PyObject
* obj1
= 0 ;
16373 PyObject
* obj2
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self",(char *) "n",(char *) "imageId", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16380 if (SWIG_arg_fail(1)) SWIG_fail
;
16382 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16383 if (SWIG_arg_fail(2)) SWIG_fail
;
16386 arg3
= (int)(SWIG_As_int(obj2
));
16387 if (SWIG_arg_fail(3)) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16405 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16410 PyObject
* obj0
= 0 ;
16411 PyObject
* obj1
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self",(char *) "size", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16418 if (SWIG_arg_fail(1)) SWIG_fail
;
16421 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16430 Py_INCREF(Py_None
); resultobj
= Py_None
;
16437 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16443 PyObject
* obj0
= 0 ;
16444 PyObject
* obj1
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self",(char *) "sizePage", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16451 if (SWIG_arg_fail(1)) SWIG_fail
;
16454 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16464 wxSize
* resultptr
;
16465 resultptr
= new wxSize((wxSize
&)(result
));
16466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16474 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self",(char *) "n", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail
;
16489 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16490 if (SWIG_arg_fail(2)) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (bool)(arg1
)->DeletePage(arg2
);
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16508 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 PyObject
* obj1
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self",(char *) "n", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16521 if (SWIG_arg_fail(1)) SWIG_fail
;
16523 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16524 if (SWIG_arg_fail(2)) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)(arg1
)->RemovePage(arg2
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16542 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16553 if (SWIG_arg_fail(1)) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (bool)(arg1
)->DeleteAllPages();
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16570 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16573 wxWindow
*arg2
= (wxWindow
*) 0 ;
16574 wxString
*arg3
= 0 ;
16575 bool arg4
= (bool) false ;
16576 int arg5
= (int) -1 ;
16578 bool temp3
= false ;
16579 PyObject
* obj0
= 0 ;
16580 PyObject
* obj1
= 0 ;
16581 PyObject
* obj2
= 0 ;
16582 PyObject
* obj3
= 0 ;
16583 PyObject
* obj4
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16590 if (SWIG_arg_fail(1)) SWIG_fail
;
16591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16592 if (SWIG_arg_fail(2)) SWIG_fail
;
16594 arg3
= wxString_in_helper(obj2
);
16595 if (arg3
== NULL
) SWIG_fail
;
16600 arg4
= (bool)(SWIG_As_bool(obj3
));
16601 if (SWIG_arg_fail(4)) SWIG_fail
;
16606 arg5
= (int)(SWIG_As_int(obj4
));
16607 if (SWIG_arg_fail(5)) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16634 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
;
16636 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16638 wxWindow
*arg3
= (wxWindow
*) 0 ;
16639 wxString
*arg4
= 0 ;
16640 bool arg5
= (bool) false ;
16641 int arg6
= (int) -1 ;
16643 bool temp4
= false ;
16644 PyObject
* obj0
= 0 ;
16645 PyObject
* obj1
= 0 ;
16646 PyObject
* obj2
= 0 ;
16647 PyObject
* obj3
= 0 ;
16648 PyObject
* obj4
= 0 ;
16649 PyObject
* obj5
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16656 if (SWIG_arg_fail(1)) SWIG_fail
;
16658 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16659 if (SWIG_arg_fail(2)) SWIG_fail
;
16661 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16662 if (SWIG_arg_fail(3)) SWIG_fail
;
16664 arg4
= wxString_in_helper(obj3
);
16665 if (arg4
== NULL
) SWIG_fail
;
16670 arg5
= (bool)(SWIG_As_bool(obj4
));
16671 if (SWIG_arg_fail(5)) SWIG_fail
;
16676 arg6
= (int)(SWIG_As_int(obj5
));
16677 if (SWIG_arg_fail(6)) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16704 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
;
16706 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self",(char *) "n", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16717 if (SWIG_arg_fail(1)) SWIG_fail
;
16719 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16720 if (SWIG_arg_fail(2)) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= (int)(arg1
)->SetSelection(arg2
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= SWIG_From_int((int)(result
));
16738 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16741 bool arg2
= (bool) true ;
16742 PyObject
* obj0
= 0 ;
16743 PyObject
* obj1
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "self",(char *) "forward", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16750 if (SWIG_arg_fail(1)) SWIG_fail
;
16753 arg2
= (bool)(SWIG_As_bool(obj1
));
16754 if (SWIG_arg_fail(2)) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 (arg1
)->AdvanceSelection(arg2
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 Py_INCREF(Py_None
); resultobj
= Py_None
;
16771 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16774 wxVisualAttributes result
;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "variant", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16783 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16788 if (!wxPyCheckForApp()) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16796 wxVisualAttributes
* resultptr
;
16797 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16806 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16809 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16811 return Py_BuildValue((char *)"");
16813 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
;
16815 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16816 int arg2
= (int) 0 ;
16817 int arg3
= (int) -1 ;
16818 int arg4
= (int) -1 ;
16819 wxBookCtrlBaseEvent
*result
;
16820 PyObject
* obj0
= 0 ;
16821 PyObject
* obj1
= 0 ;
16822 PyObject
* obj2
= 0 ;
16823 PyObject
* obj3
= 0 ;
16824 char *kwnames
[] = {
16825 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16831 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16832 if (SWIG_arg_fail(1)) SWIG_fail
;
16837 arg2
= (int)(SWIG_As_int(obj1
));
16838 if (SWIG_arg_fail(2)) SWIG_fail
;
16843 arg3
= (int)(SWIG_As_int(obj2
));
16844 if (SWIG_arg_fail(3)) SWIG_fail
;
16849 arg4
= (int)(SWIG_As_int(obj3
));
16850 if (SWIG_arg_fail(4)) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16867 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16869 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16871 PyObject
* obj0
= 0 ;
16872 char *kwnames
[] = {
16873 (char *) "self", NULL
16876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16878 if (SWIG_arg_fail(1)) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= SWIG_From_int((int)(result
));
16895 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 char *kwnames
[] = {
16902 (char *) "self",(char *) "nSel", NULL
16905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16907 if (SWIG_arg_fail(1)) SWIG_fail
;
16909 arg2
= (int)(SWIG_As_int(obj1
));
16910 if (SWIG_arg_fail(2)) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 (arg1
)->SetSelection(arg2
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 Py_INCREF(Py_None
); resultobj
= Py_None
;
16926 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
;
16928 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16930 PyObject
* obj0
= 0 ;
16931 char *kwnames
[] = {
16932 (char *) "self", NULL
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16937 if (SWIG_arg_fail(1)) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_From_int((int)(result
));
16954 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "nOldSel", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16966 if (SWIG_arg_fail(1)) SWIG_fail
;
16968 arg2
= (int)(SWIG_As_int(obj1
));
16969 if (SWIG_arg_fail(2)) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 (arg1
)->SetOldSelection(arg2
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 Py_INCREF(Py_None
); resultobj
= Py_None
;
16985 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
16987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16988 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
16990 return Py_BuildValue((char *)"");
16992 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxWindow
*arg1
= (wxWindow
*) 0 ;
16995 int arg2
= (int) -1 ;
16996 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16997 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16998 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16999 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17000 long arg5
= (long) 0 ;
17001 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17002 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17003 wxNotebook
*result
;
17006 bool temp6
= false ;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 PyObject
* obj2
= 0 ;
17010 PyObject
* obj3
= 0 ;
17011 PyObject
* obj4
= 0 ;
17012 PyObject
* obj5
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17019 if (SWIG_arg_fail(1)) SWIG_fail
;
17022 arg2
= (int)(SWIG_As_int(obj1
));
17023 if (SWIG_arg_fail(2)) SWIG_fail
;
17029 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17035 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17040 arg5
= (long)(SWIG_As_long(obj4
));
17041 if (SWIG_arg_fail(5)) SWIG_fail
;
17046 arg6
= wxString_in_helper(obj5
);
17047 if (arg6
== NULL
) SWIG_fail
;
17052 if (!wxPyCheckForApp()) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17074 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxNotebook
*result
;
17077 char *kwnames
[] = {
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17083 if (!wxPyCheckForApp()) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (wxNotebook
*)new wxNotebook();
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17097 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17099 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17100 wxWindow
*arg2
= (wxWindow
*) 0 ;
17101 int arg3
= (int) -1 ;
17102 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17103 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17104 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17105 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17106 long arg6
= (long) 0 ;
17107 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17108 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17112 bool temp7
= false ;
17113 PyObject
* obj0
= 0 ;
17114 PyObject
* obj1
= 0 ;
17115 PyObject
* obj2
= 0 ;
17116 PyObject
* obj3
= 0 ;
17117 PyObject
* obj4
= 0 ;
17118 PyObject
* obj5
= 0 ;
17119 PyObject
* obj6
= 0 ;
17120 char *kwnames
[] = {
17121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17126 if (SWIG_arg_fail(1)) SWIG_fail
;
17127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17128 if (SWIG_arg_fail(2)) SWIG_fail
;
17131 arg3
= (int)(SWIG_As_int(obj2
));
17132 if (SWIG_arg_fail(3)) SWIG_fail
;
17138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17149 arg6
= (long)(SWIG_As_long(obj5
));
17150 if (SWIG_arg_fail(6)) SWIG_fail
;
17155 arg7
= wxString_in_helper(obj6
);
17156 if (arg7
== NULL
) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17184 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17186 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= SWIG_From_int((int)(result
));
17212 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self",(char *) "padding", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17225 if (SWIG_arg_fail(1)) SWIG_fail
;
17228 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 Py_INCREF(Py_None
); resultobj
= Py_None
;
17244 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
;
17246 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self",(char *) "sz", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17257 if (SWIG_arg_fail(1)) SWIG_fail
;
17260 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 Py_INCREF(Py_None
); resultobj
= Py_None
;
17276 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17279 wxPoint
*arg2
= 0 ;
17280 long *arg3
= (long *) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self",(char *) "pt", NULL
17291 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17294 if (SWIG_arg_fail(1)) SWIG_fail
;
17297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17307 resultobj
= SWIG_From_int((int)(result
));
17309 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17310 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17317 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17323 PyObject
* obj0
= 0 ;
17324 PyObject
* obj1
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "self",(char *) "sizePage", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail
;
17334 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17344 wxSize
* resultptr
;
17345 resultptr
= new wxSize((wxSize
&)(result
));
17346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17354 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 wxColour
* resultptr
;
17375 resultptr
= new wxColour((wxColour
&)(result
));
17376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17384 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17387 wxVisualAttributes result
;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "variant", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17396 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17397 if (SWIG_arg_fail(1)) SWIG_fail
;
17401 if (!wxPyCheckForApp()) SWIG_fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17409 wxVisualAttributes
* resultptr
;
17410 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17411 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17419 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17422 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17424 return Py_BuildValue((char *)"");
17426 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17427 PyObject
*resultobj
;
17428 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17429 int arg2
= (int) 0 ;
17430 int arg3
= (int) -1 ;
17431 int arg4
= (int) -1 ;
17432 wxNotebookEvent
*result
;
17433 PyObject
* obj0
= 0 ;
17434 PyObject
* obj1
= 0 ;
17435 PyObject
* obj2
= 0 ;
17436 PyObject
* obj3
= 0 ;
17437 char *kwnames
[] = {
17438 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17444 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17445 if (SWIG_arg_fail(1)) SWIG_fail
;
17450 arg2
= (int)(SWIG_As_int(obj1
));
17451 if (SWIG_arg_fail(2)) SWIG_fail
;
17456 arg3
= (int)(SWIG_As_int(obj2
));
17457 if (SWIG_arg_fail(3)) SWIG_fail
;
17462 arg4
= (int)(SWIG_As_int(obj3
));
17463 if (SWIG_arg_fail(4)) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17480 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17483 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17485 return Py_BuildValue((char *)"");
17487 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxWindow
*arg1
= (wxWindow
*) 0 ;
17490 int arg2
= (int) -1 ;
17491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17495 long arg5
= (long) 0 ;
17496 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17497 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17498 wxListbook
*result
;
17501 bool temp6
= false ;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 PyObject
* obj2
= 0 ;
17505 PyObject
* obj3
= 0 ;
17506 PyObject
* obj4
= 0 ;
17507 PyObject
* obj5
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17514 if (SWIG_arg_fail(1)) SWIG_fail
;
17517 arg2
= (int)(SWIG_As_int(obj1
));
17518 if (SWIG_arg_fail(2)) SWIG_fail
;
17524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17530 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17535 arg5
= (long)(SWIG_As_long(obj4
));
17536 if (SWIG_arg_fail(5)) SWIG_fail
;
17541 arg6
= wxString_in_helper(obj5
);
17542 if (arg6
== NULL
) SWIG_fail
;
17547 if (!wxPyCheckForApp()) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17569 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxListbook
*result
;
17572 char *kwnames
[] = {
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17578 if (!wxPyCheckForApp()) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (wxListbook
*)new wxListbook();
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17592 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxListbook
*arg1
= (wxListbook
*) 0 ;
17595 wxWindow
*arg2
= (wxWindow
*) 0 ;
17596 int arg3
= (int) -1 ;
17597 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17598 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17599 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17600 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17601 long arg6
= (long) 0 ;
17602 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17603 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17607 bool temp7
= false ;
17608 PyObject
* obj0
= 0 ;
17609 PyObject
* obj1
= 0 ;
17610 PyObject
* obj2
= 0 ;
17611 PyObject
* obj3
= 0 ;
17612 PyObject
* obj4
= 0 ;
17613 PyObject
* obj5
= 0 ;
17614 PyObject
* obj6
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17621 if (SWIG_arg_fail(1)) SWIG_fail
;
17622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17623 if (SWIG_arg_fail(2)) SWIG_fail
;
17626 arg3
= (int)(SWIG_As_int(obj2
));
17627 if (SWIG_arg_fail(3)) SWIG_fail
;
17633 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17639 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17644 arg6
= (long)(SWIG_As_long(obj5
));
17645 if (SWIG_arg_fail(6)) SWIG_fail
;
17650 arg7
= wxString_in_helper(obj6
);
17651 if (arg7
== NULL
) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17679 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
;
17681 wxListbook
*arg1
= (wxListbook
*) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17707 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxListbook
*arg1
= (wxListbook
*) 0 ;
17710 wxListView
*result
;
17711 PyObject
* obj0
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17718 if (SWIG_arg_fail(1)) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (wxListView
*)(arg1
)->GetListView();
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17733 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17736 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17738 return Py_BuildValue((char *)"");
17740 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17743 int arg2
= (int) 0 ;
17744 int arg3
= (int) -1 ;
17745 int arg4
= (int) -1 ;
17746 wxListbookEvent
*result
;
17747 PyObject
* obj0
= 0 ;
17748 PyObject
* obj1
= 0 ;
17749 PyObject
* obj2
= 0 ;
17750 PyObject
* obj3
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17758 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17759 if (SWIG_arg_fail(1)) SWIG_fail
;
17764 arg2
= (int)(SWIG_As_int(obj1
));
17765 if (SWIG_arg_fail(2)) SWIG_fail
;
17770 arg3
= (int)(SWIG_As_int(obj2
));
17771 if (SWIG_arg_fail(3)) SWIG_fail
;
17776 arg4
= (int)(SWIG_As_int(obj3
));
17777 if (SWIG_arg_fail(4)) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17794 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17797 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17799 return Py_BuildValue((char *)"");
17801 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxWindow
*arg1
= (wxWindow
*) 0 ;
17805 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17806 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17807 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17808 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17809 long arg5
= (long) 0 ;
17810 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17811 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17812 wxChoicebook
*result
;
17815 bool temp6
= false ;
17816 PyObject
* obj0
= 0 ;
17817 PyObject
* obj1
= 0 ;
17818 PyObject
* obj2
= 0 ;
17819 PyObject
* obj3
= 0 ;
17820 PyObject
* obj4
= 0 ;
17821 PyObject
* obj5
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17828 if (SWIG_arg_fail(1)) SWIG_fail
;
17830 arg2
= (int)(SWIG_As_int(obj1
));
17831 if (SWIG_arg_fail(2)) SWIG_fail
;
17836 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17842 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17847 arg5
= (long)(SWIG_As_long(obj4
));
17848 if (SWIG_arg_fail(5)) SWIG_fail
;
17853 arg6
= wxString_in_helper(obj5
);
17854 if (arg6
== NULL
) SWIG_fail
;
17859 if (!wxPyCheckForApp()) SWIG_fail
;
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17881 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxChoicebook
*result
;
17884 char *kwnames
[] = {
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17890 if (!wxPyCheckForApp()) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (wxChoicebook
*)new wxChoicebook();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17904 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
;
17906 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17907 wxWindow
*arg2
= (wxWindow
*) 0 ;
17909 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17910 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17911 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17912 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17913 long arg6
= (long) 0 ;
17914 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17915 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17919 bool temp7
= false ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 PyObject
* obj2
= 0 ;
17923 PyObject
* obj3
= 0 ;
17924 PyObject
* obj4
= 0 ;
17925 PyObject
* obj5
= 0 ;
17926 PyObject
* obj6
= 0 ;
17927 char *kwnames
[] = {
17928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17933 if (SWIG_arg_fail(1)) SWIG_fail
;
17934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17935 if (SWIG_arg_fail(2)) SWIG_fail
;
17937 arg3
= (int)(SWIG_As_int(obj2
));
17938 if (SWIG_arg_fail(3)) SWIG_fail
;
17943 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17949 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17954 arg6
= (long)(SWIG_As_long(obj5
));
17955 if (SWIG_arg_fail(6)) SWIG_fail
;
17960 arg7
= wxString_in_helper(obj6
);
17961 if (arg7
== NULL
) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17989 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
;
17991 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17993 PyObject
* obj0
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
17999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18000 if (SWIG_arg_fail(1)) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18017 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18028 if (SWIG_arg_fail(1)) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18043 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 char *kwnames
[] = {
18049 (char *) "self", NULL
18052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18054 if (SWIG_arg_fail(1)) SWIG_fail
;
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 result
= (bool)(arg1
)->DeleteAllPages();
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18071 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18074 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18076 return Py_BuildValue((char *)"");
18078 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18081 int arg2
= (int) 0 ;
18082 int arg3
= (int) -1 ;
18083 int arg4
= (int) -1 ;
18084 wxChoicebookEvent
*result
;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 PyObject
* obj2
= 0 ;
18088 PyObject
* obj3
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18096 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18097 if (SWIG_arg_fail(1)) SWIG_fail
;
18102 arg2
= (int)(SWIG_As_int(obj1
));
18103 if (SWIG_arg_fail(2)) SWIG_fail
;
18108 arg3
= (int)(SWIG_As_int(obj2
));
18109 if (SWIG_arg_fail(3)) SWIG_fail
;
18114 arg4
= (int)(SWIG_As_int(obj3
));
18115 if (SWIG_arg_fail(4)) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18132 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18135 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18137 return Py_BuildValue((char *)"");
18139 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
;
18141 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18142 wxBookCtrlSizer
*result
;
18143 PyObject
* obj0
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "nb", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18150 if (SWIG_arg_fail(1)) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18165 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 char *kwnames
[] = {
18170 (char *) "self", NULL
18173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18175 if (SWIG_arg_fail(1)) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 (arg1
)->RecalcSizes();
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 Py_INCREF(Py_None
); resultobj
= Py_None
;
18190 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "self", NULL
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18201 if (SWIG_arg_fail(1)) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (arg1
)->CalcMin();
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18210 wxSize
* resultptr
;
18211 resultptr
= new wxSize((wxSize
&)(result
));
18212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18220 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18222 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18223 wxBookCtrlBase
*result
;
18224 PyObject
* obj0
= 0 ;
18225 char *kwnames
[] = {
18226 (char *) "self", NULL
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18231 if (SWIG_arg_fail(1)) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18246 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18249 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18251 return Py_BuildValue((char *)"");
18253 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18256 wxNotebookSizer
*result
;
18257 PyObject
* obj0
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "nb", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18264 if (SWIG_arg_fail(1)) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18279 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18282 PyObject
* obj0
= 0 ;
18283 char *kwnames
[] = {
18284 (char *) "self", NULL
18287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18289 if (SWIG_arg_fail(1)) SWIG_fail
;
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 (arg1
)->RecalcSizes();
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 Py_INCREF(Py_None
); resultobj
= Py_None
;
18304 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18308 PyObject
* obj0
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18315 if (SWIG_arg_fail(1)) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 result
= (arg1
)->CalcMin();
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18324 wxSize
* resultptr
;
18325 resultptr
= new wxSize((wxSize
&)(result
));
18326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18334 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18337 wxNotebook
*result
;
18338 PyObject
* obj0
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "self", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18345 if (SWIG_arg_fail(1)) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= wxPyMake_wxObject(result
, 0);
18362 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18365 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18367 return Py_BuildValue((char *)"");
18369 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18380 if (SWIG_arg_fail(1)) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (int)(arg1
)->GetId();
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= SWIG_From_int((int)(result
));
18397 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18401 PyObject
* obj0
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18408 if (SWIG_arg_fail(1)) SWIG_fail
;
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 result
= (wxControl
*)(arg1
)->GetControl();
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= wxPyMake_wxObject(result
, 0);
18425 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18428 wxToolBarBase
*result
;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18436 if (SWIG_arg_fail(1)) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= wxPyMake_wxObject(result
, 0);
18453 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (int)(arg1
)->IsButton();
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_From_int((int)(result
));
18481 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18492 if (SWIG_arg_fail(1)) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (int)(arg1
)->IsControl();
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= SWIG_From_int((int)(result
));
18509 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
;
18511 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18513 PyObject
* obj0
= 0 ;
18514 char *kwnames
[] = {
18515 (char *) "self", NULL
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18520 if (SWIG_arg_fail(1)) SWIG_fail
;
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 result
= (int)(arg1
)->IsSeparator();
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_From_int((int)(result
));
18537 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18548 if (SWIG_arg_fail(1)) SWIG_fail
;
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 result
= (int)(arg1
)->GetStyle();
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18557 resultobj
= SWIG_From_int((int)(result
));
18565 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18569 PyObject
* obj0
= 0 ;
18570 char *kwnames
[] = {
18571 (char *) "self", NULL
18574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18576 if (SWIG_arg_fail(1)) SWIG_fail
;
18578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18579 result
= (wxItemKind
)(arg1
)->GetKind();
18581 wxPyEndAllowThreads(__tstate
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18584 resultobj
= SWIG_From_int((result
));
18591 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
;
18593 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18595 PyObject
* obj0
= 0 ;
18596 char *kwnames
[] = {
18597 (char *) "self", NULL
18600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18602 if (SWIG_arg_fail(1)) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (bool)(arg1
)->IsEnabled();
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18619 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
;
18621 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18623 PyObject
* obj0
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "self", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18630 if (SWIG_arg_fail(1)) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 result
= (bool)(arg1
)->IsToggled();
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18647 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18658 if (SWIG_arg_fail(1)) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (bool)(arg1
)->CanBeToggled();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18675 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18686 if (SWIG_arg_fail(1)) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18691 result
= (wxBitmap
*) &_result_ref
;
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18698 wxBitmap
* resultptr
= new wxBitmap(*result
);
18699 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18707 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18718 if (SWIG_arg_fail(1)) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18723 result
= (wxBitmap
*) &_result_ref
;
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18730 wxBitmap
* resultptr
= new wxBitmap(*result
);
18731 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18739 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18750 if (SWIG_arg_fail(1)) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (arg1
)->GetBitmap();
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18759 wxBitmap
* resultptr
;
18760 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18769 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
;
18771 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18773 PyObject
* obj0
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18780 if (SWIG_arg_fail(1)) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (arg1
)->GetLabel();
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18801 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18805 PyObject
* obj0
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "self", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18812 if (SWIG_arg_fail(1)) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 result
= (arg1
)->GetShortHelp();
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18833 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18835 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18837 PyObject
* obj0
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "self", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18844 if (SWIG_arg_fail(1)) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 result
= (arg1
)->GetLongHelp();
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18865 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18870 PyObject
* obj0
= 0 ;
18871 PyObject
* obj1
= 0 ;
18872 char *kwnames
[] = {
18873 (char *) "self",(char *) "enable", NULL
18876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18878 if (SWIG_arg_fail(1)) SWIG_fail
;
18880 arg2
= (bool)(SWIG_As_bool(obj1
));
18881 if (SWIG_arg_fail(2)) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (bool)(arg1
)->Enable(arg2
);
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18899 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18902 PyObject
* obj0
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "self", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18909 if (SWIG_arg_fail(1)) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 Py_INCREF(Py_None
); resultobj
= Py_None
;
18924 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 PyObject
* obj1
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self",(char *) "toggle", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18937 if (SWIG_arg_fail(1)) SWIG_fail
;
18939 arg2
= (bool)(SWIG_As_bool(obj1
));
18940 if (SWIG_arg_fail(2)) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 result
= (bool)(arg1
)->SetToggle(arg2
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18958 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18961 wxString
*arg2
= 0 ;
18963 bool temp2
= false ;
18964 PyObject
* obj0
= 0 ;
18965 PyObject
* obj1
= 0 ;
18966 char *kwnames
[] = {
18967 (char *) "self",(char *) "help", NULL
18970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18972 if (SWIG_arg_fail(1)) SWIG_fail
;
18974 arg2
= wxString_in_helper(obj1
);
18975 if (arg2
== NULL
) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19002 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19005 wxString
*arg2
= 0 ;
19007 bool temp2
= false ;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "self",(char *) "help", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19016 if (SWIG_arg_fail(1)) SWIG_fail
;
19018 arg2
= wxString_in_helper(obj1
);
19019 if (arg2
== NULL
) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19046 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19049 wxBitmap
*arg2
= 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self",(char *) "bmp", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19058 if (SWIG_arg_fail(1)) SWIG_fail
;
19060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19061 if (SWIG_arg_fail(2)) SWIG_fail
;
19062 if (arg2
== NULL
) {
19063 SWIG_null_ref("wxBitmap");
19065 if (SWIG_arg_fail(2)) SWIG_fail
;
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 Py_INCREF(Py_None
); resultobj
= Py_None
;
19081 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19084 wxBitmap
*arg2
= 0 ;
19085 PyObject
* obj0
= 0 ;
19086 PyObject
* obj1
= 0 ;
19087 char *kwnames
[] = {
19088 (char *) "self",(char *) "bmp", NULL
19091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19093 if (SWIG_arg_fail(1)) SWIG_fail
;
19095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19096 if (SWIG_arg_fail(2)) SWIG_fail
;
19097 if (arg2
== NULL
) {
19098 SWIG_null_ref("wxBitmap");
19100 if (SWIG_arg_fail(2)) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 Py_INCREF(Py_None
); resultobj
= Py_None
;
19116 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19119 wxString
*arg2
= 0 ;
19120 bool temp2
= false ;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self",(char *) "label", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
19132 if (arg2
== NULL
) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 (arg1
)->SetLabel((wxString
const &)*arg2
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 Py_INCREF(Py_None
); resultobj
= Py_None
;
19157 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19167 if (SWIG_arg_fail(1)) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 Py_INCREF(Py_None
); resultobj
= Py_None
;
19182 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19185 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self",(char *) "tbar", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19194 if (SWIG_arg_fail(1)) SWIG_fail
;
19195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19196 if (SWIG_arg_fail(2)) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 (arg1
)->Attach(arg2
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 Py_INCREF(Py_None
); resultobj
= Py_None
;
19211 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19222 if (SWIG_arg_fail(1)) SWIG_fail
;
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= result
;
19237 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19240 PyObject
*arg2
= (PyObject
*) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 PyObject
* obj1
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "self",(char *) "clientData", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19249 if (SWIG_arg_fail(1)) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 Py_INCREF(Py_None
); resultobj
= Py_None
;
19265 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19268 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19270 return Py_BuildValue((char *)"");
19272 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19276 wxString
*arg3
= 0 ;
19277 wxBitmap
*arg4
= 0 ;
19278 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19279 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19280 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19281 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19282 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19283 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19284 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19285 PyObject
*arg9
= (PyObject
*) NULL
;
19286 wxToolBarToolBase
*result
;
19287 bool temp3
= false ;
19288 bool temp7
= false ;
19289 bool temp8
= false ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 PyObject
* obj2
= 0 ;
19293 PyObject
* obj3
= 0 ;
19294 PyObject
* obj4
= 0 ;
19295 PyObject
* obj5
= 0 ;
19296 PyObject
* obj6
= 0 ;
19297 PyObject
* obj7
= 0 ;
19298 PyObject
* obj8
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19305 if (SWIG_arg_fail(1)) SWIG_fail
;
19307 arg2
= (int)(SWIG_As_int(obj1
));
19308 if (SWIG_arg_fail(2)) SWIG_fail
;
19311 arg3
= wxString_in_helper(obj2
);
19312 if (arg3
== NULL
) SWIG_fail
;
19316 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19317 if (SWIG_arg_fail(4)) SWIG_fail
;
19318 if (arg4
== NULL
) {
19319 SWIG_null_ref("wxBitmap");
19321 if (SWIG_arg_fail(4)) SWIG_fail
;
19325 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19326 if (SWIG_arg_fail(5)) SWIG_fail
;
19327 if (arg5
== NULL
) {
19328 SWIG_null_ref("wxBitmap");
19330 if (SWIG_arg_fail(5)) SWIG_fail
;
19335 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19336 if (SWIG_arg_fail(6)) SWIG_fail
;
19341 arg7
= wxString_in_helper(obj6
);
19342 if (arg7
== NULL
) SWIG_fail
;
19348 arg8
= wxString_in_helper(obj7
);
19349 if (arg8
== NULL
) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= wxPyMake_wxObject(result
, 0);
19396 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
;
19398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19401 wxString
*arg4
= 0 ;
19402 wxBitmap
*arg5
= 0 ;
19403 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19404 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19405 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19406 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19407 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19408 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19409 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19410 PyObject
*arg10
= (PyObject
*) NULL
;
19411 wxToolBarToolBase
*result
;
19412 bool temp4
= false ;
19413 bool temp8
= false ;
19414 bool temp9
= false ;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 PyObject
* obj2
= 0 ;
19418 PyObject
* obj3
= 0 ;
19419 PyObject
* obj4
= 0 ;
19420 PyObject
* obj5
= 0 ;
19421 PyObject
* obj6
= 0 ;
19422 PyObject
* obj7
= 0 ;
19423 PyObject
* obj8
= 0 ;
19424 PyObject
* obj9
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19431 if (SWIG_arg_fail(1)) SWIG_fail
;
19433 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19434 if (SWIG_arg_fail(2)) SWIG_fail
;
19437 arg3
= (int)(SWIG_As_int(obj2
));
19438 if (SWIG_arg_fail(3)) SWIG_fail
;
19441 arg4
= wxString_in_helper(obj3
);
19442 if (arg4
== NULL
) SWIG_fail
;
19446 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19447 if (SWIG_arg_fail(5)) SWIG_fail
;
19448 if (arg5
== NULL
) {
19449 SWIG_null_ref("wxBitmap");
19451 if (SWIG_arg_fail(5)) SWIG_fail
;
19455 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19456 if (SWIG_arg_fail(6)) SWIG_fail
;
19457 if (arg6
== NULL
) {
19458 SWIG_null_ref("wxBitmap");
19460 if (SWIG_arg_fail(6)) SWIG_fail
;
19465 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19466 if (SWIG_arg_fail(7)) SWIG_fail
;
19471 arg8
= wxString_in_helper(obj7
);
19472 if (arg8
== NULL
) SWIG_fail
;
19478 arg9
= wxString_in_helper(obj8
);
19479 if (arg9
== NULL
) SWIG_fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 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
);
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= wxPyMake_wxObject(result
, 0);
19526 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
;
19528 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19529 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19530 wxToolBarToolBase
*result
;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self",(char *) "tool", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19539 if (SWIG_arg_fail(1)) SWIG_fail
;
19540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19541 if (SWIG_arg_fail(2)) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= wxPyMake_wxObject(result
, 0);
19558 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19562 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19563 wxToolBarToolBase
*result
;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 PyObject
* obj2
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self",(char *) "pos",(char *) "tool", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19573 if (SWIG_arg_fail(1)) SWIG_fail
;
19575 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19576 if (SWIG_arg_fail(2)) SWIG_fail
;
19578 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19579 if (SWIG_arg_fail(3)) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= wxPyMake_wxObject(result
, 0);
19596 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19599 wxControl
*arg2
= (wxControl
*) 0 ;
19600 wxToolBarToolBase
*result
;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "control", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19609 if (SWIG_arg_fail(1)) SWIG_fail
;
19610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19611 if (SWIG_arg_fail(2)) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= wxPyMake_wxObject(result
, 0);
19628 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19632 wxControl
*arg3
= (wxControl
*) 0 ;
19633 wxToolBarToolBase
*result
;
19634 PyObject
* obj0
= 0 ;
19635 PyObject
* obj1
= 0 ;
19636 PyObject
* obj2
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self",(char *) "pos",(char *) "control", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail
;
19645 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19646 if (SWIG_arg_fail(2)) SWIG_fail
;
19648 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19649 if (SWIG_arg_fail(3)) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= wxPyMake_wxObject(result
, 0);
19666 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self",(char *) "id", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19679 if (SWIG_arg_fail(1)) SWIG_fail
;
19681 arg2
= (int)(SWIG_As_int(obj1
));
19682 if (SWIG_arg_fail(2)) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= wxPyMake_wxObject(result
, 0);
19700 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19703 wxToolBarToolBase
*result
;
19704 PyObject
* obj0
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19711 if (SWIG_arg_fail(1)) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= wxPyMake_wxObject(result
, 0);
19728 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19732 wxToolBarToolBase
*result
;
19733 PyObject
* obj0
= 0 ;
19734 PyObject
* obj1
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self",(char *) "pos", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19741 if (SWIG_arg_fail(1)) SWIG_fail
;
19743 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19744 if (SWIG_arg_fail(2)) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= wxPyMake_wxObject(result
, 0);
19762 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19764 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19766 wxToolBarToolBase
*result
;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self",(char *) "id", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail
;
19777 arg2
= (int)(SWIG_As_int(obj1
));
19778 if (SWIG_arg_fail(2)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= wxPyMake_wxObject(result
, 0);
19796 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self",(char *) "pos", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19809 if (SWIG_arg_fail(1)) SWIG_fail
;
19811 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19812 if (SWIG_arg_fail(2)) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19830 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "id", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19843 if (SWIG_arg_fail(1)) SWIG_fail
;
19845 arg2
= (int)(SWIG_As_int(obj1
));
19846 if (SWIG_arg_fail(2)) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (bool)(arg1
)->DeleteTool(arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19864 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19874 if (SWIG_arg_fail(1)) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 (arg1
)->ClearTools();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 Py_INCREF(Py_None
); resultobj
= Py_None
;
19889 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19900 if (SWIG_arg_fail(1)) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (bool)(arg1
)->Realize();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19917 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
;
19919 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19922 PyObject
* obj0
= 0 ;
19923 PyObject
* obj1
= 0 ;
19924 PyObject
* obj2
= 0 ;
19925 char *kwnames
[] = {
19926 (char *) "self",(char *) "id",(char *) "enable", NULL
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19931 if (SWIG_arg_fail(1)) SWIG_fail
;
19933 arg2
= (int)(SWIG_As_int(obj1
));
19934 if (SWIG_arg_fail(2)) SWIG_fail
;
19937 arg3
= (bool)(SWIG_As_bool(obj2
));
19938 if (SWIG_arg_fail(3)) SWIG_fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 (arg1
)->EnableTool(arg2
,arg3
);
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 Py_INCREF(Py_None
); resultobj
= Py_None
;
19954 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19959 PyObject
* obj0
= 0 ;
19960 PyObject
* obj1
= 0 ;
19961 PyObject
* obj2
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self",(char *) "id",(char *) "toggle", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19968 if (SWIG_arg_fail(1)) SWIG_fail
;
19970 arg2
= (int)(SWIG_As_int(obj1
));
19971 if (SWIG_arg_fail(2)) SWIG_fail
;
19974 arg3
= (bool)(SWIG_As_bool(obj2
));
19975 if (SWIG_arg_fail(3)) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 (arg1
)->ToggleTool(arg2
,arg3
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 Py_INCREF(Py_None
); resultobj
= Py_None
;
19991 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 PyObject
* obj1
= 0 ;
19998 PyObject
* obj2
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self",(char *) "id",(char *) "toggle", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20005 if (SWIG_arg_fail(1)) SWIG_fail
;
20007 arg2
= (int)(SWIG_As_int(obj1
));
20008 if (SWIG_arg_fail(2)) SWIG_fail
;
20011 arg3
= (bool)(SWIG_As_bool(obj2
));
20012 if (SWIG_arg_fail(3)) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->SetToggle(arg2
,arg3
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 Py_INCREF(Py_None
); resultobj
= Py_None
;
20028 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self",(char *) "id", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20041 if (SWIG_arg_fail(1)) SWIG_fail
;
20043 arg2
= (int)(SWIG_As_int(obj1
));
20044 if (SWIG_arg_fail(2)) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= result
;
20060 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20064 PyObject
*arg3
= (PyObject
*) 0 ;
20065 PyObject
* obj0
= 0 ;
20066 PyObject
* obj1
= 0 ;
20067 PyObject
* obj2
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self",(char *) "id",(char *) "clientData", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20074 if (SWIG_arg_fail(1)) SWIG_fail
;
20076 arg2
= (int)(SWIG_As_int(obj1
));
20077 if (SWIG_arg_fail(2)) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 Py_INCREF(Py_None
); resultobj
= Py_None
;
20094 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20099 PyObject
* obj0
= 0 ;
20100 PyObject
* obj1
= 0 ;
20101 char *kwnames
[] = {
20102 (char *) "self",(char *) "id", NULL
20105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20107 if (SWIG_arg_fail(1)) SWIG_fail
;
20109 arg2
= (int)(SWIG_As_int(obj1
));
20110 if (SWIG_arg_fail(2)) SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= SWIG_From_int((int)(result
));
20128 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self",(char *) "id", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail
;
20143 arg2
= (int)(SWIG_As_int(obj1
));
20144 if (SWIG_arg_fail(2)) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (bool)(arg1
)->GetToolState(arg2
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20162 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self",(char *) "id", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail
;
20177 arg2
= (int)(SWIG_As_int(obj1
));
20178 if (SWIG_arg_fail(2)) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20196 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20200 wxString
*arg3
= 0 ;
20201 bool temp3
= false ;
20202 PyObject
* obj0
= 0 ;
20203 PyObject
* obj1
= 0 ;
20204 PyObject
* obj2
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self",(char *) "id",(char *) "helpString", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20211 if (SWIG_arg_fail(1)) SWIG_fail
;
20213 arg2
= (int)(SWIG_As_int(obj1
));
20214 if (SWIG_arg_fail(2)) SWIG_fail
;
20217 arg3
= wxString_in_helper(obj2
);
20218 if (arg3
== NULL
) SWIG_fail
;
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 Py_INCREF(Py_None
); resultobj
= Py_None
;
20243 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 char *kwnames
[] = {
20251 (char *) "self",(char *) "id", NULL
20254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20256 if (SWIG_arg_fail(1)) SWIG_fail
;
20258 arg2
= (int)(SWIG_As_int(obj1
));
20259 if (SWIG_arg_fail(2)) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (arg1
)->GetToolShortHelp(arg2
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20281 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20283 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20285 wxString
*arg3
= 0 ;
20286 bool temp3
= false ;
20287 PyObject
* obj0
= 0 ;
20288 PyObject
* obj1
= 0 ;
20289 PyObject
* obj2
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self",(char *) "id",(char *) "helpString", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20296 if (SWIG_arg_fail(1)) SWIG_fail
;
20298 arg2
= (int)(SWIG_As_int(obj1
));
20299 if (SWIG_arg_fail(2)) SWIG_fail
;
20302 arg3
= wxString_in_helper(obj2
);
20303 if (arg3
== NULL
) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20313 Py_INCREF(Py_None
); resultobj
= Py_None
;
20328 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
;
20330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20333 PyObject
* obj0
= 0 ;
20334 PyObject
* obj1
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "self",(char *) "id", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20341 if (SWIG_arg_fail(1)) SWIG_fail
;
20343 arg2
= (int)(SWIG_As_int(obj1
));
20344 if (SWIG_arg_fail(2)) SWIG_fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= (arg1
)->GetToolLongHelp(arg2
);
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20366 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
;
20368 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20371 PyObject
* obj0
= 0 ;
20372 PyObject
* obj1
= 0 ;
20373 PyObject
* obj2
= 0 ;
20374 char *kwnames
[] = {
20375 (char *) "self",(char *) "x",(char *) "y", NULL
20378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20380 if (SWIG_arg_fail(1)) SWIG_fail
;
20382 arg2
= (int)(SWIG_As_int(obj1
));
20383 if (SWIG_arg_fail(2)) SWIG_fail
;
20386 arg3
= (int)(SWIG_As_int(obj2
));
20387 if (SWIG_arg_fail(3)) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 (arg1
)->SetMargins(arg2
,arg3
);
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 Py_INCREF(Py_None
); resultobj
= Py_None
;
20403 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
;
20405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20408 PyObject
* obj0
= 0 ;
20409 PyObject
* obj1
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self",(char *) "size", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20416 if (SWIG_arg_fail(1)) SWIG_fail
;
20419 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 Py_INCREF(Py_None
); resultobj
= Py_None
;
20435 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20437 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 char *kwnames
[] = {
20442 (char *) "self",(char *) "packing", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20447 if (SWIG_arg_fail(1)) SWIG_fail
;
20449 arg2
= (int)(SWIG_As_int(obj1
));
20450 if (SWIG_arg_fail(2)) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 (arg1
)->SetToolPacking(arg2
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 Py_INCREF(Py_None
); resultobj
= Py_None
;
20466 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
;
20468 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20472 char *kwnames
[] = {
20473 (char *) "self",(char *) "separation", NULL
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20478 if (SWIG_arg_fail(1)) SWIG_fail
;
20480 arg2
= (int)(SWIG_As_int(obj1
));
20481 if (SWIG_arg_fail(2)) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 (arg1
)->SetToolSeparation(arg2
);
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 Py_INCREF(Py_None
); resultobj
= Py_None
;
20497 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 char *kwnames
[] = {
20503 (char *) "self", NULL
20506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20508 if (SWIG_arg_fail(1)) SWIG_fail
;
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 result
= (arg1
)->GetToolMargins();
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20517 wxSize
* resultptr
;
20518 resultptr
= new wxSize((wxSize
&)(result
));
20519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20527 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
;
20529 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20531 PyObject
* obj0
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "self", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20538 if (SWIG_arg_fail(1)) SWIG_fail
;
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= (arg1
)->GetMargins();
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20547 wxSize
* resultptr
;
20548 resultptr
= new wxSize((wxSize
&)(result
));
20549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20557 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20561 PyObject
* obj0
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20568 if (SWIG_arg_fail(1)) SWIG_fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (int)(arg1
)->GetToolPacking();
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= SWIG_From_int((int)(result
));
20585 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20589 PyObject
* obj0
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "self", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20596 if (SWIG_arg_fail(1)) SWIG_fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 result
= (int)(arg1
)->GetToolSeparation();
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= SWIG_From_int((int)(result
));
20613 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 PyObject
* obj1
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self",(char *) "nRows", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20625 if (SWIG_arg_fail(1)) SWIG_fail
;
20627 arg2
= (int)(SWIG_As_int(obj1
));
20628 if (SWIG_arg_fail(2)) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 (arg1
)->SetRows(arg2
);
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 Py_INCREF(Py_None
); resultobj
= Py_None
;
20644 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 PyObject
* obj2
= 0 ;
20652 char *kwnames
[] = {
20653 (char *) "self",(char *) "rows",(char *) "cols", NULL
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20658 if (SWIG_arg_fail(1)) SWIG_fail
;
20660 arg2
= (int)(SWIG_As_int(obj1
));
20661 if (SWIG_arg_fail(2)) SWIG_fail
;
20664 arg3
= (int)(SWIG_As_int(obj2
));
20665 if (SWIG_arg_fail(3)) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 Py_INCREF(Py_None
); resultobj
= Py_None
;
20681 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20685 PyObject
* obj0
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "self", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20692 if (SWIG_arg_fail(1)) SWIG_fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (int)(arg1
)->GetMaxRows();
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= SWIG_From_int((int)(result
));
20709 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20713 PyObject
* obj0
= 0 ;
20714 char *kwnames
[] = {
20715 (char *) "self", NULL
20718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20720 if (SWIG_arg_fail(1)) SWIG_fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 result
= (int)(arg1
)->GetMaxCols();
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_From_int((int)(result
));
20737 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
;
20739 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20742 PyObject
* obj0
= 0 ;
20743 PyObject
* obj1
= 0 ;
20744 char *kwnames
[] = {
20745 (char *) "self",(char *) "size", NULL
20748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20750 if (SWIG_arg_fail(1)) SWIG_fail
;
20753 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 Py_INCREF(Py_None
); resultobj
= Py_None
;
20769 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
;
20771 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20773 PyObject
* obj0
= 0 ;
20774 char *kwnames
[] = {
20775 (char *) "self", NULL
20778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20780 if (SWIG_arg_fail(1)) SWIG_fail
;
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 result
= (arg1
)->GetToolBitmapSize();
20785 wxPyEndAllowThreads(__tstate
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20789 wxSize
* resultptr
;
20790 resultptr
= new wxSize((wxSize
&)(result
));
20791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20799 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20803 PyObject
* obj0
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20810 if (SWIG_arg_fail(1)) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= (arg1
)->GetToolSize();
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20819 wxSize
* resultptr
;
20820 resultptr
= new wxSize((wxSize
&)(result
));
20821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20829 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20834 wxToolBarToolBase
*result
;
20835 PyObject
* obj0
= 0 ;
20836 PyObject
* obj1
= 0 ;
20837 PyObject
* obj2
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "self",(char *) "x",(char *) "y", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (int)(SWIG_As_int(obj2
));
20851 if (SWIG_arg_fail(3)) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= wxPyMake_wxObject(result
, 0);
20869 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20873 wxToolBarToolBase
*result
;
20874 PyObject
* obj0
= 0 ;
20875 PyObject
* obj1
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self",(char *) "toolid", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20882 if (SWIG_arg_fail(1)) SWIG_fail
;
20884 arg2
= (int)(SWIG_As_int(obj1
));
20885 if (SWIG_arg_fail(2)) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= wxPyMake_wxObject(result
, 0);
20903 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20914 if (SWIG_arg_fail(1)) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (bool)(arg1
)->IsVertical();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20931 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20934 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20936 return Py_BuildValue((char *)"");
20938 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxWindow
*arg1
= (wxWindow
*) 0 ;
20941 int arg2
= (int) -1 ;
20942 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20943 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20944 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20945 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20946 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20947 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20948 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20952 bool temp6
= false ;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 PyObject
* obj2
= 0 ;
20956 PyObject
* obj3
= 0 ;
20957 PyObject
* obj4
= 0 ;
20958 PyObject
* obj5
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20965 if (SWIG_arg_fail(1)) SWIG_fail
;
20968 arg2
= (int)(SWIG_As_int(obj1
));
20969 if (SWIG_arg_fail(2)) SWIG_fail
;
20975 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20981 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20986 arg5
= (long)(SWIG_As_long(obj4
));
20987 if (SWIG_arg_fail(5)) SWIG_fail
;
20992 arg6
= wxString_in_helper(obj5
);
20993 if (arg6
== NULL
) SWIG_fail
;
20998 if (!wxPyCheckForApp()) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21020 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21023 char *kwnames
[] = {
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21029 if (!wxPyCheckForApp()) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= (wxToolBar
*)new wxToolBar();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21043 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21046 wxWindow
*arg2
= (wxWindow
*) 0 ;
21047 int arg3
= (int) -1 ;
21048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21052 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21053 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21058 bool temp7
= false ;
21059 PyObject
* obj0
= 0 ;
21060 PyObject
* obj1
= 0 ;
21061 PyObject
* obj2
= 0 ;
21062 PyObject
* obj3
= 0 ;
21063 PyObject
* obj4
= 0 ;
21064 PyObject
* obj5
= 0 ;
21065 PyObject
* obj6
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21072 if (SWIG_arg_fail(1)) SWIG_fail
;
21073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21074 if (SWIG_arg_fail(2)) SWIG_fail
;
21077 arg3
= (int)(SWIG_As_int(obj2
));
21078 if (SWIG_arg_fail(3)) SWIG_fail
;
21084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21095 arg6
= (long)(SWIG_As_long(obj5
));
21096 if (SWIG_arg_fail(6)) SWIG_fail
;
21101 arg7
= wxString_in_helper(obj6
);
21102 if (arg7
== NULL
) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21130 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21135 wxToolBarToolBase
*result
;
21136 PyObject
* obj0
= 0 ;
21137 PyObject
* obj1
= 0 ;
21138 PyObject
* obj2
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self",(char *) "x",(char *) "y", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail
;
21147 arg2
= (int)(SWIG_As_int(obj1
));
21148 if (SWIG_arg_fail(2)) SWIG_fail
;
21151 arg3
= (int)(SWIG_As_int(obj2
));
21152 if (SWIG_arg_fail(3)) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= wxPyMake_wxObject(result
, 0);
21170 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21173 wxVisualAttributes result
;
21174 PyObject
* obj0
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "variant", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21182 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21183 if (SWIG_arg_fail(1)) SWIG_fail
;
21187 if (!wxPyCheckForApp()) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21195 wxVisualAttributes
* resultptr
;
21196 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21205 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21208 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21210 return Py_BuildValue((char *)"");
21212 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21213 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21218 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21223 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21225 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21232 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
;
21234 wxColour
const &arg1_defvalue
= wxNullColour
;
21235 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21236 wxColour
const &arg2_defvalue
= wxNullColour
;
21237 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21238 wxFont
const &arg3_defvalue
= wxNullFont
;
21239 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21240 wxListItemAttr
*result
;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 PyObject
* obj2
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21254 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21260 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21265 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21266 if (SWIG_arg_fail(3)) SWIG_fail
;
21267 if (arg3
== NULL
) {
21268 SWIG_null_ref("wxFont");
21270 if (SWIG_arg_fail(3)) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21287 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
;
21289 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21290 wxColour
*arg2
= 0 ;
21292 PyObject
* obj0
= 0 ;
21293 PyObject
* obj1
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self",(char *) "colText", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21300 if (SWIG_arg_fail(1)) SWIG_fail
;
21303 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21312 Py_INCREF(Py_None
); resultobj
= Py_None
;
21319 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
;
21321 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21322 wxColour
*arg2
= 0 ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char *kwnames
[] = {
21327 (char *) "self",(char *) "colBack", NULL
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21332 if (SWIG_arg_fail(1)) SWIG_fail
;
21335 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 Py_INCREF(Py_None
); resultobj
= Py_None
;
21351 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21353 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21355 PyObject
* obj0
= 0 ;
21356 PyObject
* obj1
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "self",(char *) "font", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21363 if (SWIG_arg_fail(1)) SWIG_fail
;
21365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21366 if (SWIG_arg_fail(2)) SWIG_fail
;
21367 if (arg2
== NULL
) {
21368 SWIG_null_ref("wxFont");
21370 if (SWIG_arg_fail(2)) SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 (arg1
)->SetFont((wxFont
const &)*arg2
);
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21379 Py_INCREF(Py_None
); resultobj
= Py_None
;
21386 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
;
21388 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21390 PyObject
* obj0
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21397 if (SWIG_arg_fail(1)) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 result
= (bool)(arg1
)->HasTextColour();
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21414 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 char *kwnames
[] = {
21420 (char *) "self", NULL
21423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21425 if (SWIG_arg_fail(1)) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (bool)(arg1
)->HasBackgroundColour();
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21442 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21446 PyObject
* obj0
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (bool)(arg1
)->HasFont();
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21470 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21474 PyObject
* obj0
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21481 if (SWIG_arg_fail(1)) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 result
= (arg1
)->GetTextColour();
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21490 wxColour
* resultptr
;
21491 resultptr
= new wxColour((wxColour
&)(result
));
21492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21500 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21504 PyObject
* obj0
= 0 ;
21505 char *kwnames
[] = {
21506 (char *) "self", NULL
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21511 if (SWIG_arg_fail(1)) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= (arg1
)->GetBackgroundColour();
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21520 wxColour
* resultptr
;
21521 resultptr
= new wxColour((wxColour
&)(result
));
21522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21530 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
;
21532 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21534 PyObject
* obj0
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21541 if (SWIG_arg_fail(1)) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (arg1
)->GetFont();
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 wxFont
* resultptr
;
21551 resultptr
= new wxFont((wxFont
&)(result
));
21552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21560 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21563 PyObject
* obj0
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21570 if (SWIG_arg_fail(1)) SWIG_fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 wxListItemAttr_Destroy(arg1
);
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 Py_INCREF(Py_None
); resultobj
= Py_None
;
21585 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21588 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21590 return Py_BuildValue((char *)"");
21592 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxListItem
*result
;
21595 char *kwnames
[] = {
21599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 result
= (wxListItem
*)new wxListItem();
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21608 resultobj
= wxPyMake_wxObject(result
, 1);
21616 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxListItem
*arg1
= (wxListItem
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21626 if (SWIG_arg_fail(1)) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 Py_INCREF(Py_None
); resultobj
= Py_None
;
21641 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxListItem
*arg1
= (wxListItem
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 Py_INCREF(Py_None
); resultobj
= Py_None
;
21666 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxListItem
*arg1
= (wxListItem
*) 0 ;
21669 PyObject
* obj0
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21676 if (SWIG_arg_fail(1)) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 (arg1
)->ClearAttributes();
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 Py_INCREF(Py_None
); resultobj
= Py_None
;
21691 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxListItem
*arg1
= (wxListItem
*) 0 ;
21695 PyObject
* obj0
= 0 ;
21696 PyObject
* obj1
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self",(char *) "mask", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21703 if (SWIG_arg_fail(1)) SWIG_fail
;
21705 arg2
= (long)(SWIG_As_long(obj1
));
21706 if (SWIG_arg_fail(2)) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 (arg1
)->SetMask(arg2
);
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21715 Py_INCREF(Py_None
); resultobj
= Py_None
;
21722 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
;
21724 wxListItem
*arg1
= (wxListItem
*) 0 ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char *kwnames
[] = {
21729 (char *) "self",(char *) "id", NULL
21732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21734 if (SWIG_arg_fail(1)) SWIG_fail
;
21736 arg2
= (long)(SWIG_As_long(obj1
));
21737 if (SWIG_arg_fail(2)) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 (arg1
)->SetId(arg2
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 Py_INCREF(Py_None
); resultobj
= Py_None
;
21753 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxListItem
*arg1
= (wxListItem
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 char *kwnames
[] = {
21760 (char *) "self",(char *) "col", NULL
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21765 if (SWIG_arg_fail(1)) SWIG_fail
;
21767 arg2
= (int)(SWIG_As_int(obj1
));
21768 if (SWIG_arg_fail(2)) SWIG_fail
;
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 (arg1
)->SetColumn(arg2
);
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 Py_INCREF(Py_None
); resultobj
= Py_None
;
21784 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxListItem
*arg1
= (wxListItem
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 char *kwnames
[] = {
21791 (char *) "self",(char *) "state", NULL
21794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21796 if (SWIG_arg_fail(1)) SWIG_fail
;
21798 arg2
= (long)(SWIG_As_long(obj1
));
21799 if (SWIG_arg_fail(2)) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 (arg1
)->SetState(arg2
);
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 Py_INCREF(Py_None
); resultobj
= Py_None
;
21815 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
;
21817 wxListItem
*arg1
= (wxListItem
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 char *kwnames
[] = {
21822 (char *) "self",(char *) "stateMask", NULL
21825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21827 if (SWIG_arg_fail(1)) SWIG_fail
;
21829 arg2
= (long)(SWIG_As_long(obj1
));
21830 if (SWIG_arg_fail(2)) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->SetStateMask(arg2
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 Py_INCREF(Py_None
); resultobj
= Py_None
;
21846 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxListItem
*arg1
= (wxListItem
*) 0 ;
21849 wxString
*arg2
= 0 ;
21850 bool temp2
= false ;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self",(char *) "text", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21859 if (SWIG_arg_fail(1)) SWIG_fail
;
21861 arg2
= wxString_in_helper(obj1
);
21862 if (arg2
== NULL
) SWIG_fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 (arg1
)->SetText((wxString
const &)*arg2
);
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 Py_INCREF(Py_None
); resultobj
= Py_None
;
21887 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
;
21889 wxListItem
*arg1
= (wxListItem
*) 0 ;
21891 PyObject
* obj0
= 0 ;
21892 PyObject
* obj1
= 0 ;
21893 char *kwnames
[] = {
21894 (char *) "self",(char *) "image", NULL
21897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21899 if (SWIG_arg_fail(1)) SWIG_fail
;
21901 arg2
= (int)(SWIG_As_int(obj1
));
21902 if (SWIG_arg_fail(2)) SWIG_fail
;
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 (arg1
)->SetImage(arg2
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 Py_INCREF(Py_None
); resultobj
= Py_None
;
21918 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
;
21920 wxListItem
*arg1
= (wxListItem
*) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "self",(char *) "data", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21930 if (SWIG_arg_fail(1)) SWIG_fail
;
21932 arg2
= (long)(SWIG_As_long(obj1
));
21933 if (SWIG_arg_fail(2)) SWIG_fail
;
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 (arg1
)->SetData(arg2
);
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 Py_INCREF(Py_None
); resultobj
= Py_None
;
21949 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
;
21951 wxListItem
*arg1
= (wxListItem
*) 0 ;
21953 PyObject
* obj0
= 0 ;
21954 PyObject
* obj1
= 0 ;
21955 char *kwnames
[] = {
21956 (char *) "self",(char *) "width", NULL
21959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21961 if (SWIG_arg_fail(1)) SWIG_fail
;
21963 arg2
= (int)(SWIG_As_int(obj1
));
21964 if (SWIG_arg_fail(2)) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 (arg1
)->SetWidth(arg2
);
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 Py_INCREF(Py_None
); resultobj
= Py_None
;
21980 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21982 wxListItem
*arg1
= (wxListItem
*) 0 ;
21983 wxListColumnFormat arg2
;
21984 PyObject
* obj0
= 0 ;
21985 PyObject
* obj1
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self",(char *) "align", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
21991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21992 if (SWIG_arg_fail(1)) SWIG_fail
;
21994 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
21995 if (SWIG_arg_fail(2)) SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 Py_INCREF(Py_None
); resultobj
= Py_None
;
22011 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxListItem
*arg1
= (wxListItem
*) 0 ;
22014 wxColour
*arg2
= 0 ;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self",(char *) "colText", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22024 if (SWIG_arg_fail(1)) SWIG_fail
;
22027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 Py_INCREF(Py_None
); resultobj
= Py_None
;
22043 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxListItem
*arg1
= (wxListItem
*) 0 ;
22046 wxColour
*arg2
= 0 ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self",(char *) "colBack", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22056 if (SWIG_arg_fail(1)) SWIG_fail
;
22059 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 Py_INCREF(Py_None
); resultobj
= Py_None
;
22075 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxListItem
*arg1
= (wxListItem
*) 0 ;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self",(char *) "font", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22087 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22090 if (SWIG_arg_fail(2)) SWIG_fail
;
22091 if (arg2
== NULL
) {
22092 SWIG_null_ref("wxFont");
22094 if (SWIG_arg_fail(2)) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 (arg1
)->SetFont((wxFont
const &)*arg2
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 Py_INCREF(Py_None
); resultobj
= Py_None
;
22110 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22112 wxListItem
*arg1
= (wxListItem
*) 0 ;
22114 PyObject
* obj0
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22121 if (SWIG_arg_fail(1)) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (long)(arg1
)->GetMask();
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= SWIG_From_long((long)(result
));
22138 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxListItem
*arg1
= (wxListItem
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22149 if (SWIG_arg_fail(1)) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (long)(arg1
)->GetId();
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= SWIG_From_long((long)(result
));
22166 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxListItem
*arg1
= (wxListItem
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "self", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22177 if (SWIG_arg_fail(1)) SWIG_fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 result
= (int)(arg1
)->GetColumn();
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= SWIG_From_int((int)(result
));
22194 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxListItem
*arg1
= (wxListItem
*) 0 ;
22198 PyObject
* obj0
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "self", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22205 if (SWIG_arg_fail(1)) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (long)(arg1
)->GetState();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= SWIG_From_long((long)(result
));
22222 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 wxListItem
*arg1
= (wxListItem
*) 0 ;
22226 PyObject
* obj0
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22233 if (SWIG_arg_fail(1)) SWIG_fail
;
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 wxString
const &_result_ref
= (arg1
)->GetText();
22238 result
= (wxString
*) &_result_ref
;
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22248 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22257 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxListItem
*arg1
= (wxListItem
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22268 if (SWIG_arg_fail(1)) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= (int)(arg1
)->GetImage();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= SWIG_From_int((int)(result
));
22285 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxListItem
*arg1
= (wxListItem
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= (long)(arg1
)->GetData();
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= SWIG_From_long((long)(result
));
22313 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxListItem
*arg1
= (wxListItem
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22324 if (SWIG_arg_fail(1)) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (int)(arg1
)->GetWidth();
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= SWIG_From_int((int)(result
));
22341 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
;
22343 wxListItem
*arg1
= (wxListItem
*) 0 ;
22344 wxListColumnFormat result
;
22345 PyObject
* obj0
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22352 if (SWIG_arg_fail(1)) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_From_int((result
));
22367 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxListItem
*arg1
= (wxListItem
*) 0 ;
22370 wxListItemAttr
*result
;
22371 PyObject
* obj0
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22378 if (SWIG_arg_fail(1)) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22393 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxListItem
*arg1
= (wxListItem
*) 0 ;
22397 PyObject
* obj0
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22404 if (SWIG_arg_fail(1)) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= (bool)(arg1
)->HasAttributes();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22421 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
;
22423 wxListItem
*arg1
= (wxListItem
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22432 if (SWIG_arg_fail(1)) SWIG_fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22441 wxColour
* resultptr
;
22442 resultptr
= new wxColour((wxColour
&)(result
));
22443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22451 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxListItem
*arg1
= (wxListItem
*) 0 ;
22455 PyObject
* obj0
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22462 if (SWIG_arg_fail(1)) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22471 wxColour
* resultptr
;
22472 resultptr
= new wxColour((wxColour
&)(result
));
22473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22481 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxListItem
*arg1
= (wxListItem
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22492 if (SWIG_arg_fail(1)) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= ((wxListItem
const *)arg1
)->GetFont();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22501 wxFont
* resultptr
;
22502 resultptr
= new wxFont((wxFont
&)(result
));
22503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22511 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxListItem
*arg1
= (wxListItem
*) 0 ;
22515 PyObject
* obj0
= 0 ;
22516 PyObject
* obj1
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "self",(char *) "m_mask", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22523 if (SWIG_arg_fail(1)) SWIG_fail
;
22525 arg2
= (long)(SWIG_As_long(obj1
));
22526 if (SWIG_arg_fail(2)) SWIG_fail
;
22528 if (arg1
) (arg1
)->m_mask
= arg2
;
22530 Py_INCREF(Py_None
); resultobj
= Py_None
;
22537 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxListItem
*arg1
= (wxListItem
*) 0 ;
22541 PyObject
* obj0
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22548 if (SWIG_arg_fail(1)) SWIG_fail
;
22549 result
= (long) ((arg1
)->m_mask
);
22552 resultobj
= SWIG_From_long((long)(result
));
22560 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxListItem
*arg1
= (wxListItem
*) 0 ;
22564 PyObject
* obj0
= 0 ;
22565 PyObject
* obj1
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self",(char *) "m_itemId", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22572 if (SWIG_arg_fail(1)) SWIG_fail
;
22574 arg2
= (long)(SWIG_As_long(obj1
));
22575 if (SWIG_arg_fail(2)) SWIG_fail
;
22577 if (arg1
) (arg1
)->m_itemId
= arg2
;
22579 Py_INCREF(Py_None
); resultobj
= Py_None
;
22586 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxListItem
*arg1
= (wxListItem
*) 0 ;
22590 PyObject
* obj0
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22597 if (SWIG_arg_fail(1)) SWIG_fail
;
22598 result
= (long) ((arg1
)->m_itemId
);
22601 resultobj
= SWIG_From_long((long)(result
));
22609 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
;
22611 wxListItem
*arg1
= (wxListItem
*) 0 ;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self",(char *) "m_col", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22621 if (SWIG_arg_fail(1)) SWIG_fail
;
22623 arg2
= (int)(SWIG_As_int(obj1
));
22624 if (SWIG_arg_fail(2)) SWIG_fail
;
22626 if (arg1
) (arg1
)->m_col
= arg2
;
22628 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22637 wxListItem
*arg1
= (wxListItem
*) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22646 if (SWIG_arg_fail(1)) SWIG_fail
;
22647 result
= (int) ((arg1
)->m_col
);
22650 resultobj
= SWIG_From_int((int)(result
));
22658 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxListItem
*arg1
= (wxListItem
*) 0 ;
22662 PyObject
* obj0
= 0 ;
22663 PyObject
* obj1
= 0 ;
22664 char *kwnames
[] = {
22665 (char *) "self",(char *) "m_state", NULL
22668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22670 if (SWIG_arg_fail(1)) SWIG_fail
;
22672 arg2
= (long)(SWIG_As_long(obj1
));
22673 if (SWIG_arg_fail(2)) SWIG_fail
;
22675 if (arg1
) (arg1
)->m_state
= arg2
;
22677 Py_INCREF(Py_None
); resultobj
= Py_None
;
22684 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxListItem
*arg1
= (wxListItem
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22695 if (SWIG_arg_fail(1)) SWIG_fail
;
22696 result
= (long) ((arg1
)->m_state
);
22699 resultobj
= SWIG_From_long((long)(result
));
22707 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxListItem
*arg1
= (wxListItem
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self",(char *) "m_stateMask", NULL
22717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22719 if (SWIG_arg_fail(1)) SWIG_fail
;
22721 arg2
= (long)(SWIG_As_long(obj1
));
22722 if (SWIG_arg_fail(2)) SWIG_fail
;
22724 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22726 Py_INCREF(Py_None
); resultobj
= Py_None
;
22733 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxListItem
*arg1
= (wxListItem
*) 0 ;
22737 PyObject
* obj0
= 0 ;
22738 char *kwnames
[] = {
22739 (char *) "self", NULL
22742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22744 if (SWIG_arg_fail(1)) SWIG_fail
;
22745 result
= (long) ((arg1
)->m_stateMask
);
22748 resultobj
= SWIG_From_long((long)(result
));
22756 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxListItem
*arg1
= (wxListItem
*) 0 ;
22759 wxString
*arg2
= (wxString
*) 0 ;
22760 bool temp2
= false ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self",(char *) "m_text", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail
;
22771 arg2
= wxString_in_helper(obj1
);
22772 if (arg2
== NULL
) SWIG_fail
;
22775 if (arg1
) (arg1
)->m_text
= *arg2
;
22777 Py_INCREF(Py_None
); resultobj
= Py_None
;
22792 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxListItem
*arg1
= (wxListItem
*) 0 ;
22796 PyObject
* obj0
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "self", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22803 if (SWIG_arg_fail(1)) SWIG_fail
;
22804 result
= (wxString
*)& ((arg1
)->m_text
);
22808 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22810 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22819 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
;
22821 wxListItem
*arg1
= (wxListItem
*) 0 ;
22823 PyObject
* obj0
= 0 ;
22824 PyObject
* obj1
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self",(char *) "m_image", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail
;
22833 arg2
= (int)(SWIG_As_int(obj1
));
22834 if (SWIG_arg_fail(2)) SWIG_fail
;
22836 if (arg1
) (arg1
)->m_image
= arg2
;
22838 Py_INCREF(Py_None
); resultobj
= Py_None
;
22845 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxListItem
*arg1
= (wxListItem
*) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22856 if (SWIG_arg_fail(1)) SWIG_fail
;
22857 result
= (int) ((arg1
)->m_image
);
22860 resultobj
= SWIG_From_int((int)(result
));
22868 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22869 PyObject
*resultobj
;
22870 wxListItem
*arg1
= (wxListItem
*) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 PyObject
* obj1
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self",(char *) "m_data", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22880 if (SWIG_arg_fail(1)) SWIG_fail
;
22882 arg2
= (long)(SWIG_As_long(obj1
));
22883 if (SWIG_arg_fail(2)) SWIG_fail
;
22885 if (arg1
) (arg1
)->m_data
= arg2
;
22887 Py_INCREF(Py_None
); resultobj
= Py_None
;
22894 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxListItem
*arg1
= (wxListItem
*) 0 ;
22898 PyObject
* obj0
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22905 if (SWIG_arg_fail(1)) SWIG_fail
;
22906 result
= (long) ((arg1
)->m_data
);
22909 resultobj
= SWIG_From_long((long)(result
));
22917 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22919 wxListItem
*arg1
= (wxListItem
*) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self",(char *) "m_format", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22929 if (SWIG_arg_fail(1)) SWIG_fail
;
22931 arg2
= (int)(SWIG_As_int(obj1
));
22932 if (SWIG_arg_fail(2)) SWIG_fail
;
22934 if (arg1
) (arg1
)->m_format
= arg2
;
22936 Py_INCREF(Py_None
); resultobj
= Py_None
;
22943 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22945 wxListItem
*arg1
= (wxListItem
*) 0 ;
22947 PyObject
* obj0
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "self", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22954 if (SWIG_arg_fail(1)) SWIG_fail
;
22955 result
= (int) ((arg1
)->m_format
);
22958 resultobj
= SWIG_From_int((int)(result
));
22966 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
;
22968 wxListItem
*arg1
= (wxListItem
*) 0 ;
22970 PyObject
* obj0
= 0 ;
22971 PyObject
* obj1
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self",(char *) "m_width", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail
;
22980 arg2
= (int)(SWIG_As_int(obj1
));
22981 if (SWIG_arg_fail(2)) SWIG_fail
;
22983 if (arg1
) (arg1
)->m_width
= arg2
;
22985 Py_INCREF(Py_None
); resultobj
= Py_None
;
22992 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
;
22994 wxListItem
*arg1
= (wxListItem
*) 0 ;
22996 PyObject
* obj0
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23003 if (SWIG_arg_fail(1)) SWIG_fail
;
23004 result
= (int) ((arg1
)->m_width
);
23007 resultobj
= SWIG_From_int((int)(result
));
23015 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23018 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23020 return Py_BuildValue((char *)"");
23022 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23024 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23025 int arg2
= (int) 0 ;
23026 wxListEvent
*result
;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23029 char *kwnames
[] = {
23030 (char *) "commandType",(char *) "id", NULL
23033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23036 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23037 if (SWIG_arg_fail(1)) SWIG_fail
;
23042 arg2
= (int)(SWIG_As_int(obj1
));
23043 if (SWIG_arg_fail(2)) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23060 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 PyObject
* obj1
= 0 ;
23066 char *kwnames
[] = {
23067 (char *) "self",(char *) "m_code", NULL
23070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23072 if (SWIG_arg_fail(1)) SWIG_fail
;
23074 arg2
= (int)(SWIG_As_int(obj1
));
23075 if (SWIG_arg_fail(2)) SWIG_fail
;
23077 if (arg1
) (arg1
)->m_code
= arg2
;
23079 Py_INCREF(Py_None
); resultobj
= Py_None
;
23086 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23097 if (SWIG_arg_fail(1)) SWIG_fail
;
23098 result
= (int) ((arg1
)->m_code
);
23101 resultobj
= SWIG_From_int((int)(result
));
23109 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23110 PyObject
*resultobj
;
23111 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23113 PyObject
* obj0
= 0 ;
23114 PyObject
* obj1
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "self",(char *) "m_oldItemIndex", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23121 if (SWIG_arg_fail(1)) SWIG_fail
;
23123 arg2
= (long)(SWIG_As_long(obj1
));
23124 if (SWIG_arg_fail(2)) SWIG_fail
;
23126 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23128 Py_INCREF(Py_None
); resultobj
= Py_None
;
23135 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23137 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23139 PyObject
* obj0
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "self", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23146 if (SWIG_arg_fail(1)) SWIG_fail
;
23147 result
= (long) ((arg1
)->m_oldItemIndex
);
23150 resultobj
= SWIG_From_long((long)(result
));
23158 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self",(char *) "m_itemIndex", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23170 if (SWIG_arg_fail(1)) SWIG_fail
;
23172 arg2
= (long)(SWIG_As_long(obj1
));
23173 if (SWIG_arg_fail(2)) SWIG_fail
;
23175 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23177 Py_INCREF(Py_None
); resultobj
= Py_None
;
23184 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
;
23186 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23188 PyObject
* obj0
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23195 if (SWIG_arg_fail(1)) SWIG_fail
;
23196 result
= (long) ((arg1
)->m_itemIndex
);
23199 resultobj
= SWIG_From_long((long)(result
));
23207 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23211 PyObject
* obj0
= 0 ;
23212 PyObject
* obj1
= 0 ;
23213 char *kwnames
[] = {
23214 (char *) "self",(char *) "m_col", NULL
23217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23219 if (SWIG_arg_fail(1)) SWIG_fail
;
23221 arg2
= (int)(SWIG_As_int(obj1
));
23222 if (SWIG_arg_fail(2)) SWIG_fail
;
23224 if (arg1
) (arg1
)->m_col
= arg2
;
23226 Py_INCREF(Py_None
); resultobj
= Py_None
;
23233 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23237 PyObject
* obj0
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23244 if (SWIG_arg_fail(1)) SWIG_fail
;
23245 result
= (int) ((arg1
)->m_col
);
23248 resultobj
= SWIG_From_int((int)(result
));
23256 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23259 wxPoint
*arg2
= (wxPoint
*) 0 ;
23260 PyObject
* obj0
= 0 ;
23261 PyObject
* obj1
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self",(char *) "m_pointDrag", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23268 if (SWIG_arg_fail(1)) SWIG_fail
;
23269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23270 if (SWIG_arg_fail(2)) SWIG_fail
;
23271 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23273 Py_INCREF(Py_None
); resultobj
= Py_None
;
23280 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23282 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23284 PyObject
* obj0
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "self", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23291 if (SWIG_arg_fail(1)) SWIG_fail
;
23292 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23301 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23304 wxListItem
*result
;
23305 PyObject
* obj0
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23312 if (SWIG_arg_fail(1)) SWIG_fail
;
23313 result
= (wxListItem
*)& ((arg1
)->m_item
);
23316 resultobj
= wxPyMake_wxObject(result
, 0);
23324 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23328 PyObject
* obj0
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail
;
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 result
= (int)(arg1
)->GetKeyCode();
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23344 resultobj
= SWIG_From_int((int)(result
));
23352 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23356 PyObject
* obj0
= 0 ;
23357 char *kwnames
[] = {
23358 (char *) "self", NULL
23361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23363 if (SWIG_arg_fail(1)) SWIG_fail
;
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (long)(arg1
)->GetIndex();
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23372 resultobj
= SWIG_From_long((long)(result
));
23380 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
;
23382 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23384 PyObject
* obj0
= 0 ;
23385 char *kwnames
[] = {
23386 (char *) "self", NULL
23389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23391 if (SWIG_arg_fail(1)) SWIG_fail
;
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= (int)(arg1
)->GetColumn();
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= SWIG_From_int((int)(result
));
23408 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
;
23410 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23412 PyObject
* obj0
= 0 ;
23413 char *kwnames
[] = {
23414 (char *) "self", NULL
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23419 if (SWIG_arg_fail(1)) SWIG_fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 result
= (arg1
)->GetPoint();
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23428 wxPoint
* resultptr
;
23429 resultptr
= new wxPoint((wxPoint
&)(result
));
23430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23438 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23442 PyObject
* obj0
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23449 if (SWIG_arg_fail(1)) SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 wxString
const &_result_ref
= (arg1
)->GetLabel();
23454 result
= (wxString
*) &_result_ref
;
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23464 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23473 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
;
23475 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23477 PyObject
* obj0
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23484 if (SWIG_arg_fail(1)) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 wxString
const &_result_ref
= (arg1
)->GetText();
23489 result
= (wxString
*) &_result_ref
;
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23499 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23508 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23512 PyObject
* obj0
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23519 if (SWIG_arg_fail(1)) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 result
= (int)(arg1
)->GetImage();
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_From_int((int)(result
));
23536 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23540 PyObject
* obj0
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23547 if (SWIG_arg_fail(1)) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 result
= (long)(arg1
)->GetData();
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= SWIG_From_long((long)(result
));
23564 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
;
23566 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23568 PyObject
* obj0
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "self", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23575 if (SWIG_arg_fail(1)) SWIG_fail
;
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 result
= (long)(arg1
)->GetMask();
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_From_long((long)(result
));
23592 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23595 wxListItem
*result
;
23596 PyObject
* obj0
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23603 if (SWIG_arg_fail(1)) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23608 result
= (wxListItem
*) &_result_ref
;
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23621 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23625 PyObject
* obj0
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23632 if (SWIG_arg_fail(1)) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (long)(arg1
)->GetCacheFrom();
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= SWIG_From_long((long)(result
));
23649 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23660 if (SWIG_arg_fail(1)) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= (long)(arg1
)->GetCacheTo();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= SWIG_From_long((long)(result
));
23677 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23681 PyObject
* obj0
= 0 ;
23682 char *kwnames
[] = {
23683 (char *) "self", NULL
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23688 if (SWIG_arg_fail(1)) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23705 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23709 PyObject
* obj0
= 0 ;
23710 PyObject
* obj1
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self",(char *) "editCancelled", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23717 if (SWIG_arg_fail(1)) SWIG_fail
;
23719 arg2
= (bool)(SWIG_As_bool(obj1
));
23720 if (SWIG_arg_fail(2)) SWIG_fail
;
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 (arg1
)->SetEditCanceled(arg2
);
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 Py_INCREF(Py_None
); resultobj
= Py_None
;
23736 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23739 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23741 return Py_BuildValue((char *)"");
23743 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxWindow
*arg1
= (wxWindow
*) 0 ;
23746 int arg2
= (int) -1 ;
23747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23751 long arg5
= (long) wxLC_ICON
;
23752 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23753 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23754 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23755 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23756 wxPyListCtrl
*result
;
23759 bool temp7
= false ;
23760 PyObject
* obj0
= 0 ;
23761 PyObject
* obj1
= 0 ;
23762 PyObject
* obj2
= 0 ;
23763 PyObject
* obj3
= 0 ;
23764 PyObject
* obj4
= 0 ;
23765 PyObject
* obj5
= 0 ;
23766 PyObject
* obj6
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23773 if (SWIG_arg_fail(1)) SWIG_fail
;
23776 arg2
= (int)(SWIG_As_int(obj1
));
23777 if (SWIG_arg_fail(2)) SWIG_fail
;
23783 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23789 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23794 arg5
= (long)(SWIG_As_long(obj4
));
23795 if (SWIG_arg_fail(5)) SWIG_fail
;
23800 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23801 if (SWIG_arg_fail(6)) SWIG_fail
;
23802 if (arg6
== NULL
) {
23803 SWIG_null_ref("wxValidator");
23805 if (SWIG_arg_fail(6)) SWIG_fail
;
23810 arg7
= wxString_in_helper(obj6
);
23811 if (arg7
== NULL
) SWIG_fail
;
23816 if (!wxPyCheckForApp()) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23838 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23840 wxPyListCtrl
*result
;
23841 char *kwnames
[] = {
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23847 if (!wxPyCheckForApp()) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23861 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
;
23863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23864 wxWindow
*arg2
= (wxWindow
*) 0 ;
23865 int arg3
= (int) -1 ;
23866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23870 long arg6
= (long) wxLC_ICON
;
23871 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23872 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23873 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23874 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23878 bool temp8
= false ;
23879 PyObject
* obj0
= 0 ;
23880 PyObject
* obj1
= 0 ;
23881 PyObject
* obj2
= 0 ;
23882 PyObject
* obj3
= 0 ;
23883 PyObject
* obj4
= 0 ;
23884 PyObject
* obj5
= 0 ;
23885 PyObject
* obj6
= 0 ;
23886 PyObject
* obj7
= 0 ;
23887 char *kwnames
[] = {
23888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23893 if (SWIG_arg_fail(1)) SWIG_fail
;
23894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23895 if (SWIG_arg_fail(2)) SWIG_fail
;
23898 arg3
= (int)(SWIG_As_int(obj2
));
23899 if (SWIG_arg_fail(3)) SWIG_fail
;
23905 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23911 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23916 arg6
= (long)(SWIG_As_long(obj5
));
23917 if (SWIG_arg_fail(6)) SWIG_fail
;
23922 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23923 if (SWIG_arg_fail(7)) SWIG_fail
;
23924 if (arg7
== NULL
) {
23925 SWIG_null_ref("wxValidator");
23927 if (SWIG_arg_fail(7)) SWIG_fail
;
23932 arg8
= wxString_in_helper(obj7
);
23933 if (arg8
== NULL
) SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23961 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
;
23963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23964 PyObject
*arg2
= (PyObject
*) 0 ;
23965 PyObject
*arg3
= (PyObject
*) 0 ;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 PyObject
* obj2
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self",(char *) "self",(char *) "_class", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23975 if (SWIG_arg_fail(1)) SWIG_fail
;
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 Py_INCREF(Py_None
); resultobj
= Py_None
;
23992 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
;
23994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23995 wxColour
*arg2
= 0 ;
23998 PyObject
* obj0
= 0 ;
23999 PyObject
* obj1
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self",(char *) "col", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24006 if (SWIG_arg_fail(1)) SWIG_fail
;
24009 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24027 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24030 wxColour
*arg2
= 0 ;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 char *kwnames
[] = {
24036 (char *) "self",(char *) "col", NULL
24039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24041 if (SWIG_arg_fail(1)) SWIG_fail
;
24044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24062 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24066 wxListItem
*result
;
24067 PyObject
* obj0
= 0 ;
24068 PyObject
* obj1
= 0 ;
24069 char *kwnames
[] = {
24070 (char *) "self",(char *) "col", NULL
24073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24075 if (SWIG_arg_fail(1)) SWIG_fail
;
24077 arg2
= (int)(SWIG_As_int(obj1
));
24078 if (SWIG_arg_fail(2)) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24088 resultobj
= wxPyMake_wxObject(result
, 0);
24096 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24100 wxListItem
*arg3
= 0 ;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 PyObject
* obj2
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self",(char *) "col",(char *) "item", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24111 if (SWIG_arg_fail(1)) SWIG_fail
;
24113 arg2
= (int)(SWIG_As_int(obj1
));
24114 if (SWIG_arg_fail(2)) SWIG_fail
;
24117 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24118 if (SWIG_arg_fail(3)) SWIG_fail
;
24119 if (arg3
== NULL
) {
24120 SWIG_null_ref("wxListItem");
24122 if (SWIG_arg_fail(3)) SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24140 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 PyObject
* obj1
= 0 ;
24147 char *kwnames
[] = {
24148 (char *) "self",(char *) "col", NULL
24151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24153 if (SWIG_arg_fail(1)) SWIG_fail
;
24155 arg2
= (int)(SWIG_As_int(obj1
));
24156 if (SWIG_arg_fail(2)) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_From_int((int)(result
));
24174 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 PyObject
* obj2
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self",(char *) "col",(char *) "width", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24189 if (SWIG_arg_fail(1)) SWIG_fail
;
24191 arg2
= (int)(SWIG_As_int(obj1
));
24192 if (SWIG_arg_fail(2)) SWIG_fail
;
24195 arg3
= (int)(SWIG_As_int(obj2
));
24196 if (SWIG_arg_fail(3)) SWIG_fail
;
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24214 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
;
24216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24218 PyObject
* obj0
= 0 ;
24219 char *kwnames
[] = {
24220 (char *) "self", NULL
24223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24225 if (SWIG_arg_fail(1)) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24234 resultobj
= SWIG_From_int((int)(result
));
24242 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24243 PyObject
*resultobj
;
24244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24246 PyObject
* obj0
= 0 ;
24247 char *kwnames
[] = {
24248 (char *) "self", NULL
24251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24253 if (SWIG_arg_fail(1)) SWIG_fail
;
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24262 wxRect
* resultptr
;
24263 resultptr
= new wxRect((wxRect
&)(result
));
24264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24272 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24276 int arg3
= (int) 0 ;
24277 wxListItem
*result
;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 PyObject
* obj2
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self",(char *) "itemId",(char *) "col", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24287 if (SWIG_arg_fail(1)) SWIG_fail
;
24289 arg2
= (long)(SWIG_As_long(obj1
));
24290 if (SWIG_arg_fail(2)) SWIG_fail
;
24294 arg3
= (int)(SWIG_As_int(obj2
));
24295 if (SWIG_arg_fail(3)) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24306 resultobj
= wxPyMake_wxObject(result
, 0);
24314 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24317 wxListItem
*arg2
= 0 ;
24319 PyObject
* obj0
= 0 ;
24320 PyObject
* obj1
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self",(char *) "info", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24327 if (SWIG_arg_fail(1)) SWIG_fail
;
24329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24330 if (SWIG_arg_fail(2)) SWIG_fail
;
24331 if (arg2
== NULL
) {
24332 SWIG_null_ref("wxListItem");
24334 if (SWIG_arg_fail(2)) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= (bool)(arg1
)->SetItem(*arg2
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24352 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24357 wxString
*arg4
= 0 ;
24358 int arg5
= (int) -1 ;
24360 bool temp4
= false ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 PyObject
* obj2
= 0 ;
24364 PyObject
* obj3
= 0 ;
24365 PyObject
* obj4
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24372 if (SWIG_arg_fail(1)) SWIG_fail
;
24374 arg2
= (long)(SWIG_As_long(obj1
));
24375 if (SWIG_arg_fail(2)) SWIG_fail
;
24378 arg3
= (int)(SWIG_As_int(obj2
));
24379 if (SWIG_arg_fail(3)) SWIG_fail
;
24382 arg4
= wxString_in_helper(obj3
);
24383 if (arg4
== NULL
) SWIG_fail
;
24388 arg5
= (int)(SWIG_As_int(obj4
));
24389 if (SWIG_arg_fail(5)) SWIG_fail
;
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= SWIG_From_long((long)(result
));
24416 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24418 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 PyObject
* obj2
= 0 ;
24425 char *kwnames
[] = {
24426 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24431 if (SWIG_arg_fail(1)) SWIG_fail
;
24433 arg2
= (long)(SWIG_As_long(obj1
));
24434 if (SWIG_arg_fail(2)) SWIG_fail
;
24437 arg3
= (long)(SWIG_As_long(obj2
));
24438 if (SWIG_arg_fail(3)) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24448 resultobj
= SWIG_From_int((int)(result
));
24456 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 PyObject
* obj1
= 0 ;
24465 PyObject
* obj2
= 0 ;
24466 PyObject
* obj3
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24473 if (SWIG_arg_fail(1)) SWIG_fail
;
24475 arg2
= (long)(SWIG_As_long(obj1
));
24476 if (SWIG_arg_fail(2)) SWIG_fail
;
24479 arg3
= (long)(SWIG_As_long(obj2
));
24480 if (SWIG_arg_fail(3)) SWIG_fail
;
24483 arg4
= (long)(SWIG_As_long(obj3
));
24484 if (SWIG_arg_fail(4)) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24502 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24507 int arg4
= (int) -1 ;
24509 PyObject
* obj0
= 0 ;
24510 PyObject
* obj1
= 0 ;
24511 PyObject
* obj2
= 0 ;
24512 PyObject
* obj3
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24519 if (SWIG_arg_fail(1)) SWIG_fail
;
24521 arg2
= (long)(SWIG_As_long(obj1
));
24522 if (SWIG_arg_fail(2)) SWIG_fail
;
24525 arg3
= (int)(SWIG_As_int(obj2
));
24526 if (SWIG_arg_fail(3)) SWIG_fail
;
24530 arg4
= (int)(SWIG_As_int(obj3
));
24531 if (SWIG_arg_fail(4)) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24550 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self",(char *) "item", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24563 if (SWIG_arg_fail(1)) SWIG_fail
;
24565 arg2
= (long)(SWIG_As_long(obj1
));
24566 if (SWIG_arg_fail(2)) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24588 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
;
24590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24592 wxString
*arg3
= 0 ;
24593 bool temp3
= false ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 PyObject
* obj2
= 0 ;
24597 char *kwnames
[] = {
24598 (char *) "self",(char *) "item",(char *) "str", NULL
24601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24603 if (SWIG_arg_fail(1)) SWIG_fail
;
24605 arg2
= (long)(SWIG_As_long(obj1
));
24606 if (SWIG_arg_fail(2)) SWIG_fail
;
24609 arg3
= wxString_in_helper(obj2
);
24610 if (arg3
== NULL
) SWIG_fail
;
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24620 Py_INCREF(Py_None
); resultobj
= Py_None
;
24635 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24640 PyObject
* obj0
= 0 ;
24641 PyObject
* obj1
= 0 ;
24642 char *kwnames
[] = {
24643 (char *) "self",(char *) "item", NULL
24646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24648 if (SWIG_arg_fail(1)) SWIG_fail
;
24650 arg2
= (long)(SWIG_As_long(obj1
));
24651 if (SWIG_arg_fail(2)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= SWIG_From_long((long)(result
));
24669 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 PyObject
* obj1
= 0 ;
24677 PyObject
* obj2
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self",(char *) "item",(char *) "data", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (long)(SWIG_As_long(obj2
));
24691 if (SWIG_arg_fail(3)) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24709 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24714 PyObject
* obj0
= 0 ;
24715 PyObject
* obj1
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "self",(char *) "item", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) 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
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24735 wxPoint
* resultptr
;
24736 resultptr
= new wxPoint((wxPoint
&)(result
));
24737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24745 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24749 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24751 PyObject
* obj0
= 0 ;
24752 PyObject
* obj1
= 0 ;
24753 PyObject
* obj2
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self",(char *) "item",(char *) "code", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24760 if (SWIG_arg_fail(1)) SWIG_fail
;
24762 arg2
= (long)(SWIG_As_long(obj1
));
24763 if (SWIG_arg_fail(2)) SWIG_fail
;
24767 arg3
= (int)(SWIG_As_int(obj2
));
24768 if (SWIG_arg_fail(3)) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 wxRect
* resultptr
;
24780 resultptr
= new wxRect((wxRect
&)(result
));
24781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24789 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
;
24791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24793 wxPoint
*arg3
= 0 ;
24796 PyObject
* obj0
= 0 ;
24797 PyObject
* obj1
= 0 ;
24798 PyObject
* obj2
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self",(char *) "item",(char *) "pos", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24805 if (SWIG_arg_fail(1)) SWIG_fail
;
24807 arg2
= (long)(SWIG_As_long(obj1
));
24808 if (SWIG_arg_fail(2)) SWIG_fail
;
24812 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24830 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= SWIG_From_int((int)(result
));
24858 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 char *kwnames
[] = {
24864 (char *) "self", NULL
24867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24869 if (SWIG_arg_fail(1)) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_From_int((int)(result
));
24886 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24890 PyObject
* obj0
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24897 if (SWIG_arg_fail(1)) SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24906 wxSize
* resultptr
;
24907 resultptr
= new wxSize((wxSize
&)(result
));
24908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24916 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24920 bool arg3
= (bool) false ;
24921 PyObject
* obj0
= 0 ;
24922 PyObject
* obj1
= 0 ;
24923 PyObject
* obj2
= 0 ;
24924 char *kwnames
[] = {
24925 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24930 if (SWIG_arg_fail(1)) SWIG_fail
;
24932 arg2
= (int)(SWIG_As_int(obj1
));
24933 if (SWIG_arg_fail(2)) SWIG_fail
;
24937 arg3
= (bool)(SWIG_As_bool(obj2
));
24938 if (SWIG_arg_fail(3)) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 (arg1
)->SetItemSpacing(arg2
,arg3
);
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 Py_INCREF(Py_None
); resultobj
= Py_None
;
24955 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24959 PyObject
* obj0
= 0 ;
24960 char *kwnames
[] = {
24961 (char *) "self", NULL
24964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24966 if (SWIG_arg_fail(1)) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= SWIG_From_int((int)(result
));
24983 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24987 PyObject
* obj0
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24994 if (SWIG_arg_fail(1)) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25003 wxColour
* resultptr
;
25004 resultptr
= new wxColour((wxColour
&)(result
));
25005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25013 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
;
25015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25016 wxColour
*arg2
= 0 ;
25018 PyObject
* obj0
= 0 ;
25019 PyObject
* obj1
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self",(char *) "col", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail
;
25029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25038 Py_INCREF(Py_None
); resultobj
= Py_None
;
25045 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25046 PyObject
*resultobj
;
25047 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25049 PyObject
* obj0
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "self", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25056 if (SWIG_arg_fail(1)) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_From_long((long)(result
));
25073 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25077 bool arg3
= (bool) true ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 PyObject
* obj2
= 0 ;
25081 char *kwnames
[] = {
25082 (char *) "self",(char *) "style",(char *) "add", NULL
25085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25087 if (SWIG_arg_fail(1)) SWIG_fail
;
25089 arg2
= (long)(SWIG_As_long(obj1
));
25090 if (SWIG_arg_fail(2)) SWIG_fail
;
25094 arg3
= (bool)(SWIG_As_bool(obj2
));
25095 if (SWIG_arg_fail(3)) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 (arg1
)->SetSingleStyle(arg2
,arg3
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 Py_INCREF(Py_None
); resultobj
= Py_None
;
25112 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25116 PyObject
* obj0
= 0 ;
25117 PyObject
* obj1
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self",(char *) "style", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25124 if (SWIG_arg_fail(1)) SWIG_fail
;
25126 arg2
= (long)(SWIG_As_long(obj1
));
25127 if (SWIG_arg_fail(2)) SWIG_fail
;
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 (arg1
)->SetWindowStyleFlag(arg2
);
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 Py_INCREF(Py_None
); resultobj
= Py_None
;
25143 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25144 PyObject
*resultobj
;
25145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25147 int arg3
= (int) wxLIST_NEXT_ALL
;
25148 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25150 PyObject
* obj0
= 0 ;
25151 PyObject
* obj1
= 0 ;
25152 PyObject
* obj2
= 0 ;
25153 PyObject
* obj3
= 0 ;
25154 char *kwnames
[] = {
25155 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25160 if (SWIG_arg_fail(1)) SWIG_fail
;
25162 arg2
= (long)(SWIG_As_long(obj1
));
25163 if (SWIG_arg_fail(2)) SWIG_fail
;
25167 arg3
= (int)(SWIG_As_int(obj2
));
25168 if (SWIG_arg_fail(3)) SWIG_fail
;
25173 arg4
= (int)(SWIG_As_int(obj3
));
25174 if (SWIG_arg_fail(4)) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_From_long((long)(result
));
25193 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25197 wxImageList
*result
;
25198 PyObject
* obj0
= 0 ;
25199 PyObject
* obj1
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self",(char *) "which", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25206 if (SWIG_arg_fail(1)) SWIG_fail
;
25208 arg2
= (int)(SWIG_As_int(obj1
));
25209 if (SWIG_arg_fail(2)) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= wxPyMake_wxObject(result
, 0);
25227 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25230 wxImageList
*arg2
= (wxImageList
*) 0 ;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 PyObject
* obj2
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self",(char *) "imageList",(char *) "which", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25241 if (SWIG_arg_fail(1)) SWIG_fail
;
25242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25243 if (SWIG_arg_fail(2)) SWIG_fail
;
25245 arg3
= (int)(SWIG_As_int(obj2
));
25246 if (SWIG_arg_fail(3)) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 (arg1
)->SetImageList(arg2
,arg3
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 Py_INCREF(Py_None
); resultobj
= Py_None
;
25262 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25263 PyObject
*resultobj
;
25264 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25265 wxImageList
*arg2
= (wxImageList
*) 0 ;
25267 PyObject
* obj0
= 0 ;
25268 PyObject
* obj1
= 0 ;
25269 PyObject
* obj2
= 0 ;
25270 char *kwnames
[] = {
25271 (char *) "self",(char *) "imageList",(char *) "which", NULL
25274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25276 if (SWIG_arg_fail(1)) SWIG_fail
;
25277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25278 if (SWIG_arg_fail(2)) SWIG_fail
;
25280 arg3
= (int)(SWIG_As_int(obj2
));
25281 if (SWIG_arg_fail(3)) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 (arg1
)->AssignImageList(arg2
,arg3
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 Py_INCREF(Py_None
); resultobj
= Py_None
;
25297 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25301 PyObject
* obj0
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "self", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25325 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25329 PyObject
* obj0
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "self", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25336 if (SWIG_arg_fail(1)) SWIG_fail
;
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25353 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self",(char *) "item", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25365 if (SWIG_arg_fail(1)) SWIG_fail
;
25367 arg2
= (long)(SWIG_As_long(obj1
));
25368 if (SWIG_arg_fail(2)) SWIG_fail
;
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 (arg1
)->RefreshItem(arg2
);
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 Py_INCREF(Py_None
); resultobj
= Py_None
;
25384 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
;
25386 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25389 PyObject
* obj0
= 0 ;
25390 PyObject
* obj1
= 0 ;
25391 PyObject
* obj2
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25398 if (SWIG_arg_fail(1)) SWIG_fail
;
25400 arg2
= (long)(SWIG_As_long(obj1
));
25401 if (SWIG_arg_fail(2)) SWIG_fail
;
25404 arg3
= (long)(SWIG_As_long(obj2
));
25405 if (SWIG_arg_fail(3)) SWIG_fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 (arg1
)->RefreshItems(arg2
,arg3
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 Py_INCREF(Py_None
); resultobj
= Py_None
;
25421 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25424 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self",(char *) "flag", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25434 if (SWIG_arg_fail(1)) SWIG_fail
;
25437 arg2
= (int)(SWIG_As_int(obj1
));
25438 if (SWIG_arg_fail(2)) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= (bool)(arg1
)->Arrange(arg2
);
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25457 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
;
25459 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25462 PyObject
* obj0
= 0 ;
25463 PyObject
* obj1
= 0 ;
25464 char *kwnames
[] = {
25465 (char *) "self",(char *) "item", NULL
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25470 if (SWIG_arg_fail(1)) SWIG_fail
;
25472 arg2
= (long)(SWIG_As_long(obj1
));
25473 if (SWIG_arg_fail(2)) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 result
= (bool)(arg1
)->DeleteItem(arg2
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25491 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25502 if (SWIG_arg_fail(1)) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (bool)(arg1
)->DeleteAllItems();
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25519 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
;
25521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 char *kwnames
[] = {
25527 (char *) "self",(char *) "col", NULL
25530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25532 if (SWIG_arg_fail(1)) SWIG_fail
;
25534 arg2
= (int)(SWIG_As_int(obj1
));
25535 if (SWIG_arg_fail(2)) SWIG_fail
;
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25553 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
;
25555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25557 PyObject
* obj0
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "self", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25564 if (SWIG_arg_fail(1)) SWIG_fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 result
= (bool)(arg1
)->DeleteAllColumns();
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25581 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25584 PyObject
* obj0
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25591 if (SWIG_arg_fail(1)) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 (arg1
)->ClearAll();
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 Py_INCREF(Py_None
); resultobj
= Py_None
;
25606 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 PyObject
* obj1
= 0 ;
25612 char *kwnames
[] = {
25613 (char *) "self",(char *) "item", NULL
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25618 if (SWIG_arg_fail(1)) SWIG_fail
;
25620 arg2
= (long)(SWIG_As_long(obj1
));
25621 if (SWIG_arg_fail(2)) SWIG_fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 (arg1
)->EditLabel(arg2
);
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 Py_INCREF(Py_None
); resultobj
= Py_None
;
25637 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
;
25639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 char *kwnames
[] = {
25645 (char *) "self",(char *) "item", NULL
25648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25650 if (SWIG_arg_fail(1)) SWIG_fail
;
25652 arg2
= (long)(SWIG_As_long(obj1
));
25653 if (SWIG_arg_fail(2)) SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25671 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25675 wxString
*arg3
= 0 ;
25676 bool arg4
= (bool) false ;
25678 bool temp3
= false ;
25679 PyObject
* obj0
= 0 ;
25680 PyObject
* obj1
= 0 ;
25681 PyObject
* obj2
= 0 ;
25682 PyObject
* obj3
= 0 ;
25683 char *kwnames
[] = {
25684 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25689 if (SWIG_arg_fail(1)) SWIG_fail
;
25691 arg2
= (long)(SWIG_As_long(obj1
));
25692 if (SWIG_arg_fail(2)) SWIG_fail
;
25695 arg3
= wxString_in_helper(obj2
);
25696 if (arg3
== NULL
) SWIG_fail
;
25701 arg4
= (bool)(SWIG_As_bool(obj3
));
25702 if (SWIG_arg_fail(4)) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= SWIG_From_long((long)(result
));
25729 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25730 PyObject
*resultobj
;
25731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25735 PyObject
* obj0
= 0 ;
25736 PyObject
* obj1
= 0 ;
25737 PyObject
* obj2
= 0 ;
25738 char *kwnames
[] = {
25739 (char *) "self",(char *) "start",(char *) "data", NULL
25742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25744 if (SWIG_arg_fail(1)) SWIG_fail
;
25746 arg2
= (long)(SWIG_As_long(obj1
));
25747 if (SWIG_arg_fail(2)) SWIG_fail
;
25750 arg3
= (long)(SWIG_As_long(obj2
));
25751 if (SWIG_arg_fail(3)) SWIG_fail
;
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25761 resultobj
= SWIG_From_long((long)(result
));
25769 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25770 PyObject
*resultobj
;
25771 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25773 wxPoint
*arg3
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 PyObject
* obj2
= 0 ;
25780 PyObject
* obj3
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail
;
25789 arg2
= (long)(SWIG_As_long(obj1
));
25790 if (SWIG_arg_fail(2)) SWIG_fail
;
25794 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25797 arg4
= (int)(SWIG_As_int(obj3
));
25798 if (SWIG_arg_fail(4)) SWIG_fail
;
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25804 wxPyEndAllowThreads(__tstate
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= SWIG_From_long((long)(result
));
25816 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
;
25818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25819 wxPoint
*arg2
= 0 ;
25825 PyObject
* obj0
= 0 ;
25826 PyObject
* obj1
= 0 ;
25827 char *kwnames
[] = {
25828 (char *) "self",(char *) "point", NULL
25831 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25834 if (SWIG_arg_fail(1)) SWIG_fail
;
25837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_From_long((long)(result
));
25849 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25850 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25857 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
;
25859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25860 wxListItem
*arg2
= 0 ;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 char *kwnames
[] = {
25865 (char *) "self",(char *) "info", NULL
25868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25870 if (SWIG_arg_fail(1)) SWIG_fail
;
25872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25873 if (SWIG_arg_fail(2)) SWIG_fail
;
25874 if (arg2
== NULL
) {
25875 SWIG_null_ref("wxListItem");
25877 if (SWIG_arg_fail(2)) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 result
= (long)(arg1
)->InsertItem(*arg2
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_From_long((long)(result
));
25895 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
;
25897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25899 wxString
*arg3
= 0 ;
25901 bool temp3
= false ;
25902 PyObject
* obj0
= 0 ;
25903 PyObject
* obj1
= 0 ;
25904 PyObject
* obj2
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self",(char *) "index",(char *) "label", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25911 if (SWIG_arg_fail(1)) SWIG_fail
;
25913 arg2
= (long)(SWIG_As_long(obj1
));
25914 if (SWIG_arg_fail(2)) SWIG_fail
;
25917 arg3
= wxString_in_helper(obj2
);
25918 if (arg3
== NULL
) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_From_long((long)(result
));
25945 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25946 PyObject
*resultobj
;
25947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25951 PyObject
* obj0
= 0 ;
25952 PyObject
* obj1
= 0 ;
25953 PyObject
* obj2
= 0 ;
25954 char *kwnames
[] = {
25955 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25960 if (SWIG_arg_fail(1)) SWIG_fail
;
25962 arg2
= (long)(SWIG_As_long(obj1
));
25963 if (SWIG_arg_fail(2)) SWIG_fail
;
25966 arg3
= (int)(SWIG_As_int(obj2
));
25967 if (SWIG_arg_fail(3)) SWIG_fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25977 resultobj
= SWIG_From_long((long)(result
));
25985 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25989 wxString
*arg3
= 0 ;
25992 bool temp3
= false ;
25993 PyObject
* obj0
= 0 ;
25994 PyObject
* obj1
= 0 ;
25995 PyObject
* obj2
= 0 ;
25996 PyObject
* obj3
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail
;
26005 arg2
= (long)(SWIG_As_long(obj1
));
26006 if (SWIG_arg_fail(2)) SWIG_fail
;
26009 arg3
= wxString_in_helper(obj2
);
26010 if (arg3
== NULL
) SWIG_fail
;
26014 arg4
= (int)(SWIG_As_int(obj3
));
26015 if (SWIG_arg_fail(4)) SWIG_fail
;
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_From_long((long)(result
));
26041 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26045 wxListItem
*arg3
= 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 PyObject
* obj2
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self",(char *) "col",(char *) "info", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26056 if (SWIG_arg_fail(1)) SWIG_fail
;
26058 arg2
= (long)(SWIG_As_long(obj1
));
26059 if (SWIG_arg_fail(2)) SWIG_fail
;
26062 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26063 if (SWIG_arg_fail(3)) SWIG_fail
;
26064 if (arg3
== NULL
) {
26065 SWIG_null_ref("wxListItem");
26067 if (SWIG_arg_fail(3)) SWIG_fail
;
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= SWIG_From_long((long)(result
));
26085 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
;
26087 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26089 wxString
*arg3
= 0 ;
26090 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26091 int arg5
= (int) -1 ;
26093 bool temp3
= false ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 PyObject
* obj2
= 0 ;
26097 PyObject
* obj3
= 0 ;
26098 PyObject
* obj4
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26105 if (SWIG_arg_fail(1)) SWIG_fail
;
26107 arg2
= (long)(SWIG_As_long(obj1
));
26108 if (SWIG_arg_fail(2)) SWIG_fail
;
26111 arg3
= wxString_in_helper(obj2
);
26112 if (arg3
== NULL
) SWIG_fail
;
26117 arg4
= (int)(SWIG_As_int(obj3
));
26118 if (SWIG_arg_fail(4)) SWIG_fail
;
26123 arg5
= (int)(SWIG_As_int(obj4
));
26124 if (SWIG_arg_fail(5)) SWIG_fail
;
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_From_long((long)(result
));
26151 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
;
26153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26155 PyObject
* obj0
= 0 ;
26156 PyObject
* obj1
= 0 ;
26157 char *kwnames
[] = {
26158 (char *) "self",(char *) "count", NULL
26161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26163 if (SWIG_arg_fail(1)) SWIG_fail
;
26165 arg2
= (long)(SWIG_As_long(obj1
));
26166 if (SWIG_arg_fail(2)) SWIG_fail
;
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 (arg1
)->SetItemCount(arg2
);
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26175 Py_INCREF(Py_None
); resultobj
= Py_None
;
26182 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
;
26184 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26188 PyObject
* obj0
= 0 ;
26189 PyObject
* obj1
= 0 ;
26190 PyObject
* obj2
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "dx",(char *) "dy", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail
;
26199 arg2
= (int)(SWIG_As_int(obj1
));
26200 if (SWIG_arg_fail(2)) SWIG_fail
;
26203 arg3
= (int)(SWIG_As_int(obj2
));
26204 if (SWIG_arg_fail(3)) SWIG_fail
;
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26222 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26226 wxColour
*arg3
= 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 PyObject
* obj2
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "item",(char *) "col", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26237 if (SWIG_arg_fail(1)) SWIG_fail
;
26239 arg2
= (long)(SWIG_As_long(obj1
));
26240 if (SWIG_arg_fail(2)) SWIG_fail
;
26244 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 Py_INCREF(Py_None
); resultobj
= Py_None
;
26260 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self",(char *) "item", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) 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
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26286 wxColour
* resultptr
;
26287 resultptr
= new wxColour((wxColour
&)(result
));
26288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26296 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
;
26298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26300 wxColour
*arg3
= 0 ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 PyObject
* obj2
= 0 ;
26305 char *kwnames
[] = {
26306 (char *) "self",(char *) "item",(char *) "col", NULL
26309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26311 if (SWIG_arg_fail(1)) SWIG_fail
;
26313 arg2
= (long)(SWIG_As_long(obj1
));
26314 if (SWIG_arg_fail(2)) SWIG_fail
;
26318 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 Py_INCREF(Py_None
); resultobj
= Py_None
;
26334 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26339 PyObject
* obj0
= 0 ;
26340 PyObject
* obj1
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self",(char *) "item", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail
;
26349 arg2
= (long)(SWIG_As_long(obj1
));
26350 if (SWIG_arg_fail(2)) SWIG_fail
;
26353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26354 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26360 wxColour
* resultptr
;
26361 resultptr
= new wxColour((wxColour
&)(result
));
26362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26370 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26373 PyObject
*arg2
= (PyObject
*) 0 ;
26375 PyObject
* obj0
= 0 ;
26376 PyObject
* obj1
= 0 ;
26377 char *kwnames
[] = {
26378 (char *) "self",(char *) "func", NULL
26381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26383 if (SWIG_arg_fail(1)) SWIG_fail
;
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26387 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26401 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26402 PyObject
*resultobj
;
26403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 char *kwnames
[] = {
26407 (char *) "self", NULL
26410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26412 if (SWIG_arg_fail(1)) SWIG_fail
;
26414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26415 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= wxPyMake_wxObject(result
, 0);
26429 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26430 PyObject
*resultobj
;
26431 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26432 wxVisualAttributes result
;
26433 PyObject
* obj0
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "variant", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26441 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26442 if (SWIG_arg_fail(1)) SWIG_fail
;
26446 if (!wxPyCheckForApp()) SWIG_fail
;
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26454 wxVisualAttributes
* resultptr
;
26455 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26464 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26467 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26469 return Py_BuildValue((char *)"");
26471 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26472 PyObject
*resultobj
;
26473 wxWindow
*arg1
= (wxWindow
*) 0 ;
26474 int arg2
= (int) -1 ;
26475 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26476 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26477 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26478 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26479 long arg5
= (long) wxLC_REPORT
;
26480 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26481 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26482 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26484 wxListView
*result
;
26487 bool temp7
= false ;
26488 PyObject
* obj0
= 0 ;
26489 PyObject
* obj1
= 0 ;
26490 PyObject
* obj2
= 0 ;
26491 PyObject
* obj3
= 0 ;
26492 PyObject
* obj4
= 0 ;
26493 PyObject
* obj5
= 0 ;
26494 PyObject
* obj6
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26501 if (SWIG_arg_fail(1)) SWIG_fail
;
26504 arg2
= (int)(SWIG_As_int(obj1
));
26505 if (SWIG_arg_fail(2)) SWIG_fail
;
26511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26517 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26522 arg5
= (long)(SWIG_As_long(obj4
));
26523 if (SWIG_arg_fail(5)) SWIG_fail
;
26528 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26529 if (SWIG_arg_fail(6)) SWIG_fail
;
26530 if (arg6
== NULL
) {
26531 SWIG_null_ref("wxValidator");
26533 if (SWIG_arg_fail(6)) SWIG_fail
;
26538 arg7
= wxString_in_helper(obj6
);
26539 if (arg7
== NULL
) SWIG_fail
;
26544 if (!wxPyCheckForApp()) SWIG_fail
;
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26566 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26567 PyObject
*resultobj
;
26568 wxListView
*result
;
26569 char *kwnames
[] = {
26573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26575 if (!wxPyCheckForApp()) SWIG_fail
;
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (wxListView
*)new wxListView();
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26589 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26590 PyObject
*resultobj
;
26591 wxListView
*arg1
= (wxListView
*) 0 ;
26592 wxWindow
*arg2
= (wxWindow
*) 0 ;
26593 int arg3
= (int) -1 ;
26594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26598 long arg6
= (long) wxLC_REPORT
;
26599 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26600 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26601 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26602 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26606 bool temp8
= false ;
26607 PyObject
* obj0
= 0 ;
26608 PyObject
* obj1
= 0 ;
26609 PyObject
* obj2
= 0 ;
26610 PyObject
* obj3
= 0 ;
26611 PyObject
* obj4
= 0 ;
26612 PyObject
* obj5
= 0 ;
26613 PyObject
* obj6
= 0 ;
26614 PyObject
* obj7
= 0 ;
26615 char *kwnames
[] = {
26616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26621 if (SWIG_arg_fail(1)) SWIG_fail
;
26622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26623 if (SWIG_arg_fail(2)) SWIG_fail
;
26626 arg3
= (int)(SWIG_As_int(obj2
));
26627 if (SWIG_arg_fail(3)) SWIG_fail
;
26633 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26639 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26644 arg6
= (long)(SWIG_As_long(obj5
));
26645 if (SWIG_arg_fail(6)) SWIG_fail
;
26650 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26651 if (SWIG_arg_fail(7)) SWIG_fail
;
26652 if (arg7
== NULL
) {
26653 SWIG_null_ref("wxValidator");
26655 if (SWIG_arg_fail(7)) SWIG_fail
;
26660 arg8
= wxString_in_helper(obj7
);
26661 if (arg8
== NULL
) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26689 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxListView
*arg1
= (wxListView
*) 0 ;
26693 bool arg3
= (bool) true ;
26694 PyObject
* obj0
= 0 ;
26695 PyObject
* obj1
= 0 ;
26696 PyObject
* obj2
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self",(char *) "n",(char *) "on", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26703 if (SWIG_arg_fail(1)) SWIG_fail
;
26705 arg2
= (long)(SWIG_As_long(obj1
));
26706 if (SWIG_arg_fail(2)) SWIG_fail
;
26710 arg3
= (bool)(SWIG_As_bool(obj2
));
26711 if (SWIG_arg_fail(3)) SWIG_fail
;
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 (arg1
)->Select(arg2
,arg3
);
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 Py_INCREF(Py_None
); resultobj
= Py_None
;
26728 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
;
26730 wxListView
*arg1
= (wxListView
*) 0 ;
26732 PyObject
* obj0
= 0 ;
26733 PyObject
* obj1
= 0 ;
26734 char *kwnames
[] = {
26735 (char *) "self",(char *) "index", NULL
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26740 if (SWIG_arg_fail(1)) SWIG_fail
;
26742 arg2
= (long)(SWIG_As_long(obj1
));
26743 if (SWIG_arg_fail(2)) SWIG_fail
;
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 (arg1
)->Focus(arg2
);
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 Py_INCREF(Py_None
); resultobj
= Py_None
;
26759 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
;
26761 wxListView
*arg1
= (wxListView
*) 0 ;
26763 PyObject
* obj0
= 0 ;
26764 char *kwnames
[] = {
26765 (char *) "self", NULL
26768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26770 if (SWIG_arg_fail(1)) SWIG_fail
;
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= SWIG_From_long((long)(result
));
26787 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
;
26789 wxListView
*arg1
= (wxListView
*) 0 ;
26792 PyObject
* obj0
= 0 ;
26793 PyObject
* obj1
= 0 ;
26794 char *kwnames
[] = {
26795 (char *) "self",(char *) "item", NULL
26798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26800 if (SWIG_arg_fail(1)) SWIG_fail
;
26802 arg2
= (long)(SWIG_As_long(obj1
));
26803 if (SWIG_arg_fail(2)) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= SWIG_From_long((long)(result
));
26821 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxListView
*arg1
= (wxListView
*) 0 ;
26825 PyObject
* obj0
= 0 ;
26826 char *kwnames
[] = {
26827 (char *) "self", NULL
26830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26832 if (SWIG_arg_fail(1)) SWIG_fail
;
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26841 resultobj
= SWIG_From_long((long)(result
));
26849 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26850 PyObject
*resultobj
;
26851 wxListView
*arg1
= (wxListView
*) 0 ;
26854 PyObject
* obj0
= 0 ;
26855 PyObject
* obj1
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self",(char *) "index", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26862 if (SWIG_arg_fail(1)) SWIG_fail
;
26864 arg2
= (long)(SWIG_As_long(obj1
));
26865 if (SWIG_arg_fail(2)) SWIG_fail
;
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 result
= (bool)(arg1
)->IsSelected(arg2
);
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26883 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
;
26885 wxListView
*arg1
= (wxListView
*) 0 ;
26888 PyObject
* obj0
= 0 ;
26889 PyObject
* obj1
= 0 ;
26890 PyObject
* obj2
= 0 ;
26891 char *kwnames
[] = {
26892 (char *) "self",(char *) "col",(char *) "image", NULL
26895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26897 if (SWIG_arg_fail(1)) SWIG_fail
;
26899 arg2
= (int)(SWIG_As_int(obj1
));
26900 if (SWIG_arg_fail(2)) SWIG_fail
;
26903 arg3
= (int)(SWIG_As_int(obj2
));
26904 if (SWIG_arg_fail(3)) SWIG_fail
;
26907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26908 (arg1
)->SetColumnImage(arg2
,arg3
);
26910 wxPyEndAllowThreads(__tstate
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 Py_INCREF(Py_None
); resultobj
= Py_None
;
26920 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
;
26922 wxListView
*arg1
= (wxListView
*) 0 ;
26924 PyObject
* obj0
= 0 ;
26925 PyObject
* obj1
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self",(char *) "col", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26932 if (SWIG_arg_fail(1)) SWIG_fail
;
26934 arg2
= (int)(SWIG_As_int(obj1
));
26935 if (SWIG_arg_fail(2)) SWIG_fail
;
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 (arg1
)->ClearColumnImage(arg2
);
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 Py_INCREF(Py_None
); resultobj
= Py_None
;
26951 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26954 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26956 return Py_BuildValue((char *)"");
26958 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26959 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26964 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26969 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26971 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26978 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
;
26980 wxTreeItemId
*result
;
26981 char *kwnames
[] = {
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26988 result
= (wxTreeItemId
*)new wxTreeItemId();
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27000 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
;
27002 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27003 PyObject
* obj0
= 0 ;
27004 char *kwnames
[] = {
27005 (char *) "self", NULL
27008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27010 if (SWIG_arg_fail(1)) SWIG_fail
;
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27018 Py_INCREF(Py_None
); resultobj
= Py_None
;
27025 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
;
27027 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27029 PyObject
* obj0
= 0 ;
27030 char *kwnames
[] = {
27031 (char *) "self", NULL
27034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27036 if (SWIG_arg_fail(1)) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27053 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27056 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27058 PyObject
* obj0
= 0 ;
27059 PyObject
* obj1
= 0 ;
27060 char *kwnames
[] = {
27061 (char *) "self",(char *) "other", NULL
27064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27066 if (SWIG_arg_fail(1)) SWIG_fail
;
27067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27068 if (SWIG_arg_fail(2)) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27085 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
;
27087 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27088 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self",(char *) "other", NULL
27096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27098 if (SWIG_arg_fail(1)) SWIG_fail
;
27099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27100 if (SWIG_arg_fail(2)) SWIG_fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27117 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
;
27119 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27120 void *arg2
= (void *) 0 ;
27121 PyObject
* obj0
= 0 ;
27122 PyObject
* obj1
= 0 ;
27123 char *kwnames
[] = {
27124 (char *) "self",(char *) "m_pItem", NULL
27127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27129 if (SWIG_arg_fail(1)) SWIG_fail
;
27131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27132 SWIG_arg_fail(2);SWIG_fail
;
27135 if (arg1
) (arg1
)->m_pItem
= arg2
;
27137 Py_INCREF(Py_None
); resultobj
= Py_None
;
27144 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
;
27146 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27148 PyObject
* obj0
= 0 ;
27149 char *kwnames
[] = {
27150 (char *) "self", NULL
27153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27155 if (SWIG_arg_fail(1)) SWIG_fail
;
27156 result
= (void *) ((arg1
)->m_pItem
);
27158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27165 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27168 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27170 return Py_BuildValue((char *)"");
27172 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
;
27174 PyObject
*arg1
= (PyObject
*) NULL
;
27175 wxPyTreeItemData
*result
;
27176 PyObject
* obj0
= 0 ;
27177 char *kwnames
[] = {
27178 (char *) "obj", NULL
27181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27199 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
;
27201 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27203 PyObject
* obj0
= 0 ;
27204 char *kwnames
[] = {
27205 (char *) "self", NULL
27208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27210 if (SWIG_arg_fail(1)) SWIG_fail
;
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 result
= (PyObject
*)(arg1
)->GetData();
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= result
;
27225 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27228 PyObject
*arg2
= (PyObject
*) 0 ;
27229 PyObject
* obj0
= 0 ;
27230 PyObject
* obj1
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self",(char *) "obj", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27237 if (SWIG_arg_fail(1)) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 (arg1
)->SetData(arg2
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 Py_INCREF(Py_None
); resultobj
= Py_None
;
27253 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27256 wxTreeItemId
*result
;
27257 PyObject
* obj0
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27269 result
= (wxTreeItemId
*) &_result_ref
;
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27282 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27285 wxTreeItemId
*arg2
= 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self",(char *) "id", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27294 if (SWIG_arg_fail(1)) SWIG_fail
;
27296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27297 if (SWIG_arg_fail(2)) SWIG_fail
;
27298 if (arg2
== NULL
) {
27299 SWIG_null_ref("wxTreeItemId");
27301 if (SWIG_arg_fail(2)) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 Py_INCREF(Py_None
); resultobj
= Py_None
;
27317 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27320 PyObject
* obj0
= 0 ;
27321 char *kwnames
[] = {
27322 (char *) "self", NULL
27325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27327 if (SWIG_arg_fail(1)) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 wxPyTreeItemData_Destroy(arg1
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 Py_INCREF(Py_None
); resultobj
= Py_None
;
27342 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27345 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27347 return Py_BuildValue((char *)"");
27349 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
;
27351 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27352 int arg2
= (int) 0 ;
27353 wxTreeEvent
*result
;
27354 PyObject
* obj0
= 0 ;
27355 PyObject
* obj1
= 0 ;
27356 char *kwnames
[] = {
27357 (char *) "commandType",(char *) "id", NULL
27360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27363 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27364 if (SWIG_arg_fail(1)) SWIG_fail
;
27369 arg2
= (int)(SWIG_As_int(obj1
));
27370 if (SWIG_arg_fail(2)) SWIG_fail
;
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27377 wxPyEndAllowThreads(__tstate
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27387 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
;
27389 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27390 wxTreeItemId result
;
27391 PyObject
* obj0
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "self", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27398 if (SWIG_arg_fail(1)) SWIG_fail
;
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27407 wxTreeItemId
* resultptr
;
27408 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27417 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27418 PyObject
*resultobj
;
27419 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27420 wxTreeItemId
*arg2
= 0 ;
27421 PyObject
* obj0
= 0 ;
27422 PyObject
* obj1
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "self",(char *) "item", NULL
27427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27429 if (SWIG_arg_fail(1)) SWIG_fail
;
27431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27432 if (SWIG_arg_fail(2)) SWIG_fail
;
27433 if (arg2
== NULL
) {
27434 SWIG_null_ref("wxTreeItemId");
27436 if (SWIG_arg_fail(2)) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 Py_INCREF(Py_None
); resultobj
= Py_None
;
27452 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27454 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27455 wxTreeItemId result
;
27456 PyObject
* obj0
= 0 ;
27457 char *kwnames
[] = {
27458 (char *) "self", NULL
27461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27463 if (SWIG_arg_fail(1)) SWIG_fail
;
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27468 wxPyEndAllowThreads(__tstate
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27472 wxTreeItemId
* resultptr
;
27473 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27482 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27485 wxTreeItemId
*arg2
= 0 ;
27486 PyObject
* obj0
= 0 ;
27487 PyObject
* obj1
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self",(char *) "item", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27494 if (SWIG_arg_fail(1)) SWIG_fail
;
27496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27497 if (SWIG_arg_fail(2)) SWIG_fail
;
27498 if (arg2
== NULL
) {
27499 SWIG_null_ref("wxTreeItemId");
27501 if (SWIG_arg_fail(2)) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27510 Py_INCREF(Py_None
); resultobj
= Py_None
;
27517 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27521 PyObject
* obj0
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27537 wxPoint
* resultptr
;
27538 resultptr
= new wxPoint((wxPoint
&)(result
));
27539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27547 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27548 PyObject
*resultobj
;
27549 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27550 wxPoint
*arg2
= 0 ;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 char *kwnames
[] = {
27555 (char *) "self",(char *) "pt", NULL
27558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27560 if (SWIG_arg_fail(1)) SWIG_fail
;
27563 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27572 Py_INCREF(Py_None
); resultobj
= Py_None
;
27579 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
;
27581 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27582 wxKeyEvent
*result
;
27583 PyObject
* obj0
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27590 if (SWIG_arg_fail(1)) SWIG_fail
;
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27595 result
= (wxKeyEvent
*) &_result_ref
;
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27608 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27609 PyObject
*resultobj
;
27610 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27612 PyObject
* obj0
= 0 ;
27613 char *kwnames
[] = {
27614 (char *) "self", NULL
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27619 if (SWIG_arg_fail(1)) SWIG_fail
;
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27622 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27628 resultobj
= SWIG_From_int((int)(result
));
27636 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
;
27638 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27639 wxKeyEvent
*arg2
= 0 ;
27640 PyObject
* obj0
= 0 ;
27641 PyObject
* obj1
= 0 ;
27642 char *kwnames
[] = {
27643 (char *) "self",(char *) "evt", NULL
27646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27648 if (SWIG_arg_fail(1)) SWIG_fail
;
27650 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27651 if (SWIG_arg_fail(2)) SWIG_fail
;
27652 if (arg2
== NULL
) {
27653 SWIG_null_ref("wxKeyEvent");
27655 if (SWIG_arg_fail(2)) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 Py_INCREF(Py_None
); resultobj
= Py_None
;
27671 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
;
27673 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27675 PyObject
* obj0
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27682 if (SWIG_arg_fail(1)) SWIG_fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27687 result
= (wxString
*) &_result_ref
;
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27697 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27706 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27709 wxString
*arg2
= 0 ;
27710 bool temp2
= false ;
27711 PyObject
* obj0
= 0 ;
27712 PyObject
* obj1
= 0 ;
27713 char *kwnames
[] = {
27714 (char *) "self",(char *) "label", NULL
27717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27719 if (SWIG_arg_fail(1)) SWIG_fail
;
27721 arg2
= wxString_in_helper(obj1
);
27722 if (arg2
== NULL
) SWIG_fail
;
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 (arg1
)->SetLabel((wxString
const &)*arg2
);
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 Py_INCREF(Py_None
); resultobj
= Py_None
;
27747 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
;
27749 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27751 PyObject
* obj0
= 0 ;
27752 char *kwnames
[] = {
27753 (char *) "self", NULL
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27758 if (SWIG_arg_fail(1)) SWIG_fail
;
27760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27761 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27763 wxPyEndAllowThreads(__tstate
);
27764 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27775 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27779 PyObject
* obj0
= 0 ;
27780 PyObject
* obj1
= 0 ;
27781 char *kwnames
[] = {
27782 (char *) "self",(char *) "editCancelled", NULL
27785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27787 if (SWIG_arg_fail(1)) SWIG_fail
;
27789 arg2
= (bool)(SWIG_As_bool(obj1
));
27790 if (SWIG_arg_fail(2)) SWIG_fail
;
27793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27794 (arg1
)->SetEditCanceled(arg2
);
27796 wxPyEndAllowThreads(__tstate
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27799 Py_INCREF(Py_None
); resultobj
= Py_None
;
27806 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27807 PyObject
*resultobj
;
27808 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27809 wxString
*arg2
= 0 ;
27810 bool temp2
= false ;
27811 PyObject
* obj0
= 0 ;
27812 PyObject
* obj1
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "self",(char *) "toolTip", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27819 if (SWIG_arg_fail(1)) SWIG_fail
;
27821 arg2
= wxString_in_helper(obj1
);
27822 if (arg2
== NULL
) SWIG_fail
;
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 Py_INCREF(Py_None
); resultobj
= Py_None
;
27847 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
;
27849 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27851 PyObject
* obj0
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27858 if (SWIG_arg_fail(1)) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 result
= (arg1
)->GetToolTip();
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27879 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27882 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27884 return Py_BuildValue((char *)"");
27886 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
;
27888 wxWindow
*arg1
= (wxWindow
*) 0 ;
27889 int arg2
= (int) -1 ;
27890 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27891 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27892 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27893 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27894 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27895 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27896 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27897 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27898 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27899 wxPyTreeCtrl
*result
;
27902 bool temp7
= false ;
27903 PyObject
* obj0
= 0 ;
27904 PyObject
* obj1
= 0 ;
27905 PyObject
* obj2
= 0 ;
27906 PyObject
* obj3
= 0 ;
27907 PyObject
* obj4
= 0 ;
27908 PyObject
* obj5
= 0 ;
27909 PyObject
* obj6
= 0 ;
27910 char *kwnames
[] = {
27911 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27916 if (SWIG_arg_fail(1)) SWIG_fail
;
27919 arg2
= (int)(SWIG_As_int(obj1
));
27920 if (SWIG_arg_fail(2)) SWIG_fail
;
27926 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27932 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27937 arg5
= (long)(SWIG_As_long(obj4
));
27938 if (SWIG_arg_fail(5)) SWIG_fail
;
27943 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27944 if (SWIG_arg_fail(6)) SWIG_fail
;
27945 if (arg6
== NULL
) {
27946 SWIG_null_ref("wxValidator");
27948 if (SWIG_arg_fail(6)) SWIG_fail
;
27953 arg7
= wxString_in_helper(obj6
);
27954 if (arg7
== NULL
) SWIG_fail
;
27959 if (!wxPyCheckForApp()) SWIG_fail
;
27960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27961 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27963 wxPyEndAllowThreads(__tstate
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27981 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
;
27983 wxPyTreeCtrl
*result
;
27984 char *kwnames
[] = {
27988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
27990 if (!wxPyCheckForApp()) SWIG_fail
;
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
27994 wxPyEndAllowThreads(__tstate
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28004 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28005 PyObject
*resultobj
;
28006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28007 wxWindow
*arg2
= (wxWindow
*) 0 ;
28008 int arg3
= (int) -1 ;
28009 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28010 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28011 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28012 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28013 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28014 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28015 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28016 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28021 bool temp8
= false ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 PyObject
* obj2
= 0 ;
28025 PyObject
* obj3
= 0 ;
28026 PyObject
* obj4
= 0 ;
28027 PyObject
* obj5
= 0 ;
28028 PyObject
* obj6
= 0 ;
28029 PyObject
* obj7
= 0 ;
28030 char *kwnames
[] = {
28031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28036 if (SWIG_arg_fail(1)) SWIG_fail
;
28037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28038 if (SWIG_arg_fail(2)) SWIG_fail
;
28041 arg3
= (int)(SWIG_As_int(obj2
));
28042 if (SWIG_arg_fail(3)) SWIG_fail
;
28048 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28054 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28059 arg6
= (long)(SWIG_As_long(obj5
));
28060 if (SWIG_arg_fail(6)) SWIG_fail
;
28065 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28066 if (SWIG_arg_fail(7)) SWIG_fail
;
28067 if (arg7
== NULL
) {
28068 SWIG_null_ref("wxValidator");
28070 if (SWIG_arg_fail(7)) SWIG_fail
;
28075 arg8
= wxString_in_helper(obj7
);
28076 if (arg8
== NULL
) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28104 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28107 PyObject
*arg2
= (PyObject
*) 0 ;
28108 PyObject
*arg3
= (PyObject
*) 0 ;
28109 PyObject
* obj0
= 0 ;
28110 PyObject
* obj1
= 0 ;
28111 PyObject
* obj2
= 0 ;
28112 char *kwnames
[] = {
28113 (char *) "self",(char *) "self",(char *) "_class", NULL
28116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28118 if (SWIG_arg_fail(1)) SWIG_fail
;
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28128 Py_INCREF(Py_None
); resultobj
= Py_None
;
28135 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28136 PyObject
*resultobj
;
28137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28139 PyObject
* obj0
= 0 ;
28140 char *kwnames
[] = {
28141 (char *) "self", NULL
28144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28146 if (SWIG_arg_fail(1)) SWIG_fail
;
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28155 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28163 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28164 PyObject
*resultobj
;
28165 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28166 unsigned int result
;
28167 PyObject
* obj0
= 0 ;
28168 char *kwnames
[] = {
28169 (char *) "self", NULL
28172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28174 if (SWIG_arg_fail(1)) SWIG_fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28191 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28194 unsigned int arg2
;
28195 PyObject
* obj0
= 0 ;
28196 PyObject
* obj1
= 0 ;
28197 char *kwnames
[] = {
28198 (char *) "self",(char *) "indent", NULL
28201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28203 if (SWIG_arg_fail(1)) SWIG_fail
;
28205 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28206 if (SWIG_arg_fail(2)) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 (arg1
)->SetIndent(arg2
);
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 Py_INCREF(Py_None
); resultobj
= Py_None
;
28222 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28225 unsigned int result
;
28226 PyObject
* obj0
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "self", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28233 if (SWIG_arg_fail(1)) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28250 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28253 unsigned int arg2
;
28254 PyObject
* obj0
= 0 ;
28255 PyObject
* obj1
= 0 ;
28256 char *kwnames
[] = {
28257 (char *) "self",(char *) "spacing", NULL
28260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28262 if (SWIG_arg_fail(1)) SWIG_fail
;
28264 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28265 if (SWIG_arg_fail(2)) SWIG_fail
;
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 (arg1
)->SetSpacing(arg2
);
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28274 Py_INCREF(Py_None
); resultobj
= Py_None
;
28281 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28282 PyObject
*resultobj
;
28283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28284 wxImageList
*result
;
28285 PyObject
* obj0
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28292 if (SWIG_arg_fail(1)) SWIG_fail
;
28294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28301 resultobj
= wxPyMake_wxObject(result
, 0);
28309 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28312 wxImageList
*result
;
28313 PyObject
* obj0
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28320 if (SWIG_arg_fail(1)) SWIG_fail
;
28322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28323 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28325 wxPyEndAllowThreads(__tstate
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= wxPyMake_wxObject(result
, 0);
28337 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28338 PyObject
*resultobj
;
28339 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28340 wxImageList
*arg2
= (wxImageList
*) 0 ;
28341 PyObject
* obj0
= 0 ;
28342 PyObject
* obj1
= 0 ;
28343 char *kwnames
[] = {
28344 (char *) "self",(char *) "imageList", NULL
28347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28349 if (SWIG_arg_fail(1)) SWIG_fail
;
28350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28351 if (SWIG_arg_fail(2)) SWIG_fail
;
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 (arg1
)->SetImageList(arg2
);
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28359 Py_INCREF(Py_None
); resultobj
= Py_None
;
28366 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
;
28368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28369 wxImageList
*arg2
= (wxImageList
*) 0 ;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self",(char *) "imageList", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28378 if (SWIG_arg_fail(1)) SWIG_fail
;
28379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28380 if (SWIG_arg_fail(2)) SWIG_fail
;
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 (arg1
)->SetStateImageList(arg2
);
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28388 Py_INCREF(Py_None
); resultobj
= Py_None
;
28395 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28396 PyObject
*resultobj
;
28397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28398 wxImageList
*arg2
= (wxImageList
*) 0 ;
28399 PyObject
* obj0
= 0 ;
28400 PyObject
* obj1
= 0 ;
28401 char *kwnames
[] = {
28402 (char *) "self",(char *) "imageList", NULL
28405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28407 if (SWIG_arg_fail(1)) SWIG_fail
;
28408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28409 if (SWIG_arg_fail(2)) SWIG_fail
;
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 (arg1
)->AssignImageList(arg2
);
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28417 Py_INCREF(Py_None
); resultobj
= Py_None
;
28424 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
;
28426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28427 wxImageList
*arg2
= (wxImageList
*) 0 ;
28428 PyObject
* obj0
= 0 ;
28429 PyObject
* obj1
= 0 ;
28430 char *kwnames
[] = {
28431 (char *) "self",(char *) "imageList", NULL
28434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28436 if (SWIG_arg_fail(1)) SWIG_fail
;
28437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28438 if (SWIG_arg_fail(2)) SWIG_fail
;
28440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28441 (arg1
)->AssignStateImageList(arg2
);
28443 wxPyEndAllowThreads(__tstate
);
28444 if (PyErr_Occurred()) SWIG_fail
;
28446 Py_INCREF(Py_None
); resultobj
= Py_None
;
28453 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
;
28455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28456 wxTreeItemId
*arg2
= 0 ;
28458 PyObject
* obj0
= 0 ;
28459 PyObject
* obj1
= 0 ;
28460 char *kwnames
[] = {
28461 (char *) "self",(char *) "item", NULL
28464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28466 if (SWIG_arg_fail(1)) SWIG_fail
;
28468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28469 if (SWIG_arg_fail(2)) SWIG_fail
;
28470 if (arg2
== NULL
) {
28471 SWIG_null_ref("wxTreeItemId");
28473 if (SWIG_arg_fail(2)) SWIG_fail
;
28476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28477 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28479 wxPyEndAllowThreads(__tstate
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28495 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
;
28497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28498 wxTreeItemId
*arg2
= 0 ;
28499 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28501 PyObject
* obj0
= 0 ;
28502 PyObject
* obj1
= 0 ;
28503 PyObject
* obj2
= 0 ;
28504 char *kwnames
[] = {
28505 (char *) "self",(char *) "item",(char *) "which", NULL
28508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28510 if (SWIG_arg_fail(1)) SWIG_fail
;
28512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28513 if (SWIG_arg_fail(2)) SWIG_fail
;
28514 if (arg2
== NULL
) {
28515 SWIG_null_ref("wxTreeItemId");
28517 if (SWIG_arg_fail(2)) SWIG_fail
;
28521 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28522 if (SWIG_arg_fail(3)) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28533 resultobj
= SWIG_From_int((int)(result
));
28541 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
;
28543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28544 wxTreeItemId
*arg2
= 0 ;
28545 wxPyTreeItemData
*result
;
28546 PyObject
* obj0
= 0 ;
28547 PyObject
* obj1
= 0 ;
28548 char *kwnames
[] = {
28549 (char *) "self",(char *) "item", NULL
28552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28554 if (SWIG_arg_fail(1)) SWIG_fail
;
28556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28557 if (SWIG_arg_fail(2)) SWIG_fail
;
28558 if (arg2
== NULL
) {
28559 SWIG_null_ref("wxTreeItemId");
28561 if (SWIG_arg_fail(2)) SWIG_fail
;
28564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28565 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28577 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28578 PyObject
*resultobj
;
28579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28580 wxTreeItemId
*arg2
= 0 ;
28582 PyObject
* obj0
= 0 ;
28583 PyObject
* obj1
= 0 ;
28584 char *kwnames
[] = {
28585 (char *) "self",(char *) "item", NULL
28588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28590 if (SWIG_arg_fail(1)) SWIG_fail
;
28592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28593 if (SWIG_arg_fail(2)) SWIG_fail
;
28594 if (arg2
== NULL
) {
28595 SWIG_null_ref("wxTreeItemId");
28597 if (SWIG_arg_fail(2)) SWIG_fail
;
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28606 resultobj
= result
;
28613 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28614 PyObject
*resultobj
;
28615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28616 wxTreeItemId
*arg2
= 0 ;
28618 PyObject
* obj0
= 0 ;
28619 PyObject
* obj1
= 0 ;
28620 char *kwnames
[] = {
28621 (char *) "self",(char *) "item", NULL
28624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28626 if (SWIG_arg_fail(1)) SWIG_fail
;
28628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28629 if (SWIG_arg_fail(2)) SWIG_fail
;
28630 if (arg2
== NULL
) {
28631 SWIG_null_ref("wxTreeItemId");
28633 if (SWIG_arg_fail(2)) SWIG_fail
;
28636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28639 wxPyEndAllowThreads(__tstate
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28643 wxColour
* resultptr
;
28644 resultptr
= new wxColour((wxColour
&)(result
));
28645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28653 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28654 PyObject
*resultobj
;
28655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28656 wxTreeItemId
*arg2
= 0 ;
28658 PyObject
* obj0
= 0 ;
28659 PyObject
* obj1
= 0 ;
28660 char *kwnames
[] = {
28661 (char *) "self",(char *) "item", NULL
28664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28666 if (SWIG_arg_fail(1)) SWIG_fail
;
28668 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28669 if (SWIG_arg_fail(2)) SWIG_fail
;
28670 if (arg2
== NULL
) {
28671 SWIG_null_ref("wxTreeItemId");
28673 if (SWIG_arg_fail(2)) SWIG_fail
;
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28683 wxColour
* resultptr
;
28684 resultptr
= new wxColour((wxColour
&)(result
));
28685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28693 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28694 PyObject
*resultobj
;
28695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28696 wxTreeItemId
*arg2
= 0 ;
28698 PyObject
* obj0
= 0 ;
28699 PyObject
* obj1
= 0 ;
28700 char *kwnames
[] = {
28701 (char *) "self",(char *) "item", NULL
28704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28706 if (SWIG_arg_fail(1)) SWIG_fail
;
28708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28709 if (SWIG_arg_fail(2)) SWIG_fail
;
28710 if (arg2
== NULL
) {
28711 SWIG_null_ref("wxTreeItemId");
28713 if (SWIG_arg_fail(2)) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28723 wxFont
* resultptr
;
28724 resultptr
= new wxFont((wxFont
&)(result
));
28725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28733 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28736 wxTreeItemId
*arg2
= 0 ;
28737 wxString
*arg3
= 0 ;
28738 bool temp3
= false ;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 PyObject
* obj2
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self",(char *) "item",(char *) "text", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28748 if (SWIG_arg_fail(1)) SWIG_fail
;
28750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28751 if (SWIG_arg_fail(2)) SWIG_fail
;
28752 if (arg2
== NULL
) {
28753 SWIG_null_ref("wxTreeItemId");
28755 if (SWIG_arg_fail(2)) SWIG_fail
;
28758 arg3
= wxString_in_helper(obj2
);
28759 if (arg3
== NULL
) SWIG_fail
;
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 Py_INCREF(Py_None
); resultobj
= Py_None
;
28784 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28785 PyObject
*resultobj
;
28786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28787 wxTreeItemId
*arg2
= 0 ;
28789 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28790 PyObject
* obj0
= 0 ;
28791 PyObject
* obj1
= 0 ;
28792 PyObject
* obj2
= 0 ;
28793 PyObject
* obj3
= 0 ;
28794 char *kwnames
[] = {
28795 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28800 if (SWIG_arg_fail(1)) SWIG_fail
;
28802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28803 if (SWIG_arg_fail(2)) SWIG_fail
;
28804 if (arg2
== NULL
) {
28805 SWIG_null_ref("wxTreeItemId");
28807 if (SWIG_arg_fail(2)) SWIG_fail
;
28810 arg3
= (int)(SWIG_As_int(obj2
));
28811 if (SWIG_arg_fail(3)) SWIG_fail
;
28815 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28816 if (SWIG_arg_fail(4)) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 Py_INCREF(Py_None
); resultobj
= Py_None
;
28833 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
;
28835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28836 wxTreeItemId
*arg2
= 0 ;
28837 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28838 PyObject
* obj0
= 0 ;
28839 PyObject
* obj1
= 0 ;
28840 PyObject
* obj2
= 0 ;
28841 char *kwnames
[] = {
28842 (char *) "self",(char *) "item",(char *) "data", NULL
28845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28847 if (SWIG_arg_fail(1)) SWIG_fail
;
28849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28850 if (SWIG_arg_fail(2)) SWIG_fail
;
28851 if (arg2
== NULL
) {
28852 SWIG_null_ref("wxTreeItemId");
28854 if (SWIG_arg_fail(2)) SWIG_fail
;
28856 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28857 if (SWIG_arg_fail(3)) SWIG_fail
;
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 wxPyTreeCtrl_SetItemData(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_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28875 wxTreeItemId
*arg2
= 0 ;
28876 PyObject
*arg3
= (PyObject
*) 0 ;
28877 PyObject
* obj0
= 0 ;
28878 PyObject
* obj1
= 0 ;
28879 PyObject
* obj2
= 0 ;
28880 char *kwnames
[] = {
28881 (char *) "self",(char *) "item",(char *) "obj", NULL
28884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 Py_INCREF(Py_None
); resultobj
= Py_None
;
28910 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
;
28912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28913 wxTreeItemId
*arg2
= 0 ;
28914 bool arg3
= (bool) true ;
28915 PyObject
* obj0
= 0 ;
28916 PyObject
* obj1
= 0 ;
28917 PyObject
* obj2
= 0 ;
28918 char *kwnames
[] = {
28919 (char *) "self",(char *) "item",(char *) "has", NULL
28922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28924 if (SWIG_arg_fail(1)) SWIG_fail
;
28926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28927 if (SWIG_arg_fail(2)) SWIG_fail
;
28928 if (arg2
== NULL
) {
28929 SWIG_null_ref("wxTreeItemId");
28931 if (SWIG_arg_fail(2)) SWIG_fail
;
28935 arg3
= (bool)(SWIG_As_bool(obj2
));
28936 if (SWIG_arg_fail(3)) SWIG_fail
;
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 Py_INCREF(Py_None
); resultobj
= Py_None
;
28953 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28954 PyObject
*resultobj
;
28955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28956 wxTreeItemId
*arg2
= 0 ;
28957 bool arg3
= (bool) true ;
28958 PyObject
* obj0
= 0 ;
28959 PyObject
* obj1
= 0 ;
28960 PyObject
* obj2
= 0 ;
28961 char *kwnames
[] = {
28962 (char *) "self",(char *) "item",(char *) "bold", NULL
28965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28967 if (SWIG_arg_fail(1)) SWIG_fail
;
28969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28970 if (SWIG_arg_fail(2)) SWIG_fail
;
28971 if (arg2
== NULL
) {
28972 SWIG_null_ref("wxTreeItemId");
28974 if (SWIG_arg_fail(2)) SWIG_fail
;
28978 arg3
= (bool)(SWIG_As_bool(obj2
));
28979 if (SWIG_arg_fail(3)) SWIG_fail
;
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28989 Py_INCREF(Py_None
); resultobj
= Py_None
;
28996 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28997 PyObject
*resultobj
;
28998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28999 wxTreeItemId
*arg2
= 0 ;
29000 bool arg3
= (bool) true ;
29001 PyObject
* obj0
= 0 ;
29002 PyObject
* obj1
= 0 ;
29003 PyObject
* obj2
= 0 ;
29004 char *kwnames
[] = {
29005 (char *) "self",(char *) "item",(char *) "highlight", NULL
29008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29010 if (SWIG_arg_fail(1)) SWIG_fail
;
29012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29013 if (SWIG_arg_fail(2)) SWIG_fail
;
29014 if (arg2
== NULL
) {
29015 SWIG_null_ref("wxTreeItemId");
29017 if (SWIG_arg_fail(2)) SWIG_fail
;
29021 arg3
= (bool)(SWIG_As_bool(obj2
));
29022 if (SWIG_arg_fail(3)) SWIG_fail
;
29026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 Py_INCREF(Py_None
); resultobj
= Py_None
;
29039 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29040 PyObject
*resultobj
;
29041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29042 wxTreeItemId
*arg2
= 0 ;
29043 wxColour
*arg3
= 0 ;
29045 PyObject
* obj0
= 0 ;
29046 PyObject
* obj1
= 0 ;
29047 PyObject
* obj2
= 0 ;
29048 char *kwnames
[] = {
29049 (char *) "self",(char *) "item",(char *) "col", NULL
29052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29054 if (SWIG_arg_fail(1)) SWIG_fail
;
29056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29057 if (SWIG_arg_fail(2)) SWIG_fail
;
29058 if (arg2
== NULL
) {
29059 SWIG_null_ref("wxTreeItemId");
29061 if (SWIG_arg_fail(2)) SWIG_fail
;
29065 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29074 Py_INCREF(Py_None
); resultobj
= Py_None
;
29081 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29082 PyObject
*resultobj
;
29083 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29084 wxTreeItemId
*arg2
= 0 ;
29085 wxColour
*arg3
= 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 PyObject
* obj2
= 0 ;
29090 char *kwnames
[] = {
29091 (char *) "self",(char *) "item",(char *) "col", NULL
29094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29096 if (SWIG_arg_fail(1)) SWIG_fail
;
29098 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29099 if (SWIG_arg_fail(2)) SWIG_fail
;
29100 if (arg2
== NULL
) {
29101 SWIG_null_ref("wxTreeItemId");
29103 if (SWIG_arg_fail(2)) SWIG_fail
;
29107 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 Py_INCREF(Py_None
); resultobj
= Py_None
;
29123 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
;
29125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29126 wxTreeItemId
*arg2
= 0 ;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 PyObject
* obj2
= 0 ;
29131 char *kwnames
[] = {
29132 (char *) "self",(char *) "item",(char *) "font", NULL
29135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29137 if (SWIG_arg_fail(1)) SWIG_fail
;
29139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29140 if (SWIG_arg_fail(2)) SWIG_fail
;
29141 if (arg2
== NULL
) {
29142 SWIG_null_ref("wxTreeItemId");
29144 if (SWIG_arg_fail(2)) SWIG_fail
;
29147 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29148 if (SWIG_arg_fail(3)) SWIG_fail
;
29149 if (arg3
== NULL
) {
29150 SWIG_null_ref("wxFont");
29152 if (SWIG_arg_fail(3)) SWIG_fail
;
29155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29156 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 Py_INCREF(Py_None
); resultobj
= Py_None
;
29168 static PyObject
*_wrap_TreeCtrl_IsVisible(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_IsVisible",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
)->IsVisible((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_ItemHasChildren(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_ItemHasChildren",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
)->ItemHasChildren((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_IsExpanded(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_IsExpanded",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
)->IsExpanded((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_IsSelected(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_IsSelected",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
)->IsSelected((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_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
;
29322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29323 wxTreeItemId
*arg2
= 0 ;
29325 PyObject
* obj0
= 0 ;
29326 PyObject
* obj1
= 0 ;
29327 char *kwnames
[] = {
29328 (char *) "self",(char *) "item", NULL
29331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29333 if (SWIG_arg_fail(1)) SWIG_fail
;
29335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29336 if (SWIG_arg_fail(2)) SWIG_fail
;
29337 if (arg2
== NULL
) {
29338 SWIG_null_ref("wxTreeItemId");
29340 if (SWIG_arg_fail(2)) SWIG_fail
;
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29358 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29359 PyObject
*resultobj
;
29360 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29361 wxTreeItemId
*arg2
= 0 ;
29362 bool arg3
= (bool) true ;
29364 PyObject
* obj0
= 0 ;
29365 PyObject
* obj1
= 0 ;
29366 PyObject
* obj2
= 0 ;
29367 char *kwnames
[] = {
29368 (char *) "self",(char *) "item",(char *) "recursively", NULL
29371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29373 if (SWIG_arg_fail(1)) SWIG_fail
;
29375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29376 if (SWIG_arg_fail(2)) SWIG_fail
;
29377 if (arg2
== NULL
) {
29378 SWIG_null_ref("wxTreeItemId");
29380 if (SWIG_arg_fail(2)) SWIG_fail
;
29384 arg3
= (bool)(SWIG_As_bool(obj2
));
29385 if (SWIG_arg_fail(3)) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29396 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29404 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29405 PyObject
*resultobj
;
29406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29407 wxTreeItemId result
;
29408 PyObject
* obj0
= 0 ;
29409 char *kwnames
[] = {
29410 (char *) "self", NULL
29413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29415 if (SWIG_arg_fail(1)) SWIG_fail
;
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29424 wxTreeItemId
* resultptr
;
29425 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29434 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29435 PyObject
*resultobj
;
29436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29437 wxTreeItemId result
;
29438 PyObject
* obj0
= 0 ;
29439 char *kwnames
[] = {
29440 (char *) "self", NULL
29443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29445 if (SWIG_arg_fail(1)) SWIG_fail
;
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29454 wxTreeItemId
* resultptr
;
29455 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29464 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
;
29466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 char *kwnames
[] = {
29470 (char *) "self", NULL
29473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29475 if (SWIG_arg_fail(1)) SWIG_fail
;
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29483 resultobj
= result
;
29490 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29491 PyObject
*resultobj
;
29492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29493 wxTreeItemId
*arg2
= 0 ;
29494 wxTreeItemId result
;
29495 PyObject
* obj0
= 0 ;
29496 PyObject
* obj1
= 0 ;
29497 char *kwnames
[] = {
29498 (char *) "self",(char *) "item", NULL
29501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29503 if (SWIG_arg_fail(1)) SWIG_fail
;
29505 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29506 if (SWIG_arg_fail(2)) SWIG_fail
;
29507 if (arg2
== NULL
) {
29508 SWIG_null_ref("wxTreeItemId");
29510 if (SWIG_arg_fail(2)) SWIG_fail
;
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29520 wxTreeItemId
* resultptr
;
29521 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29530 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29531 PyObject
*resultobj
;
29532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29533 wxTreeItemId
*arg2
= 0 ;
29535 PyObject
* obj0
= 0 ;
29536 PyObject
* obj1
= 0 ;
29537 char *kwnames
[] = {
29538 (char *) "self",(char *) "item", NULL
29541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29554 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= result
;
29566 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
;
29568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29569 wxTreeItemId
*arg2
= 0 ;
29570 void *arg3
= (void *) 0 ;
29572 PyObject
* obj0
= 0 ;
29573 PyObject
* obj1
= 0 ;
29574 PyObject
* obj2
= 0 ;
29575 char *kwnames
[] = {
29576 (char *) "self",(char *) "item",(char *) "cookie", NULL
29579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29581 if (SWIG_arg_fail(1)) SWIG_fail
;
29583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29584 if (SWIG_arg_fail(2)) SWIG_fail
;
29585 if (arg2
== NULL
) {
29586 SWIG_null_ref("wxTreeItemId");
29588 if (SWIG_arg_fail(2)) SWIG_fail
;
29591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29592 SWIG_arg_fail(3);SWIG_fail
;
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= result
;
29609 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29610 PyObject
*resultobj
;
29611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29612 wxTreeItemId
*arg2
= 0 ;
29613 wxTreeItemId result
;
29614 PyObject
* obj0
= 0 ;
29615 PyObject
* obj1
= 0 ;
29616 char *kwnames
[] = {
29617 (char *) "self",(char *) "item", NULL
29620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29622 if (SWIG_arg_fail(1)) SWIG_fail
;
29624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29625 if (SWIG_arg_fail(2)) SWIG_fail
;
29626 if (arg2
== NULL
) {
29627 SWIG_null_ref("wxTreeItemId");
29629 if (SWIG_arg_fail(2)) SWIG_fail
;
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29639 wxTreeItemId
* resultptr
;
29640 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29649 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29650 PyObject
*resultobj
;
29651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29652 wxTreeItemId
*arg2
= 0 ;
29653 wxTreeItemId result
;
29654 PyObject
* obj0
= 0 ;
29655 PyObject
* obj1
= 0 ;
29656 char *kwnames
[] = {
29657 (char *) "self",(char *) "item", NULL
29660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29662 if (SWIG_arg_fail(1)) SWIG_fail
;
29664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29665 if (SWIG_arg_fail(2)) SWIG_fail
;
29666 if (arg2
== NULL
) {
29667 SWIG_null_ref("wxTreeItemId");
29669 if (SWIG_arg_fail(2)) SWIG_fail
;
29672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29673 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29679 wxTreeItemId
* resultptr
;
29680 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29689 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29692 wxTreeItemId
*arg2
= 0 ;
29693 wxTreeItemId result
;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "item", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29705 if (SWIG_arg_fail(2)) SWIG_fail
;
29706 if (arg2
== NULL
) {
29707 SWIG_null_ref("wxTreeItemId");
29709 if (SWIG_arg_fail(2)) SWIG_fail
;
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29719 wxTreeItemId
* resultptr
;
29720 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29729 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
;
29731 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29732 wxTreeItemId result
;
29733 PyObject
* obj0
= 0 ;
29734 char *kwnames
[] = {
29735 (char *) "self", NULL
29738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29740 if (SWIG_arg_fail(1)) SWIG_fail
;
29742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29743 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29749 wxTreeItemId
* resultptr
;
29750 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29759 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
;
29761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29762 wxTreeItemId
*arg2
= 0 ;
29763 wxTreeItemId result
;
29764 PyObject
* obj0
= 0 ;
29765 PyObject
* obj1
= 0 ;
29766 char *kwnames
[] = {
29767 (char *) "self",(char *) "item", NULL
29770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29772 if (SWIG_arg_fail(1)) SWIG_fail
;
29774 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29775 if (SWIG_arg_fail(2)) SWIG_fail
;
29776 if (arg2
== NULL
) {
29777 SWIG_null_ref("wxTreeItemId");
29779 if (SWIG_arg_fail(2)) SWIG_fail
;
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29783 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29789 wxTreeItemId
* resultptr
;
29790 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29799 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
;
29801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29802 wxTreeItemId
*arg2
= 0 ;
29803 wxTreeItemId result
;
29804 PyObject
* obj0
= 0 ;
29805 PyObject
* obj1
= 0 ;
29806 char *kwnames
[] = {
29807 (char *) "self",(char *) "item", NULL
29810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29812 if (SWIG_arg_fail(1)) SWIG_fail
;
29814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29815 if (SWIG_arg_fail(2)) SWIG_fail
;
29816 if (arg2
== NULL
) {
29817 SWIG_null_ref("wxTreeItemId");
29819 if (SWIG_arg_fail(2)) SWIG_fail
;
29822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29829 wxTreeItemId
* resultptr
;
29830 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29839 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
;
29841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29842 wxString
*arg2
= 0 ;
29843 int arg3
= (int) -1 ;
29844 int arg4
= (int) -1 ;
29845 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29846 wxTreeItemId result
;
29847 bool temp2
= false ;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 PyObject
* obj2
= 0 ;
29851 PyObject
* obj3
= 0 ;
29852 PyObject
* obj4
= 0 ;
29853 char *kwnames
[] = {
29854 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29859 if (SWIG_arg_fail(1)) SWIG_fail
;
29861 arg2
= wxString_in_helper(obj1
);
29862 if (arg2
== NULL
) SWIG_fail
;
29867 arg3
= (int)(SWIG_As_int(obj2
));
29868 if (SWIG_arg_fail(3)) SWIG_fail
;
29873 arg4
= (int)(SWIG_As_int(obj3
));
29874 if (SWIG_arg_fail(4)) SWIG_fail
;
29878 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29879 if (SWIG_arg_fail(5)) SWIG_fail
;
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29889 wxTreeItemId
* resultptr
;
29890 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29907 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29908 PyObject
*resultobj
;
29909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29910 wxTreeItemId
*arg2
= 0 ;
29911 wxString
*arg3
= 0 ;
29912 int arg4
= (int) -1 ;
29913 int arg5
= (int) -1 ;
29914 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29915 wxTreeItemId result
;
29916 bool temp3
= false ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 PyObject
* obj2
= 0 ;
29920 PyObject
* obj3
= 0 ;
29921 PyObject
* obj4
= 0 ;
29922 PyObject
* obj5
= 0 ;
29923 char *kwnames
[] = {
29924 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29929 if (SWIG_arg_fail(1)) SWIG_fail
;
29931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29932 if (SWIG_arg_fail(2)) SWIG_fail
;
29933 if (arg2
== NULL
) {
29934 SWIG_null_ref("wxTreeItemId");
29936 if (SWIG_arg_fail(2)) SWIG_fail
;
29939 arg3
= wxString_in_helper(obj2
);
29940 if (arg3
== NULL
) SWIG_fail
;
29945 arg4
= (int)(SWIG_As_int(obj3
));
29946 if (SWIG_arg_fail(4)) SWIG_fail
;
29951 arg5
= (int)(SWIG_As_int(obj4
));
29952 if (SWIG_arg_fail(5)) SWIG_fail
;
29956 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29957 if (SWIG_arg_fail(6)) SWIG_fail
;
29960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29961 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29963 wxPyEndAllowThreads(__tstate
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29967 wxTreeItemId
* resultptr
;
29968 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29985 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
;
29987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29988 wxTreeItemId
*arg2
= 0 ;
29989 wxTreeItemId
*arg3
= 0 ;
29990 wxString
*arg4
= 0 ;
29991 int arg5
= (int) -1 ;
29992 int arg6
= (int) -1 ;
29993 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29994 wxTreeItemId result
;
29995 bool temp4
= false ;
29996 PyObject
* obj0
= 0 ;
29997 PyObject
* obj1
= 0 ;
29998 PyObject
* obj2
= 0 ;
29999 PyObject
* obj3
= 0 ;
30000 PyObject
* obj4
= 0 ;
30001 PyObject
* obj5
= 0 ;
30002 PyObject
* obj6
= 0 ;
30003 char *kwnames
[] = {
30004 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30009 if (SWIG_arg_fail(1)) SWIG_fail
;
30011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30012 if (SWIG_arg_fail(2)) SWIG_fail
;
30013 if (arg2
== NULL
) {
30014 SWIG_null_ref("wxTreeItemId");
30016 if (SWIG_arg_fail(2)) SWIG_fail
;
30019 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30020 if (SWIG_arg_fail(3)) SWIG_fail
;
30021 if (arg3
== NULL
) {
30022 SWIG_null_ref("wxTreeItemId");
30024 if (SWIG_arg_fail(3)) SWIG_fail
;
30027 arg4
= wxString_in_helper(obj3
);
30028 if (arg4
== NULL
) SWIG_fail
;
30033 arg5
= (int)(SWIG_As_int(obj4
));
30034 if (SWIG_arg_fail(5)) SWIG_fail
;
30039 arg6
= (int)(SWIG_As_int(obj5
));
30040 if (SWIG_arg_fail(6)) SWIG_fail
;
30044 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30045 if (SWIG_arg_fail(7)) SWIG_fail
;
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30055 wxTreeItemId
* resultptr
;
30056 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30073 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
;
30075 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30076 wxTreeItemId
*arg2
= 0 ;
30078 wxString
*arg4
= 0 ;
30079 int arg5
= (int) -1 ;
30080 int arg6
= (int) -1 ;
30081 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30082 wxTreeItemId result
;
30083 bool temp4
= false ;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 PyObject
* obj2
= 0 ;
30087 PyObject
* obj3
= 0 ;
30088 PyObject
* obj4
= 0 ;
30089 PyObject
* obj5
= 0 ;
30090 PyObject
* obj6
= 0 ;
30091 char *kwnames
[] = {
30092 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30097 if (SWIG_arg_fail(1)) SWIG_fail
;
30099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30100 if (SWIG_arg_fail(2)) SWIG_fail
;
30101 if (arg2
== NULL
) {
30102 SWIG_null_ref("wxTreeItemId");
30104 if (SWIG_arg_fail(2)) SWIG_fail
;
30107 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30108 if (SWIG_arg_fail(3)) SWIG_fail
;
30111 arg4
= wxString_in_helper(obj3
);
30112 if (arg4
== NULL
) SWIG_fail
;
30117 arg5
= (int)(SWIG_As_int(obj4
));
30118 if (SWIG_arg_fail(5)) SWIG_fail
;
30123 arg6
= (int)(SWIG_As_int(obj5
));
30124 if (SWIG_arg_fail(6)) SWIG_fail
;
30128 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30129 if (SWIG_arg_fail(7)) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30139 wxTreeItemId
* resultptr
;
30140 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30157 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30158 PyObject
*resultobj
;
30159 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30160 wxTreeItemId
*arg2
= 0 ;
30161 wxString
*arg3
= 0 ;
30162 int arg4
= (int) -1 ;
30163 int arg5
= (int) -1 ;
30164 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30165 wxTreeItemId result
;
30166 bool temp3
= false ;
30167 PyObject
* obj0
= 0 ;
30168 PyObject
* obj1
= 0 ;
30169 PyObject
* obj2
= 0 ;
30170 PyObject
* obj3
= 0 ;
30171 PyObject
* obj4
= 0 ;
30172 PyObject
* obj5
= 0 ;
30173 char *kwnames
[] = {
30174 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30179 if (SWIG_arg_fail(1)) SWIG_fail
;
30181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30182 if (SWIG_arg_fail(2)) SWIG_fail
;
30183 if (arg2
== NULL
) {
30184 SWIG_null_ref("wxTreeItemId");
30186 if (SWIG_arg_fail(2)) SWIG_fail
;
30189 arg3
= wxString_in_helper(obj2
);
30190 if (arg3
== NULL
) SWIG_fail
;
30195 arg4
= (int)(SWIG_As_int(obj3
));
30196 if (SWIG_arg_fail(4)) SWIG_fail
;
30201 arg5
= (int)(SWIG_As_int(obj4
));
30202 if (SWIG_arg_fail(5)) SWIG_fail
;
30206 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30207 if (SWIG_arg_fail(6)) SWIG_fail
;
30210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30211 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30217 wxTreeItemId
* resultptr
;
30218 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30235 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
;
30237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30238 wxTreeItemId
*arg2
= 0 ;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 char *kwnames
[] = {
30242 (char *) "self",(char *) "item", NULL
30245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30247 if (SWIG_arg_fail(1)) SWIG_fail
;
30249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30250 if (SWIG_arg_fail(2)) SWIG_fail
;
30251 if (arg2
== NULL
) {
30252 SWIG_null_ref("wxTreeItemId");
30254 if (SWIG_arg_fail(2)) SWIG_fail
;
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30260 wxPyEndAllowThreads(__tstate
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30263 Py_INCREF(Py_None
); resultobj
= Py_None
;
30270 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30271 PyObject
*resultobj
;
30272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30273 wxTreeItemId
*arg2
= 0 ;
30274 PyObject
* obj0
= 0 ;
30275 PyObject
* obj1
= 0 ;
30276 char *kwnames
[] = {
30277 (char *) "self",(char *) "item", NULL
30280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30282 if (SWIG_arg_fail(1)) SWIG_fail
;
30284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30285 if (SWIG_arg_fail(2)) SWIG_fail
;
30286 if (arg2
== NULL
) {
30287 SWIG_null_ref("wxTreeItemId");
30289 if (SWIG_arg_fail(2)) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 Py_INCREF(Py_None
); resultobj
= Py_None
;
30305 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
;
30307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30308 PyObject
* obj0
= 0 ;
30309 char *kwnames
[] = {
30310 (char *) "self", NULL
30313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30315 if (SWIG_arg_fail(1)) SWIG_fail
;
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 (arg1
)->DeleteAllItems();
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 Py_INCREF(Py_None
); resultobj
= Py_None
;
30330 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30333 wxTreeItemId
*arg2
= 0 ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 char *kwnames
[] = {
30337 (char *) "self",(char *) "item", NULL
30340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30342 if (SWIG_arg_fail(1)) SWIG_fail
;
30344 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30345 if (SWIG_arg_fail(2)) SWIG_fail
;
30346 if (arg2
== NULL
) {
30347 SWIG_null_ref("wxTreeItemId");
30349 if (SWIG_arg_fail(2)) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 Py_INCREF(Py_None
); resultobj
= Py_None
;
30365 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30368 wxTreeItemId
*arg2
= 0 ;
30369 PyObject
* obj0
= 0 ;
30370 PyObject
* obj1
= 0 ;
30371 char *kwnames
[] = {
30372 (char *) "self",(char *) "item", NULL
30375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30377 if (SWIG_arg_fail(1)) SWIG_fail
;
30379 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30380 if (SWIG_arg_fail(2)) SWIG_fail
;
30381 if (arg2
== NULL
) {
30382 SWIG_null_ref("wxTreeItemId");
30384 if (SWIG_arg_fail(2)) SWIG_fail
;
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 Py_INCREF(Py_None
); resultobj
= Py_None
;
30400 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
;
30402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30403 wxTreeItemId
*arg2
= 0 ;
30404 PyObject
* obj0
= 0 ;
30405 PyObject
* obj1
= 0 ;
30406 char *kwnames
[] = {
30407 (char *) "self",(char *) "item", NULL
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30412 if (SWIG_arg_fail(1)) SWIG_fail
;
30414 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30415 if (SWIG_arg_fail(2)) SWIG_fail
;
30416 if (arg2
== NULL
) {
30417 SWIG_null_ref("wxTreeItemId");
30419 if (SWIG_arg_fail(2)) SWIG_fail
;
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30428 Py_INCREF(Py_None
); resultobj
= Py_None
;
30435 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30436 PyObject
*resultobj
;
30437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30438 wxTreeItemId
*arg2
= 0 ;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 char *kwnames
[] = {
30442 (char *) "self",(char *) "item", NULL
30445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30447 if (SWIG_arg_fail(1)) SWIG_fail
;
30449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30450 if (SWIG_arg_fail(2)) SWIG_fail
;
30451 if (arg2
== NULL
) {
30452 SWIG_null_ref("wxTreeItemId");
30454 if (SWIG_arg_fail(2)) SWIG_fail
;
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 Py_INCREF(Py_None
); resultobj
= Py_None
;
30470 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
;
30472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30473 PyObject
* obj0
= 0 ;
30474 char *kwnames
[] = {
30475 (char *) "self", NULL
30478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30480 if (SWIG_arg_fail(1)) SWIG_fail
;
30482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30483 (arg1
)->Unselect();
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 Py_INCREF(Py_None
); resultobj
= Py_None
;
30495 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
;
30497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30498 wxTreeItemId
*arg2
= 0 ;
30499 PyObject
* obj0
= 0 ;
30500 PyObject
* obj1
= 0 ;
30501 char *kwnames
[] = {
30502 (char *) "self",(char *) "item", NULL
30505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30507 if (SWIG_arg_fail(1)) SWIG_fail
;
30509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30510 if (SWIG_arg_fail(2)) SWIG_fail
;
30511 if (arg2
== NULL
) {
30512 SWIG_null_ref("wxTreeItemId");
30514 if (SWIG_arg_fail(2)) SWIG_fail
;
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 Py_INCREF(Py_None
); resultobj
= Py_None
;
30530 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
;
30532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30533 PyObject
* obj0
= 0 ;
30534 char *kwnames
[] = {
30535 (char *) "self", NULL
30538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30540 if (SWIG_arg_fail(1)) SWIG_fail
;
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 (arg1
)->UnselectAll();
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 Py_INCREF(Py_None
); resultobj
= Py_None
;
30555 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30556 PyObject
*resultobj
;
30557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30558 wxTreeItemId
*arg2
= 0 ;
30559 bool arg3
= (bool) true ;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 PyObject
* obj2
= 0 ;
30563 char *kwnames
[] = {
30564 (char *) "self",(char *) "item",(char *) "select", NULL
30567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30569 if (SWIG_arg_fail(1)) SWIG_fail
;
30571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30572 if (SWIG_arg_fail(2)) SWIG_fail
;
30573 if (arg2
== NULL
) {
30574 SWIG_null_ref("wxTreeItemId");
30576 if (SWIG_arg_fail(2)) SWIG_fail
;
30580 arg3
= (bool)(SWIG_As_bool(obj2
));
30581 if (SWIG_arg_fail(3)) SWIG_fail
;
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 Py_INCREF(Py_None
); resultobj
= Py_None
;
30598 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
;
30600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30601 wxTreeItemId
*arg2
= 0 ;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 char *kwnames
[] = {
30605 (char *) "self",(char *) "item", NULL
30608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30610 if (SWIG_arg_fail(1)) SWIG_fail
;
30612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30613 if (SWIG_arg_fail(2)) SWIG_fail
;
30614 if (arg2
== NULL
) {
30615 SWIG_null_ref("wxTreeItemId");
30617 if (SWIG_arg_fail(2)) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30626 Py_INCREF(Py_None
); resultobj
= Py_None
;
30633 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30634 PyObject
*resultobj
;
30635 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30636 wxTreeItemId
*arg2
= 0 ;
30637 PyObject
* obj0
= 0 ;
30638 PyObject
* obj1
= 0 ;
30639 char *kwnames
[] = {
30640 (char *) "self",(char *) "item", NULL
30643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30645 if (SWIG_arg_fail(1)) SWIG_fail
;
30647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30648 if (SWIG_arg_fail(2)) SWIG_fail
;
30649 if (arg2
== NULL
) {
30650 SWIG_null_ref("wxTreeItemId");
30652 if (SWIG_arg_fail(2)) SWIG_fail
;
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30661 Py_INCREF(Py_None
); resultobj
= Py_None
;
30668 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
;
30670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30671 wxTreeItemId
*arg2
= 0 ;
30672 PyObject
* obj0
= 0 ;
30673 PyObject
* obj1
= 0 ;
30674 char *kwnames
[] = {
30675 (char *) "self",(char *) "item", NULL
30678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30680 if (SWIG_arg_fail(1)) SWIG_fail
;
30682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30683 if (SWIG_arg_fail(2)) SWIG_fail
;
30684 if (arg2
== NULL
) {
30685 SWIG_null_ref("wxTreeItemId");
30687 if (SWIG_arg_fail(2)) SWIG_fail
;
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30693 wxPyEndAllowThreads(__tstate
);
30694 if (PyErr_Occurred()) SWIG_fail
;
30696 Py_INCREF(Py_None
); resultobj
= Py_None
;
30703 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30704 PyObject
*resultobj
;
30705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30706 wxTreeItemId
*arg2
= 0 ;
30707 PyObject
* obj0
= 0 ;
30708 PyObject
* obj1
= 0 ;
30709 char *kwnames
[] = {
30710 (char *) "self",(char *) "item", NULL
30713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30715 if (SWIG_arg_fail(1)) SWIG_fail
;
30717 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30718 if (SWIG_arg_fail(2)) SWIG_fail
;
30719 if (arg2
== NULL
) {
30720 SWIG_null_ref("wxTreeItemId");
30722 if (SWIG_arg_fail(2)) SWIG_fail
;
30725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30726 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 Py_INCREF(Py_None
); resultobj
= Py_None
;
30738 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30739 PyObject
*resultobj
;
30740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30741 wxTextCtrl
*result
;
30742 PyObject
* obj0
= 0 ;
30743 char *kwnames
[] = {
30744 (char *) "self", NULL
30747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30749 if (SWIG_arg_fail(1)) SWIG_fail
;
30751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30752 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30758 resultobj
= wxPyMake_wxObject(result
, 0);
30766 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
;
30768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30769 wxTreeItemId
*arg2
= 0 ;
30770 PyObject
* obj0
= 0 ;
30771 PyObject
* obj1
= 0 ;
30772 char *kwnames
[] = {
30773 (char *) "self",(char *) "item", NULL
30776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30778 if (SWIG_arg_fail(1)) SWIG_fail
;
30780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30781 if (SWIG_arg_fail(2)) SWIG_fail
;
30782 if (arg2
== NULL
) {
30783 SWIG_null_ref("wxTreeItemId");
30785 if (SWIG_arg_fail(2)) SWIG_fail
;
30788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30791 wxPyEndAllowThreads(__tstate
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30794 Py_INCREF(Py_None
); resultobj
= Py_None
;
30801 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30802 PyObject
*resultobj
;
30803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30804 wxPoint
*arg2
= 0 ;
30806 wxTreeItemId result
;
30810 PyObject
* obj0
= 0 ;
30811 PyObject
* obj1
= 0 ;
30812 char *kwnames
[] = {
30813 (char *) "self",(char *) "point", NULL
30816 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30819 if (SWIG_arg_fail(1)) SWIG_fail
;
30822 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30832 wxTreeItemId
* resultptr
;
30833 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30836 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30837 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30844 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30845 PyObject
*resultobj
;
30846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30847 wxTreeItemId
*arg2
= 0 ;
30848 bool arg3
= (bool) false ;
30850 PyObject
* obj0
= 0 ;
30851 PyObject
* obj1
= 0 ;
30852 PyObject
* obj2
= 0 ;
30853 char *kwnames
[] = {
30854 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30859 if (SWIG_arg_fail(1)) SWIG_fail
;
30861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30862 if (SWIG_arg_fail(2)) SWIG_fail
;
30863 if (arg2
== NULL
) {
30864 SWIG_null_ref("wxTreeItemId");
30866 if (SWIG_arg_fail(2)) SWIG_fail
;
30870 arg3
= (bool)(SWIG_As_bool(obj2
));
30871 if (SWIG_arg_fail(3)) SWIG_fail
;
30875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30876 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= result
;
30888 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
;
30890 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30891 wxVisualAttributes result
;
30892 PyObject
* obj0
= 0 ;
30893 char *kwnames
[] = {
30894 (char *) "variant", NULL
30897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30900 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30901 if (SWIG_arg_fail(1)) SWIG_fail
;
30905 if (!wxPyCheckForApp()) SWIG_fail
;
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30909 wxPyEndAllowThreads(__tstate
);
30910 if (PyErr_Occurred()) SWIG_fail
;
30913 wxVisualAttributes
* resultptr
;
30914 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30923 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30926 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30928 return Py_BuildValue((char *)"");
30930 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30931 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30936 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30941 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30943 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30950 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
;
30952 wxWindow
*arg1
= (wxWindow
*) 0 ;
30953 int arg2
= (int) (int)-1 ;
30954 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30955 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30956 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30957 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30958 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30959 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30960 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30961 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30962 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30963 int arg8
= (int) 0 ;
30964 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30965 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30966 wxGenericDirCtrl
*result
;
30967 bool temp3
= false ;
30970 bool temp7
= false ;
30971 bool temp9
= false ;
30972 PyObject
* obj0
= 0 ;
30973 PyObject
* obj1
= 0 ;
30974 PyObject
* obj2
= 0 ;
30975 PyObject
* obj3
= 0 ;
30976 PyObject
* obj4
= 0 ;
30977 PyObject
* obj5
= 0 ;
30978 PyObject
* obj6
= 0 ;
30979 PyObject
* obj7
= 0 ;
30980 PyObject
* obj8
= 0 ;
30981 char *kwnames
[] = {
30982 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30987 if (SWIG_arg_fail(1)) SWIG_fail
;
30990 arg2
= (int const)(SWIG_As_int(obj1
));
30991 if (SWIG_arg_fail(2)) SWIG_fail
;
30996 arg3
= wxString_in_helper(obj2
);
30997 if (arg3
== NULL
) SWIG_fail
;
31004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31015 arg6
= (long)(SWIG_As_long(obj5
));
31016 if (SWIG_arg_fail(6)) SWIG_fail
;
31021 arg7
= wxString_in_helper(obj6
);
31022 if (arg7
== NULL
) SWIG_fail
;
31028 arg8
= (int)(SWIG_As_int(obj7
));
31029 if (SWIG_arg_fail(8)) SWIG_fail
;
31034 arg9
= wxString_in_helper(obj8
);
31035 if (arg9
== NULL
) SWIG_fail
;
31040 if (!wxPyCheckForApp()) SWIG_fail
;
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31078 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31079 PyObject
*resultobj
;
31080 wxGenericDirCtrl
*result
;
31081 char *kwnames
[] = {
31085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31087 if (!wxPyCheckForApp()) SWIG_fail
;
31088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31091 wxPyEndAllowThreads(__tstate
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31101 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31102 PyObject
*resultobj
;
31103 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31104 wxWindow
*arg2
= (wxWindow
*) 0 ;
31105 int arg3
= (int) (int)-1 ;
31106 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31107 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31108 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31109 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31110 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31111 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31112 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31113 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31114 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31115 int arg9
= (int) 0 ;
31116 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31117 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31119 bool temp4
= false ;
31122 bool temp8
= false ;
31123 bool temp10
= false ;
31124 PyObject
* obj0
= 0 ;
31125 PyObject
* obj1
= 0 ;
31126 PyObject
* obj2
= 0 ;
31127 PyObject
* obj3
= 0 ;
31128 PyObject
* obj4
= 0 ;
31129 PyObject
* obj5
= 0 ;
31130 PyObject
* obj6
= 0 ;
31131 PyObject
* obj7
= 0 ;
31132 PyObject
* obj8
= 0 ;
31133 PyObject
* obj9
= 0 ;
31134 char *kwnames
[] = {
31135 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31140 if (SWIG_arg_fail(1)) SWIG_fail
;
31141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31142 if (SWIG_arg_fail(2)) SWIG_fail
;
31145 arg3
= (int const)(SWIG_As_int(obj2
));
31146 if (SWIG_arg_fail(3)) SWIG_fail
;
31151 arg4
= wxString_in_helper(obj3
);
31152 if (arg4
== NULL
) SWIG_fail
;
31159 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31165 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31170 arg7
= (long)(SWIG_As_long(obj6
));
31171 if (SWIG_arg_fail(7)) SWIG_fail
;
31176 arg8
= wxString_in_helper(obj7
);
31177 if (arg8
== NULL
) SWIG_fail
;
31183 arg9
= (int)(SWIG_As_int(obj8
));
31184 if (SWIG_arg_fail(9)) SWIG_fail
;
31189 arg10
= wxString_in_helper(obj9
);
31190 if (arg10
== NULL
) SWIG_fail
;
31195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31198 wxPyEndAllowThreads(__tstate
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31234 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31235 PyObject
*resultobj
;
31236 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31237 wxString
*arg2
= 0 ;
31239 bool temp2
= false ;
31240 PyObject
* obj0
= 0 ;
31241 PyObject
* obj1
= 0 ;
31242 char *kwnames
[] = {
31243 (char *) "self",(char *) "path", NULL
31246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31248 if (SWIG_arg_fail(1)) SWIG_fail
;
31250 arg2
= wxString_in_helper(obj1
);
31251 if (arg2
== NULL
) SWIG_fail
;
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31278 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31279 PyObject
*resultobj
;
31280 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31282 PyObject
* obj0
= 0 ;
31283 char *kwnames
[] = {
31284 (char *) "self", NULL
31287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31289 if (SWIG_arg_fail(1)) SWIG_fail
;
31291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31292 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31294 wxPyEndAllowThreads(__tstate
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31310 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31311 PyObject
*resultobj
;
31312 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31313 wxString
*arg2
= 0 ;
31314 bool temp2
= false ;
31315 PyObject
* obj0
= 0 ;
31316 PyObject
* obj1
= 0 ;
31317 char *kwnames
[] = {
31318 (char *) "self",(char *) "path", NULL
31321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31323 if (SWIG_arg_fail(1)) SWIG_fail
;
31325 arg2
= wxString_in_helper(obj1
);
31326 if (arg2
== NULL
) SWIG_fail
;
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31331 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 Py_INCREF(Py_None
); resultobj
= Py_None
;
31351 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31352 PyObject
*resultobj
;
31353 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31355 PyObject
* obj0
= 0 ;
31356 char *kwnames
[] = {
31357 (char *) "self", NULL
31360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31362 if (SWIG_arg_fail(1)) SWIG_fail
;
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31383 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31384 PyObject
*resultobj
;
31385 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31387 PyObject
* obj0
= 0 ;
31388 char *kwnames
[] = {
31389 (char *) "self", NULL
31392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31394 if (SWIG_arg_fail(1)) SWIG_fail
;
31396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31397 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31399 wxPyEndAllowThreads(__tstate
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31415 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31416 PyObject
*resultobj
;
31417 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31418 wxString
*arg2
= 0 ;
31419 bool temp2
= false ;
31420 PyObject
* obj0
= 0 ;
31421 PyObject
* obj1
= 0 ;
31422 char *kwnames
[] = {
31423 (char *) "self",(char *) "path", NULL
31426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31428 if (SWIG_arg_fail(1)) SWIG_fail
;
31430 arg2
= wxString_in_helper(obj1
);
31431 if (arg2
== NULL
) SWIG_fail
;
31435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31436 (arg1
)->SetPath((wxString
const &)*arg2
);
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31441 Py_INCREF(Py_None
); resultobj
= Py_None
;
31456 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
;
31458 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31460 PyObject
* obj0
= 0 ;
31461 PyObject
* obj1
= 0 ;
31462 char *kwnames
[] = {
31463 (char *) "self",(char *) "show", NULL
31466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31468 if (SWIG_arg_fail(1)) SWIG_fail
;
31470 arg2
= (bool)(SWIG_As_bool(obj1
));
31471 if (SWIG_arg_fail(2)) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 (arg1
)->ShowHidden(arg2
);
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 Py_INCREF(Py_None
); resultobj
= Py_None
;
31487 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
;
31489 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31491 PyObject
* obj0
= 0 ;
31492 char *kwnames
[] = {
31493 (char *) "self", NULL
31496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31498 if (SWIG_arg_fail(1)) SWIG_fail
;
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 result
= (bool)(arg1
)->GetShowHidden();
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31515 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31516 PyObject
*resultobj
;
31517 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31519 PyObject
* obj0
= 0 ;
31520 char *kwnames
[] = {
31521 (char *) "self", NULL
31524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31526 if (SWIG_arg_fail(1)) SWIG_fail
;
31528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31529 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31531 wxPyEndAllowThreads(__tstate
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31547 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31548 PyObject
*resultobj
;
31549 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31550 wxString
*arg2
= 0 ;
31551 bool temp2
= false ;
31552 PyObject
* obj0
= 0 ;
31553 PyObject
* obj1
= 0 ;
31554 char *kwnames
[] = {
31555 (char *) "self",(char *) "filter", NULL
31558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31560 if (SWIG_arg_fail(1)) SWIG_fail
;
31562 arg2
= wxString_in_helper(obj1
);
31563 if (arg2
== NULL
) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 (arg1
)->SetFilter((wxString
const &)*arg2
);
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31573 Py_INCREF(Py_None
); resultobj
= Py_None
;
31588 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
;
31590 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31592 PyObject
* obj0
= 0 ;
31593 char *kwnames
[] = {
31594 (char *) "self", NULL
31597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31599 if (SWIG_arg_fail(1)) SWIG_fail
;
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31604 wxPyEndAllowThreads(__tstate
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_From_int((int)(result
));
31616 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31617 PyObject
*resultobj
;
31618 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31620 PyObject
* obj0
= 0 ;
31621 PyObject
* obj1
= 0 ;
31622 char *kwnames
[] = {
31623 (char *) "self",(char *) "n", NULL
31626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31628 if (SWIG_arg_fail(1)) SWIG_fail
;
31630 arg2
= (int)(SWIG_As_int(obj1
));
31631 if (SWIG_arg_fail(2)) SWIG_fail
;
31634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31635 (arg1
)->SetFilterIndex(arg2
);
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31640 Py_INCREF(Py_None
); resultobj
= Py_None
;
31647 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31648 PyObject
*resultobj
;
31649 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31650 wxTreeItemId result
;
31651 PyObject
* obj0
= 0 ;
31652 char *kwnames
[] = {
31653 (char *) "self", NULL
31656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31658 if (SWIG_arg_fail(1)) SWIG_fail
;
31660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31661 result
= (arg1
)->GetRootId();
31663 wxPyEndAllowThreads(__tstate
);
31664 if (PyErr_Occurred()) SWIG_fail
;
31667 wxTreeItemId
* resultptr
;
31668 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31677 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
;
31679 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31680 wxPyTreeCtrl
*result
;
31681 PyObject
* obj0
= 0 ;
31682 char *kwnames
[] = {
31683 (char *) "self", NULL
31686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31688 if (SWIG_arg_fail(1)) SWIG_fail
;
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31697 resultobj
= wxPyMake_wxObject(result
, 0);
31705 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31706 PyObject
*resultobj
;
31707 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31708 wxDirFilterListCtrl
*result
;
31709 PyObject
* obj0
= 0 ;
31710 char *kwnames
[] = {
31711 (char *) "self", NULL
31714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31716 if (SWIG_arg_fail(1)) SWIG_fail
;
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31719 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31721 wxPyEndAllowThreads(__tstate
);
31722 if (PyErr_Occurred()) SWIG_fail
;
31724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31731 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31732 PyObject
*resultobj
;
31733 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31734 wxTreeItemId arg2
;
31735 wxString
*arg3
= 0 ;
31737 wxTreeItemId result
;
31738 bool temp3
= false ;
31741 PyObject
* obj0
= 0 ;
31742 PyObject
* obj1
= 0 ;
31743 PyObject
* obj2
= 0 ;
31744 char *kwnames
[] = {
31745 (char *) "self",(char *) "parentId",(char *) "path", NULL
31748 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31751 if (SWIG_arg_fail(1)) SWIG_fail
;
31753 wxTreeItemId
* argp
;
31754 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31755 if (SWIG_arg_fail(2)) SWIG_fail
;
31756 if (argp
== NULL
) {
31757 SWIG_null_ref("wxTreeItemId");
31759 if (SWIG_arg_fail(2)) SWIG_fail
;
31763 arg3
= wxString_in_helper(obj2
);
31764 if (arg3
== NULL
) SWIG_fail
;
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31771 wxPyEndAllowThreads(__tstate
);
31772 if (PyErr_Occurred()) SWIG_fail
;
31775 wxTreeItemId
* resultptr
;
31776 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31779 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31780 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31795 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31796 PyObject
*resultobj
;
31797 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31798 PyObject
* obj0
= 0 ;
31799 char *kwnames
[] = {
31800 (char *) "self", NULL
31803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31805 if (SWIG_arg_fail(1)) SWIG_fail
;
31807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31808 (arg1
)->DoResize();
31810 wxPyEndAllowThreads(__tstate
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31813 Py_INCREF(Py_None
); resultobj
= Py_None
;
31820 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31821 PyObject
*resultobj
;
31822 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31823 PyObject
* obj0
= 0 ;
31824 char *kwnames
[] = {
31825 (char *) "self", NULL
31828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31830 if (SWIG_arg_fail(1)) SWIG_fail
;
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 (arg1
)->ReCreateTree();
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 Py_INCREF(Py_None
); resultobj
= Py_None
;
31845 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31848 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31850 return Py_BuildValue((char *)"");
31852 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31853 PyObject
*resultobj
;
31854 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31855 int arg2
= (int) (int)-1 ;
31856 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31857 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31858 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31859 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31860 long arg5
= (long) 0 ;
31861 wxDirFilterListCtrl
*result
;
31864 PyObject
* obj0
= 0 ;
31865 PyObject
* obj1
= 0 ;
31866 PyObject
* obj2
= 0 ;
31867 PyObject
* obj3
= 0 ;
31868 PyObject
* obj4
= 0 ;
31869 char *kwnames
[] = {
31870 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31875 if (SWIG_arg_fail(1)) SWIG_fail
;
31878 arg2
= (int const)(SWIG_As_int(obj1
));
31879 if (SWIG_arg_fail(2)) SWIG_fail
;
31885 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31891 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31896 arg5
= (long)(SWIG_As_long(obj4
));
31897 if (SWIG_arg_fail(5)) SWIG_fail
;
31901 if (!wxPyCheckForApp()) SWIG_fail
;
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31905 wxPyEndAllowThreads(__tstate
);
31906 if (PyErr_Occurred()) SWIG_fail
;
31908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31915 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31916 PyObject
*resultobj
;
31917 wxDirFilterListCtrl
*result
;
31918 char *kwnames
[] = {
31922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31924 if (!wxPyCheckForApp()) SWIG_fail
;
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31926 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31938 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31939 PyObject
*resultobj
;
31940 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31941 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31942 int arg3
= (int) (int)-1 ;
31943 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31944 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31945 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31946 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31947 long arg6
= (long) 0 ;
31951 PyObject
* obj0
= 0 ;
31952 PyObject
* obj1
= 0 ;
31953 PyObject
* obj2
= 0 ;
31954 PyObject
* obj3
= 0 ;
31955 PyObject
* obj4
= 0 ;
31956 PyObject
* obj5
= 0 ;
31957 char *kwnames
[] = {
31958 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31963 if (SWIG_arg_fail(1)) SWIG_fail
;
31964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31965 if (SWIG_arg_fail(2)) SWIG_fail
;
31968 arg3
= (int const)(SWIG_As_int(obj2
));
31969 if (SWIG_arg_fail(3)) SWIG_fail
;
31975 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31981 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31986 arg6
= (long)(SWIG_As_long(obj5
));
31987 if (SWIG_arg_fail(6)) SWIG_fail
;
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
31994 wxPyEndAllowThreads(__tstate
);
31995 if (PyErr_Occurred()) SWIG_fail
;
31998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32006 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32007 PyObject
*resultobj
;
32008 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32009 wxString
*arg2
= 0 ;
32011 bool temp2
= false ;
32012 PyObject
* obj0
= 0 ;
32013 PyObject
* obj1
= 0 ;
32014 PyObject
* obj2
= 0 ;
32015 char *kwnames
[] = {
32016 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32021 if (SWIG_arg_fail(1)) SWIG_fail
;
32023 arg2
= wxString_in_helper(obj1
);
32024 if (arg2
== NULL
) SWIG_fail
;
32028 arg3
= (int)(SWIG_As_int(obj2
));
32029 if (SWIG_arg_fail(3)) SWIG_fail
;
32032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32033 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32035 wxPyEndAllowThreads(__tstate
);
32036 if (PyErr_Occurred()) SWIG_fail
;
32038 Py_INCREF(Py_None
); resultobj
= Py_None
;
32053 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32056 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32058 return Py_BuildValue((char *)"");
32060 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32061 PyObject
*resultobj
;
32062 wxWindow
*arg1
= (wxWindow
*) 0 ;
32063 int arg2
= (int) (int)-1 ;
32064 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32065 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32066 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32067 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32068 long arg5
= (long) 0 ;
32069 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32070 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32071 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32072 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32073 wxPyControl
*result
;
32076 bool temp7
= false ;
32077 PyObject
* obj0
= 0 ;
32078 PyObject
* obj1
= 0 ;
32079 PyObject
* obj2
= 0 ;
32080 PyObject
* obj3
= 0 ;
32081 PyObject
* obj4
= 0 ;
32082 PyObject
* obj5
= 0 ;
32083 PyObject
* obj6
= 0 ;
32084 char *kwnames
[] = {
32085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32090 if (SWIG_arg_fail(1)) SWIG_fail
;
32093 arg2
= (int const)(SWIG_As_int(obj1
));
32094 if (SWIG_arg_fail(2)) SWIG_fail
;
32100 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32106 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32111 arg5
= (long)(SWIG_As_long(obj4
));
32112 if (SWIG_arg_fail(5)) SWIG_fail
;
32117 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32118 if (SWIG_arg_fail(6)) SWIG_fail
;
32119 if (arg6
== NULL
) {
32120 SWIG_null_ref("wxValidator");
32122 if (SWIG_arg_fail(6)) SWIG_fail
;
32127 arg7
= wxString_in_helper(obj6
);
32128 if (arg7
== NULL
) SWIG_fail
;
32133 if (!wxPyCheckForApp()) SWIG_fail
;
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32135 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32137 wxPyEndAllowThreads(__tstate
);
32138 if (PyErr_Occurred()) SWIG_fail
;
32140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32155 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32156 PyObject
*resultobj
;
32157 wxPyControl
*result
;
32158 char *kwnames
[] = {
32162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32164 if (!wxPyCheckForApp()) SWIG_fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 result
= (wxPyControl
*)new wxPyControl();
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32178 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
;
32180 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32181 PyObject
*arg2
= (PyObject
*) 0 ;
32182 PyObject
*arg3
= (PyObject
*) 0 ;
32183 PyObject
* obj0
= 0 ;
32184 PyObject
* obj1
= 0 ;
32185 PyObject
* obj2
= 0 ;
32186 char *kwnames
[] = {
32187 (char *) "self",(char *) "self",(char *) "_class", NULL
32190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32192 if (SWIG_arg_fail(1)) SWIG_fail
;
32196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32197 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32199 wxPyEndAllowThreads(__tstate
);
32200 if (PyErr_Occurred()) SWIG_fail
;
32202 Py_INCREF(Py_None
); resultobj
= Py_None
;
32209 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32210 PyObject
*resultobj
;
32211 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32214 PyObject
* obj0
= 0 ;
32215 PyObject
* obj1
= 0 ;
32216 char *kwnames
[] = {
32217 (char *) "self",(char *) "size", NULL
32220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32222 if (SWIG_arg_fail(1)) SWIG_fail
;
32225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32231 wxPyEndAllowThreads(__tstate
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32234 Py_INCREF(Py_None
); resultobj
= Py_None
;
32241 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32242 PyObject
*resultobj
;
32243 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32248 PyObject
* obj0
= 0 ;
32249 PyObject
* obj1
= 0 ;
32250 PyObject
* obj2
= 0 ;
32251 PyObject
* obj3
= 0 ;
32252 PyObject
* obj4
= 0 ;
32253 char *kwnames
[] = {
32254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32259 if (SWIG_arg_fail(1)) SWIG_fail
;
32261 arg2
= (int)(SWIG_As_int(obj1
));
32262 if (SWIG_arg_fail(2)) SWIG_fail
;
32265 arg3
= (int)(SWIG_As_int(obj2
));
32266 if (SWIG_arg_fail(3)) SWIG_fail
;
32269 arg4
= (int)(SWIG_As_int(obj3
));
32270 if (SWIG_arg_fail(4)) SWIG_fail
;
32273 arg5
= (int)(SWIG_As_int(obj4
));
32274 if (SWIG_arg_fail(5)) SWIG_fail
;
32277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32278 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32280 wxPyEndAllowThreads(__tstate
);
32281 if (PyErr_Occurred()) SWIG_fail
;
32283 Py_INCREF(Py_None
); resultobj
= Py_None
;
32290 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32291 PyObject
*resultobj
;
32292 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32297 int arg6
= (int) wxSIZE_AUTO
;
32298 PyObject
* obj0
= 0 ;
32299 PyObject
* obj1
= 0 ;
32300 PyObject
* obj2
= 0 ;
32301 PyObject
* obj3
= 0 ;
32302 PyObject
* obj4
= 0 ;
32303 PyObject
* obj5
= 0 ;
32304 char *kwnames
[] = {
32305 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32310 if (SWIG_arg_fail(1)) SWIG_fail
;
32312 arg2
= (int)(SWIG_As_int(obj1
));
32313 if (SWIG_arg_fail(2)) SWIG_fail
;
32316 arg3
= (int)(SWIG_As_int(obj2
));
32317 if (SWIG_arg_fail(3)) SWIG_fail
;
32320 arg4
= (int)(SWIG_As_int(obj3
));
32321 if (SWIG_arg_fail(4)) SWIG_fail
;
32324 arg5
= (int)(SWIG_As_int(obj4
));
32325 if (SWIG_arg_fail(5)) SWIG_fail
;
32329 arg6
= (int)(SWIG_As_int(obj5
));
32330 if (SWIG_arg_fail(6)) SWIG_fail
;
32334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32335 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32340 Py_INCREF(Py_None
); resultobj
= Py_None
;
32347 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32348 PyObject
*resultobj
;
32349 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32352 PyObject
* obj0
= 0 ;
32353 PyObject
* obj1
= 0 ;
32354 PyObject
* obj2
= 0 ;
32355 char *kwnames
[] = {
32356 (char *) "self",(char *) "width",(char *) "height", NULL
32359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32361 if (SWIG_arg_fail(1)) SWIG_fail
;
32363 arg2
= (int)(SWIG_As_int(obj1
));
32364 if (SWIG_arg_fail(2)) SWIG_fail
;
32367 arg3
= (int)(SWIG_As_int(obj2
));
32368 if (SWIG_arg_fail(3)) SWIG_fail
;
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32372 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32374 wxPyEndAllowThreads(__tstate
);
32375 if (PyErr_Occurred()) SWIG_fail
;
32377 Py_INCREF(Py_None
); resultobj
= Py_None
;
32384 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32385 PyObject
*resultobj
;
32386 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32389 PyObject
* obj0
= 0 ;
32390 PyObject
* obj1
= 0 ;
32391 PyObject
* obj2
= 0 ;
32392 char *kwnames
[] = {
32393 (char *) "self",(char *) "x",(char *) "y", NULL
32396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32398 if (SWIG_arg_fail(1)) SWIG_fail
;
32400 arg2
= (int)(SWIG_As_int(obj1
));
32401 if (SWIG_arg_fail(2)) SWIG_fail
;
32404 arg3
= (int)(SWIG_As_int(obj2
));
32405 if (SWIG_arg_fail(3)) SWIG_fail
;
32408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32409 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32411 wxPyEndAllowThreads(__tstate
);
32412 if (PyErr_Occurred()) SWIG_fail
;
32414 Py_INCREF(Py_None
); resultobj
= Py_None
;
32421 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32422 PyObject
*resultobj
;
32423 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32424 int *arg2
= (int *) 0 ;
32425 int *arg3
= (int *) 0 ;
32430 PyObject
* obj0
= 0 ;
32431 char *kwnames
[] = {
32432 (char *) "self", NULL
32435 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32436 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32439 if (SWIG_arg_fail(1)) SWIG_fail
;
32441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32442 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 Py_INCREF(Py_None
); resultobj
= Py_None
;
32448 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32449 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32450 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32451 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32458 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32459 PyObject
*resultobj
;
32460 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32461 int *arg2
= (int *) 0 ;
32462 int *arg3
= (int *) 0 ;
32467 PyObject
* obj0
= 0 ;
32468 char *kwnames
[] = {
32469 (char *) "self", NULL
32472 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32473 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32476 if (SWIG_arg_fail(1)) SWIG_fail
;
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32484 Py_INCREF(Py_None
); resultobj
= Py_None
;
32485 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32486 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32487 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32488 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32495 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32496 PyObject
*resultobj
;
32497 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32498 int *arg2
= (int *) 0 ;
32499 int *arg3
= (int *) 0 ;
32504 PyObject
* obj0
= 0 ;
32505 char *kwnames
[] = {
32506 (char *) "self", NULL
32509 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32510 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32513 if (SWIG_arg_fail(1)) SWIG_fail
;
32515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32516 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32521 Py_INCREF(Py_None
); resultobj
= Py_None
;
32522 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32523 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32524 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32525 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32532 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32533 PyObject
*resultobj
;
32534 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32536 PyObject
* obj0
= 0 ;
32537 char *kwnames
[] = {
32538 (char *) "self", NULL
32541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32543 if (SWIG_arg_fail(1)) SWIG_fail
;
32545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32546 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32548 wxPyEndAllowThreads(__tstate
);
32549 if (PyErr_Occurred()) SWIG_fail
;
32552 wxSize
* resultptr
;
32553 resultptr
= new wxSize((wxSize
&)(result
));
32554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32562 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32563 PyObject
*resultobj
;
32564 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32566 PyObject
* obj0
= 0 ;
32567 char *kwnames
[] = {
32568 (char *) "self", NULL
32571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32573 if (SWIG_arg_fail(1)) SWIG_fail
;
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32578 wxPyEndAllowThreads(__tstate
);
32579 if (PyErr_Occurred()) SWIG_fail
;
32582 wxSize
* resultptr
;
32583 resultptr
= new wxSize((wxSize
&)(result
));
32584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32592 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32593 PyObject
*resultobj
;
32594 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32595 PyObject
* obj0
= 0 ;
32596 char *kwnames
[] = {
32597 (char *) "self", NULL
32600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32602 if (SWIG_arg_fail(1)) SWIG_fail
;
32604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32605 (arg1
)->base_InitDialog();
32607 wxPyEndAllowThreads(__tstate
);
32608 if (PyErr_Occurred()) SWIG_fail
;
32610 Py_INCREF(Py_None
); resultobj
= Py_None
;
32617 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32618 PyObject
*resultobj
;
32619 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32621 PyObject
* obj0
= 0 ;
32622 char *kwnames
[] = {
32623 (char *) "self", NULL
32626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32628 if (SWIG_arg_fail(1)) SWIG_fail
;
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 result
= (bool)(arg1
)->base_TransferDataToWindow();
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32645 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32646 PyObject
*resultobj
;
32647 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32649 PyObject
* obj0
= 0 ;
32650 char *kwnames
[] = {
32651 (char *) "self", NULL
32654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32656 if (SWIG_arg_fail(1)) SWIG_fail
;
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32659 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32673 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
;
32675 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32677 PyObject
* obj0
= 0 ;
32678 char *kwnames
[] = {
32679 (char *) "self", NULL
32682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32684 if (SWIG_arg_fail(1)) SWIG_fail
;
32686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32687 result
= (bool)(arg1
)->base_Validate();
32689 wxPyEndAllowThreads(__tstate
);
32690 if (PyErr_Occurred()) SWIG_fail
;
32693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32701 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32702 PyObject
*resultobj
;
32703 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32705 PyObject
* obj0
= 0 ;
32706 char *kwnames
[] = {
32707 (char *) "self", NULL
32710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32712 if (SWIG_arg_fail(1)) SWIG_fail
;
32714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32715 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32717 wxPyEndAllowThreads(__tstate
);
32718 if (PyErr_Occurred()) SWIG_fail
;
32721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32729 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32730 PyObject
*resultobj
;
32731 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32733 PyObject
* obj0
= 0 ;
32734 char *kwnames
[] = {
32735 (char *) "self", NULL
32738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32740 if (SWIG_arg_fail(1)) SWIG_fail
;
32742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32743 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32745 wxPyEndAllowThreads(__tstate
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32757 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32758 PyObject
*resultobj
;
32759 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32761 PyObject
* obj0
= 0 ;
32762 char *kwnames
[] = {
32763 (char *) "self", NULL
32766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32768 if (SWIG_arg_fail(1)) SWIG_fail
;
32770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32771 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32777 wxSize
* resultptr
;
32778 resultptr
= new wxSize((wxSize
&)(result
));
32779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32787 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32788 PyObject
*resultobj
;
32789 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32790 wxWindow
*arg2
= (wxWindow
*) 0 ;
32791 PyObject
* obj0
= 0 ;
32792 PyObject
* obj1
= 0 ;
32793 char *kwnames
[] = {
32794 (char *) "self",(char *) "child", NULL
32797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32799 if (SWIG_arg_fail(1)) SWIG_fail
;
32800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32801 if (SWIG_arg_fail(2)) SWIG_fail
;
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 (arg1
)->base_AddChild(arg2
);
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 Py_INCREF(Py_None
); resultobj
= Py_None
;
32816 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
;
32818 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32819 wxWindow
*arg2
= (wxWindow
*) 0 ;
32820 PyObject
* obj0
= 0 ;
32821 PyObject
* obj1
= 0 ;
32822 char *kwnames
[] = {
32823 (char *) "self",(char *) "child", NULL
32826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32828 if (SWIG_arg_fail(1)) SWIG_fail
;
32829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32830 if (SWIG_arg_fail(2)) SWIG_fail
;
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 (arg1
)->base_RemoveChild(arg2
);
32835 wxPyEndAllowThreads(__tstate
);
32836 if (PyErr_Occurred()) SWIG_fail
;
32838 Py_INCREF(Py_None
); resultobj
= Py_None
;
32845 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32846 PyObject
*resultobj
;
32847 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32849 PyObject
* obj0
= 0 ;
32850 char *kwnames
[] = {
32851 (char *) "self", NULL
32854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32856 if (SWIG_arg_fail(1)) SWIG_fail
;
32858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32859 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32861 wxPyEndAllowThreads(__tstate
);
32862 if (PyErr_Occurred()) SWIG_fail
;
32865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32873 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
;
32875 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32876 wxVisualAttributes result
;
32877 PyObject
* obj0
= 0 ;
32878 char *kwnames
[] = {
32879 (char *) "self", NULL
32882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32884 if (SWIG_arg_fail(1)) SWIG_fail
;
32886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32887 result
= (arg1
)->base_GetDefaultAttributes();
32889 wxPyEndAllowThreads(__tstate
);
32890 if (PyErr_Occurred()) SWIG_fail
;
32893 wxVisualAttributes
* resultptr
;
32894 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32903 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32906 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32908 return Py_BuildValue((char *)"");
32910 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32911 PyObject
*resultobj
;
32912 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32913 int arg2
= (int) 0 ;
32914 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32915 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32916 wxHelpEvent
*result
;
32918 PyObject
* obj0
= 0 ;
32919 PyObject
* obj1
= 0 ;
32920 PyObject
* obj2
= 0 ;
32921 char *kwnames
[] = {
32922 (char *) "type",(char *) "winid",(char *) "pt", NULL
32925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32928 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32929 if (SWIG_arg_fail(1)) SWIG_fail
;
32934 arg2
= (int)(SWIG_As_int(obj1
));
32935 if (SWIG_arg_fail(2)) SWIG_fail
;
32941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32946 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32948 wxPyEndAllowThreads(__tstate
);
32949 if (PyErr_Occurred()) SWIG_fail
;
32951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32958 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32959 PyObject
*resultobj
;
32960 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32962 PyObject
* obj0
= 0 ;
32963 char *kwnames
[] = {
32964 (char *) "self", NULL
32967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32969 if (SWIG_arg_fail(1)) SWIG_fail
;
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32972 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32978 wxPoint
* resultptr
;
32979 resultptr
= new wxPoint((wxPoint
const &)(result
));
32980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
32988 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32989 PyObject
*resultobj
;
32990 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32991 wxPoint
*arg2
= 0 ;
32993 PyObject
* obj0
= 0 ;
32994 PyObject
* obj1
= 0 ;
32995 char *kwnames
[] = {
32996 (char *) "self",(char *) "pos", NULL
32999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33001 if (SWIG_arg_fail(1)) SWIG_fail
;
33004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33008 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33013 Py_INCREF(Py_None
); resultobj
= Py_None
;
33020 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33021 PyObject
*resultobj
;
33022 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33024 PyObject
* obj0
= 0 ;
33025 char *kwnames
[] = {
33026 (char *) "self", NULL
33029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33031 if (SWIG_arg_fail(1)) SWIG_fail
;
33033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33035 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33036 result
= (wxString
*) &_result_ref
;
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33044 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33046 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33055 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
;
33057 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33058 wxString
*arg2
= 0 ;
33059 bool temp2
= false ;
33060 PyObject
* obj0
= 0 ;
33061 PyObject
* obj1
= 0 ;
33062 char *kwnames
[] = {
33063 (char *) "self",(char *) "link", NULL
33066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33068 if (SWIG_arg_fail(1)) SWIG_fail
;
33070 arg2
= wxString_in_helper(obj1
);
33071 if (arg2
== NULL
) SWIG_fail
;
33075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33076 (arg1
)->SetLink((wxString
const &)*arg2
);
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33081 Py_INCREF(Py_None
); resultobj
= Py_None
;
33096 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33097 PyObject
*resultobj
;
33098 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33100 PyObject
* obj0
= 0 ;
33101 char *kwnames
[] = {
33102 (char *) "self", NULL
33105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33107 if (SWIG_arg_fail(1)) SWIG_fail
;
33109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33111 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33112 result
= (wxString
*) &_result_ref
;
33115 wxPyEndAllowThreads(__tstate
);
33116 if (PyErr_Occurred()) SWIG_fail
;
33120 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33122 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33131 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33132 PyObject
*resultobj
;
33133 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33134 wxString
*arg2
= 0 ;
33135 bool temp2
= false ;
33136 PyObject
* obj0
= 0 ;
33137 PyObject
* obj1
= 0 ;
33138 char *kwnames
[] = {
33139 (char *) "self",(char *) "target", NULL
33142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33144 if (SWIG_arg_fail(1)) SWIG_fail
;
33146 arg2
= wxString_in_helper(obj1
);
33147 if (arg2
== NULL
) SWIG_fail
;
33151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33152 (arg1
)->SetTarget((wxString
const &)*arg2
);
33154 wxPyEndAllowThreads(__tstate
);
33155 if (PyErr_Occurred()) SWIG_fail
;
33157 Py_INCREF(Py_None
); resultobj
= Py_None
;
33172 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33175 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33177 return Py_BuildValue((char *)"");
33179 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33180 PyObject
*resultobj
;
33181 wxWindow
*arg1
= (wxWindow
*) NULL
;
33182 bool arg2
= (bool) true ;
33183 wxContextHelp
*result
;
33184 PyObject
* obj0
= 0 ;
33185 PyObject
* obj1
= 0 ;
33186 char *kwnames
[] = {
33187 (char *) "window",(char *) "doNow", NULL
33190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33193 if (SWIG_arg_fail(1)) SWIG_fail
;
33197 arg2
= (bool)(SWIG_As_bool(obj1
));
33198 if (SWIG_arg_fail(2)) SWIG_fail
;
33202 if (!wxPyCheckForApp()) SWIG_fail
;
33203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33204 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33216 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33217 PyObject
*resultobj
;
33218 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33219 PyObject
* obj0
= 0 ;
33220 char *kwnames
[] = {
33221 (char *) "self", NULL
33224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33226 if (SWIG_arg_fail(1)) SWIG_fail
;
33228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 Py_INCREF(Py_None
); resultobj
= Py_None
;
33241 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33242 PyObject
*resultobj
;
33243 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33244 wxWindow
*arg2
= (wxWindow
*) NULL
;
33246 PyObject
* obj0
= 0 ;
33247 PyObject
* obj1
= 0 ;
33248 char *kwnames
[] = {
33249 (char *) "self",(char *) "window", NULL
33252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33254 if (SWIG_arg_fail(1)) SWIG_fail
;
33256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33257 if (SWIG_arg_fail(2)) SWIG_fail
;
33260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33261 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33263 wxPyEndAllowThreads(__tstate
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33275 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33276 PyObject
*resultobj
;
33277 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33279 PyObject
* obj0
= 0 ;
33280 char *kwnames
[] = {
33281 (char *) "self", NULL
33284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33286 if (SWIG_arg_fail(1)) SWIG_fail
;
33288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33289 result
= (bool)(arg1
)->EndContextHelp();
33291 wxPyEndAllowThreads(__tstate
);
33292 if (PyErr_Occurred()) SWIG_fail
;
33295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33303 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33306 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33308 return Py_BuildValue((char *)"");
33310 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33311 PyObject
*resultobj
;
33312 wxWindow
*arg1
= (wxWindow
*) 0 ;
33313 int arg2
= (int) wxID_CONTEXT_HELP
;
33314 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33315 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33316 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33317 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33318 long arg5
= (long) wxBU_AUTODRAW
;
33319 wxContextHelpButton
*result
;
33322 PyObject
* obj0
= 0 ;
33323 PyObject
* obj1
= 0 ;
33324 PyObject
* obj2
= 0 ;
33325 PyObject
* obj3
= 0 ;
33326 PyObject
* obj4
= 0 ;
33327 char *kwnames
[] = {
33328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33333 if (SWIG_arg_fail(1)) SWIG_fail
;
33336 arg2
= (int)(SWIG_As_int(obj1
));
33337 if (SWIG_arg_fail(2)) SWIG_fail
;
33343 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33349 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33354 arg5
= (long)(SWIG_As_long(obj4
));
33355 if (SWIG_arg_fail(5)) SWIG_fail
;
33359 if (!wxPyCheckForApp()) SWIG_fail
;
33360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33361 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33363 wxPyEndAllowThreads(__tstate
);
33364 if (PyErr_Occurred()) SWIG_fail
;
33366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33373 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33376 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33378 return Py_BuildValue((char *)"");
33380 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33381 PyObject
*resultobj
;
33382 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33383 wxHelpProvider
*result
;
33384 PyObject
* obj0
= 0 ;
33385 char *kwnames
[] = {
33386 (char *) "helpProvider", NULL
33389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33391 if (SWIG_arg_fail(1)) SWIG_fail
;
33393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33394 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33396 wxPyEndAllowThreads(__tstate
);
33397 if (PyErr_Occurred()) SWIG_fail
;
33399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33406 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33407 PyObject
*resultobj
;
33408 wxHelpProvider
*result
;
33409 char *kwnames
[] = {
33413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33428 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
;
33430 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33431 wxWindow
*arg2
= (wxWindow
*) 0 ;
33433 PyObject
* obj0
= 0 ;
33434 PyObject
* obj1
= 0 ;
33435 char *kwnames
[] = {
33436 (char *) "self",(char *) "window", NULL
33439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33441 if (SWIG_arg_fail(1)) SWIG_fail
;
33442 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33443 if (SWIG_arg_fail(2)) SWIG_fail
;
33445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33446 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33448 wxPyEndAllowThreads(__tstate
);
33449 if (PyErr_Occurred()) SWIG_fail
;
33453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33464 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33465 PyObject
*resultobj
;
33466 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33467 wxWindow
*arg2
= (wxWindow
*) 0 ;
33469 PyObject
* obj0
= 0 ;
33470 PyObject
* obj1
= 0 ;
33471 char *kwnames
[] = {
33472 (char *) "self",(char *) "window", NULL
33475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33477 if (SWIG_arg_fail(1)) SWIG_fail
;
33478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33479 if (SWIG_arg_fail(2)) SWIG_fail
;
33481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33482 result
= (bool)(arg1
)->ShowHelp(arg2
);
33484 wxPyEndAllowThreads(__tstate
);
33485 if (PyErr_Occurred()) SWIG_fail
;
33488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33496 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33497 PyObject
*resultobj
;
33498 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33499 wxWindow
*arg2
= (wxWindow
*) 0 ;
33500 wxString
*arg3
= 0 ;
33501 bool temp3
= false ;
33502 PyObject
* obj0
= 0 ;
33503 PyObject
* obj1
= 0 ;
33504 PyObject
* obj2
= 0 ;
33505 char *kwnames
[] = {
33506 (char *) "self",(char *) "window",(char *) "text", NULL
33509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33511 if (SWIG_arg_fail(1)) SWIG_fail
;
33512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33513 if (SWIG_arg_fail(2)) SWIG_fail
;
33515 arg3
= wxString_in_helper(obj2
);
33516 if (arg3
== NULL
) SWIG_fail
;
33520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33521 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33523 wxPyEndAllowThreads(__tstate
);
33524 if (PyErr_Occurred()) SWIG_fail
;
33526 Py_INCREF(Py_None
); resultobj
= Py_None
;
33541 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33542 PyObject
*resultobj
;
33543 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33545 wxString
*arg3
= 0 ;
33546 bool temp3
= false ;
33547 PyObject
* obj0
= 0 ;
33548 PyObject
* obj1
= 0 ;
33549 PyObject
* obj2
= 0 ;
33550 char *kwnames
[] = {
33551 (char *) "self",(char *) "id",(char *) "text", NULL
33554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33556 if (SWIG_arg_fail(1)) SWIG_fail
;
33558 arg2
= (int)(SWIG_As_int(obj1
));
33559 if (SWIG_arg_fail(2)) SWIG_fail
;
33562 arg3
= wxString_in_helper(obj2
);
33563 if (arg3
== NULL
) SWIG_fail
;
33567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33568 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33570 wxPyEndAllowThreads(__tstate
);
33571 if (PyErr_Occurred()) SWIG_fail
;
33573 Py_INCREF(Py_None
); resultobj
= Py_None
;
33588 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33589 PyObject
*resultobj
;
33590 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33591 wxWindow
*arg2
= (wxWindow
*) 0 ;
33592 PyObject
* obj0
= 0 ;
33593 PyObject
* obj1
= 0 ;
33594 char *kwnames
[] = {
33595 (char *) "self",(char *) "window", NULL
33598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33600 if (SWIG_arg_fail(1)) SWIG_fail
;
33601 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33602 if (SWIG_arg_fail(2)) SWIG_fail
;
33604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33605 (arg1
)->RemoveHelp(arg2
);
33607 wxPyEndAllowThreads(__tstate
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33610 Py_INCREF(Py_None
); resultobj
= Py_None
;
33617 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33618 PyObject
*resultobj
;
33619 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33620 PyObject
* obj0
= 0 ;
33621 char *kwnames
[] = {
33622 (char *) "self", NULL
33625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33627 if (SWIG_arg_fail(1)) SWIG_fail
;
33629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33630 wxHelpProvider_Destroy(arg1
);
33632 wxPyEndAllowThreads(__tstate
);
33633 if (PyErr_Occurred()) SWIG_fail
;
33635 Py_INCREF(Py_None
); resultobj
= Py_None
;
33642 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33645 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33647 return Py_BuildValue((char *)"");
33649 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33650 PyObject
*resultobj
;
33651 wxSimpleHelpProvider
*result
;
33652 char *kwnames
[] = {
33656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33671 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33674 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33676 return Py_BuildValue((char *)"");
33678 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33679 PyObject
*resultobj
;
33680 wxBitmap
*arg1
= 0 ;
33681 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33682 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33683 wxGenericDragImage
*result
;
33684 PyObject
* obj0
= 0 ;
33685 PyObject
* obj1
= 0 ;
33686 char *kwnames
[] = {
33687 (char *) "image",(char *) "cursor", NULL
33690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33693 if (SWIG_arg_fail(1)) SWIG_fail
;
33694 if (arg1
== NULL
) {
33695 SWIG_null_ref("wxBitmap");
33697 if (SWIG_arg_fail(1)) SWIG_fail
;
33701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33702 if (SWIG_arg_fail(2)) SWIG_fail
;
33703 if (arg2
== NULL
) {
33704 SWIG_null_ref("wxCursor");
33706 if (SWIG_arg_fail(2)) SWIG_fail
;
33710 if (!wxPyCheckForApp()) SWIG_fail
;
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33714 wxPyEndAllowThreads(__tstate
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33724 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33725 PyObject
*resultobj
;
33727 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33728 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33729 wxGenericDragImage
*result
;
33730 PyObject
* obj0
= 0 ;
33731 PyObject
* obj1
= 0 ;
33732 char *kwnames
[] = {
33733 (char *) "image",(char *) "cursor", NULL
33736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33739 if (SWIG_arg_fail(1)) SWIG_fail
;
33740 if (arg1
== NULL
) {
33741 SWIG_null_ref("wxIcon");
33743 if (SWIG_arg_fail(1)) SWIG_fail
;
33747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33748 if (SWIG_arg_fail(2)) SWIG_fail
;
33749 if (arg2
== NULL
) {
33750 SWIG_null_ref("wxCursor");
33752 if (SWIG_arg_fail(2)) SWIG_fail
;
33756 if (!wxPyCheckForApp()) SWIG_fail
;
33757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33758 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33760 wxPyEndAllowThreads(__tstate
);
33761 if (PyErr_Occurred()) SWIG_fail
;
33763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33770 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33771 PyObject
*resultobj
;
33772 wxString
*arg1
= 0 ;
33773 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33774 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33775 wxGenericDragImage
*result
;
33776 bool temp1
= false ;
33777 PyObject
* obj0
= 0 ;
33778 PyObject
* obj1
= 0 ;
33779 char *kwnames
[] = {
33780 (char *) "str",(char *) "cursor", NULL
33783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33785 arg1
= wxString_in_helper(obj0
);
33786 if (arg1
== NULL
) SWIG_fail
;
33791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33792 if (SWIG_arg_fail(2)) SWIG_fail
;
33793 if (arg2
== NULL
) {
33794 SWIG_null_ref("wxCursor");
33796 if (SWIG_arg_fail(2)) SWIG_fail
;
33800 if (!wxPyCheckForApp()) SWIG_fail
;
33801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33802 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33804 wxPyEndAllowThreads(__tstate
);
33805 if (PyErr_Occurred()) SWIG_fail
;
33807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33822 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33823 PyObject
*resultobj
;
33824 wxPyTreeCtrl
*arg1
= 0 ;
33825 wxTreeItemId
*arg2
= 0 ;
33826 wxGenericDragImage
*result
;
33827 PyObject
* obj0
= 0 ;
33828 PyObject
* obj1
= 0 ;
33829 char *kwnames
[] = {
33830 (char *) "treeCtrl",(char *) "id", NULL
33833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33836 if (SWIG_arg_fail(1)) SWIG_fail
;
33837 if (arg1
== NULL
) {
33838 SWIG_null_ref("wxPyTreeCtrl");
33840 if (SWIG_arg_fail(1)) SWIG_fail
;
33843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33844 if (SWIG_arg_fail(2)) SWIG_fail
;
33845 if (arg2
== NULL
) {
33846 SWIG_null_ref("wxTreeItemId");
33848 if (SWIG_arg_fail(2)) SWIG_fail
;
33851 if (!wxPyCheckForApp()) SWIG_fail
;
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33855 wxPyEndAllowThreads(__tstate
);
33856 if (PyErr_Occurred()) SWIG_fail
;
33858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33865 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33866 PyObject
*resultobj
;
33867 wxPyListCtrl
*arg1
= 0 ;
33869 wxGenericDragImage
*result
;
33870 PyObject
* obj0
= 0 ;
33871 PyObject
* obj1
= 0 ;
33872 char *kwnames
[] = {
33873 (char *) "listCtrl",(char *) "id", NULL
33876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33879 if (SWIG_arg_fail(1)) SWIG_fail
;
33880 if (arg1
== NULL
) {
33881 SWIG_null_ref("wxPyListCtrl");
33883 if (SWIG_arg_fail(1)) SWIG_fail
;
33886 arg2
= (long)(SWIG_As_long(obj1
));
33887 if (SWIG_arg_fail(2)) SWIG_fail
;
33890 if (!wxPyCheckForApp()) SWIG_fail
;
33891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33892 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33904 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33905 PyObject
*resultobj
;
33906 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33907 PyObject
* obj0
= 0 ;
33908 char *kwnames
[] = {
33909 (char *) "self", NULL
33912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33914 if (SWIG_arg_fail(1)) SWIG_fail
;
33916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33922 Py_INCREF(Py_None
); resultobj
= Py_None
;
33929 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33930 PyObject
*resultobj
;
33931 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33932 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33933 PyObject
* obj0
= 0 ;
33934 PyObject
* obj1
= 0 ;
33935 char *kwnames
[] = {
33936 (char *) "self",(char *) "bitmap", NULL
33939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33941 if (SWIG_arg_fail(1)) SWIG_fail
;
33942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33943 if (SWIG_arg_fail(2)) SWIG_fail
;
33945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33946 (arg1
)->SetBackingBitmap(arg2
);
33948 wxPyEndAllowThreads(__tstate
);
33949 if (PyErr_Occurred()) SWIG_fail
;
33951 Py_INCREF(Py_None
); resultobj
= Py_None
;
33958 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33959 PyObject
*resultobj
;
33960 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33961 wxPoint
*arg2
= 0 ;
33962 wxWindow
*arg3
= (wxWindow
*) 0 ;
33963 bool arg4
= (bool) false ;
33964 wxRect
*arg5
= (wxRect
*) NULL
;
33967 PyObject
* obj0
= 0 ;
33968 PyObject
* obj1
= 0 ;
33969 PyObject
* obj2
= 0 ;
33970 PyObject
* obj3
= 0 ;
33971 PyObject
* obj4
= 0 ;
33972 char *kwnames
[] = {
33973 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33978 if (SWIG_arg_fail(1)) SWIG_fail
;
33981 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33983 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33984 if (SWIG_arg_fail(3)) SWIG_fail
;
33987 arg4
= (bool)(SWIG_As_bool(obj3
));
33988 if (SWIG_arg_fail(4)) SWIG_fail
;
33992 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
33993 if (SWIG_arg_fail(5)) SWIG_fail
;
33996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33997 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
33999 wxPyEndAllowThreads(__tstate
);
34000 if (PyErr_Occurred()) SWIG_fail
;
34003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34011 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34012 PyObject
*resultobj
;
34013 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34014 wxPoint
*arg2
= 0 ;
34015 wxWindow
*arg3
= (wxWindow
*) 0 ;
34016 wxWindow
*arg4
= (wxWindow
*) 0 ;
34019 PyObject
* obj0
= 0 ;
34020 PyObject
* obj1
= 0 ;
34021 PyObject
* obj2
= 0 ;
34022 PyObject
* obj3
= 0 ;
34023 char *kwnames
[] = {
34024 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34029 if (SWIG_arg_fail(1)) SWIG_fail
;
34032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34034 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34035 if (SWIG_arg_fail(3)) SWIG_fail
;
34036 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34037 if (SWIG_arg_fail(4)) SWIG_fail
;
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34042 wxPyEndAllowThreads(__tstate
);
34043 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34054 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34055 PyObject
*resultobj
;
34056 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34058 PyObject
* obj0
= 0 ;
34059 char *kwnames
[] = {
34060 (char *) "self", NULL
34063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34065 if (SWIG_arg_fail(1)) SWIG_fail
;
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 result
= (bool)(arg1
)->EndDrag();
34070 wxPyEndAllowThreads(__tstate
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34082 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34083 PyObject
*resultobj
;
34084 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34085 wxPoint
*arg2
= 0 ;
34088 PyObject
* obj0
= 0 ;
34089 PyObject
* obj1
= 0 ;
34090 char *kwnames
[] = {
34091 (char *) "self",(char *) "pt", NULL
34094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34096 if (SWIG_arg_fail(1)) SWIG_fail
;
34099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34103 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34105 wxPyEndAllowThreads(__tstate
);
34106 if (PyErr_Occurred()) SWIG_fail
;
34109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34117 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34118 PyObject
*resultobj
;
34119 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34121 PyObject
* obj0
= 0 ;
34122 char *kwnames
[] = {
34123 (char *) "self", NULL
34126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34128 if (SWIG_arg_fail(1)) SWIG_fail
;
34130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34131 result
= (bool)(arg1
)->Show();
34133 wxPyEndAllowThreads(__tstate
);
34134 if (PyErr_Occurred()) SWIG_fail
;
34137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34145 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34146 PyObject
*resultobj
;
34147 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34149 PyObject
* obj0
= 0 ;
34150 char *kwnames
[] = {
34151 (char *) "self", NULL
34154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34156 if (SWIG_arg_fail(1)) SWIG_fail
;
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 result
= (bool)(arg1
)->Hide();
34161 wxPyEndAllowThreads(__tstate
);
34162 if (PyErr_Occurred()) SWIG_fail
;
34165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34173 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34174 PyObject
*resultobj
;
34175 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34176 wxPoint
*arg2
= 0 ;
34179 PyObject
* obj0
= 0 ;
34180 PyObject
* obj1
= 0 ;
34181 char *kwnames
[] = {
34182 (char *) "self",(char *) "pos", NULL
34185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34187 if (SWIG_arg_fail(1)) SWIG_fail
;
34190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34194 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34200 wxRect
* resultptr
;
34201 resultptr
= new wxRect((wxRect
&)(result
));
34202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34210 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34211 PyObject
*resultobj
;
34212 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34214 wxPoint
*arg3
= 0 ;
34217 PyObject
* obj0
= 0 ;
34218 PyObject
* obj1
= 0 ;
34219 PyObject
* obj2
= 0 ;
34220 char *kwnames
[] = {
34221 (char *) "self",(char *) "dc",(char *) "pos", NULL
34224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34226 if (SWIG_arg_fail(1)) SWIG_fail
;
34228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34229 if (SWIG_arg_fail(2)) SWIG_fail
;
34230 if (arg2
== NULL
) {
34231 SWIG_null_ref("wxDC");
34233 if (SWIG_arg_fail(2)) SWIG_fail
;
34237 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34241 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34255 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
;
34257 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34259 wxMemoryDC
*arg3
= 0 ;
34265 PyObject
* obj0
= 0 ;
34266 PyObject
* obj1
= 0 ;
34267 PyObject
* obj2
= 0 ;
34268 PyObject
* obj3
= 0 ;
34269 PyObject
* obj4
= 0 ;
34270 char *kwnames
[] = {
34271 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34276 if (SWIG_arg_fail(1)) SWIG_fail
;
34278 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34279 if (SWIG_arg_fail(2)) SWIG_fail
;
34280 if (arg2
== NULL
) {
34281 SWIG_null_ref("wxDC");
34283 if (SWIG_arg_fail(2)) SWIG_fail
;
34286 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34287 if (SWIG_arg_fail(3)) SWIG_fail
;
34288 if (arg3
== NULL
) {
34289 SWIG_null_ref("wxMemoryDC");
34291 if (SWIG_arg_fail(3)) SWIG_fail
;
34295 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34299 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34303 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34305 wxPyEndAllowThreads(__tstate
);
34306 if (PyErr_Occurred()) SWIG_fail
;
34309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34317 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
;
34319 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34320 wxPoint
*arg2
= 0 ;
34321 wxPoint
*arg3
= 0 ;
34327 PyObject
* obj0
= 0 ;
34328 PyObject
* obj1
= 0 ;
34329 PyObject
* obj2
= 0 ;
34330 PyObject
* obj3
= 0 ;
34331 PyObject
* obj4
= 0 ;
34332 char *kwnames
[] = {
34333 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34338 if (SWIG_arg_fail(1)) SWIG_fail
;
34341 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34345 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34348 arg4
= (bool)(SWIG_As_bool(obj3
));
34349 if (SWIG_arg_fail(4)) SWIG_fail
;
34352 arg5
= (bool)(SWIG_As_bool(obj4
));
34353 if (SWIG_arg_fail(5)) SWIG_fail
;
34356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34357 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34359 wxPyEndAllowThreads(__tstate
);
34360 if (PyErr_Occurred()) SWIG_fail
;
34363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34371 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34374 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34376 return Py_BuildValue((char *)"");
34378 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34379 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34384 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34389 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34391 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34398 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34399 PyObject
*resultobj
;
34400 wxWindow
*arg1
= (wxWindow
*) 0 ;
34401 int arg2
= (int) -1 ;
34402 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34403 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34408 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34411 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34413 wxDatePickerCtrl
*result
;
34416 bool temp8
= false ;
34417 PyObject
* obj0
= 0 ;
34418 PyObject
* obj1
= 0 ;
34419 PyObject
* obj2
= 0 ;
34420 PyObject
* obj3
= 0 ;
34421 PyObject
* obj4
= 0 ;
34422 PyObject
* obj5
= 0 ;
34423 PyObject
* obj6
= 0 ;
34424 PyObject
* obj7
= 0 ;
34425 char *kwnames
[] = {
34426 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34431 if (SWIG_arg_fail(1)) SWIG_fail
;
34434 arg2
= (int)(SWIG_As_int(obj1
));
34435 if (SWIG_arg_fail(2)) SWIG_fail
;
34440 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34441 if (SWIG_arg_fail(3)) SWIG_fail
;
34442 if (arg3
== NULL
) {
34443 SWIG_null_ref("wxDateTime");
34445 if (SWIG_arg_fail(3)) SWIG_fail
;
34451 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34457 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34462 arg6
= (long)(SWIG_As_long(obj5
));
34463 if (SWIG_arg_fail(6)) SWIG_fail
;
34468 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34469 if (SWIG_arg_fail(7)) SWIG_fail
;
34470 if (arg7
== NULL
) {
34471 SWIG_null_ref("wxValidator");
34473 if (SWIG_arg_fail(7)) SWIG_fail
;
34478 arg8
= wxString_in_helper(obj7
);
34479 if (arg8
== NULL
) SWIG_fail
;
34484 if (!wxPyCheckForApp()) SWIG_fail
;
34485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34486 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34488 wxPyEndAllowThreads(__tstate
);
34489 if (PyErr_Occurred()) SWIG_fail
;
34491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34506 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34507 PyObject
*resultobj
;
34508 wxDatePickerCtrl
*result
;
34509 char *kwnames
[] = {
34513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34515 if (!wxPyCheckForApp()) SWIG_fail
;
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34529 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34530 PyObject
*resultobj
;
34531 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34532 wxWindow
*arg2
= (wxWindow
*) 0 ;
34533 int arg3
= (int) -1 ;
34534 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34535 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34536 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34537 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34538 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34539 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34540 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34541 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34542 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34543 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34544 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34548 bool temp9
= false ;
34549 PyObject
* obj0
= 0 ;
34550 PyObject
* obj1
= 0 ;
34551 PyObject
* obj2
= 0 ;
34552 PyObject
* obj3
= 0 ;
34553 PyObject
* obj4
= 0 ;
34554 PyObject
* obj5
= 0 ;
34555 PyObject
* obj6
= 0 ;
34556 PyObject
* obj7
= 0 ;
34557 PyObject
* obj8
= 0 ;
34558 char *kwnames
[] = {
34559 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34564 if (SWIG_arg_fail(1)) SWIG_fail
;
34565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34566 if (SWIG_arg_fail(2)) SWIG_fail
;
34569 arg3
= (int)(SWIG_As_int(obj2
));
34570 if (SWIG_arg_fail(3)) SWIG_fail
;
34575 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34576 if (SWIG_arg_fail(4)) SWIG_fail
;
34577 if (arg4
== NULL
) {
34578 SWIG_null_ref("wxDateTime");
34580 if (SWIG_arg_fail(4)) SWIG_fail
;
34586 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34592 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34597 arg7
= (long)(SWIG_As_long(obj6
));
34598 if (SWIG_arg_fail(7)) SWIG_fail
;
34603 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34604 if (SWIG_arg_fail(8)) SWIG_fail
;
34605 if (arg8
== NULL
) {
34606 SWIG_null_ref("wxValidator");
34608 if (SWIG_arg_fail(8)) SWIG_fail
;
34613 arg9
= wxString_in_helper(obj8
);
34614 if (arg9
== NULL
) SWIG_fail
;
34619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34622 wxPyEndAllowThreads(__tstate
);
34623 if (PyErr_Occurred()) SWIG_fail
;
34626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34642 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34643 PyObject
*resultobj
;
34644 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34645 wxDateTime
*arg2
= 0 ;
34646 PyObject
* obj0
= 0 ;
34647 PyObject
* obj1
= 0 ;
34648 char *kwnames
[] = {
34649 (char *) "self",(char *) "dt", NULL
34652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34654 if (SWIG_arg_fail(1)) SWIG_fail
;
34656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34657 if (SWIG_arg_fail(2)) SWIG_fail
;
34658 if (arg2
== NULL
) {
34659 SWIG_null_ref("wxDateTime");
34661 if (SWIG_arg_fail(2)) SWIG_fail
;
34664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34665 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34667 wxPyEndAllowThreads(__tstate
);
34668 if (PyErr_Occurred()) SWIG_fail
;
34670 Py_INCREF(Py_None
); resultobj
= Py_None
;
34677 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34678 PyObject
*resultobj
;
34679 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34681 PyObject
* obj0
= 0 ;
34682 char *kwnames
[] = {
34683 (char *) "self", NULL
34686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34688 if (SWIG_arg_fail(1)) SWIG_fail
;
34690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34691 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34693 wxPyEndAllowThreads(__tstate
);
34694 if (PyErr_Occurred()) SWIG_fail
;
34697 wxDateTime
* resultptr
;
34698 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34707 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34708 PyObject
*resultobj
;
34709 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34710 wxDateTime
*arg2
= 0 ;
34711 wxDateTime
*arg3
= 0 ;
34712 PyObject
* obj0
= 0 ;
34713 PyObject
* obj1
= 0 ;
34714 PyObject
* obj2
= 0 ;
34715 char *kwnames
[] = {
34716 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34721 if (SWIG_arg_fail(1)) SWIG_fail
;
34723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34724 if (SWIG_arg_fail(2)) SWIG_fail
;
34725 if (arg2
== NULL
) {
34726 SWIG_null_ref("wxDateTime");
34728 if (SWIG_arg_fail(2)) SWIG_fail
;
34731 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34732 if (SWIG_arg_fail(3)) SWIG_fail
;
34733 if (arg3
== NULL
) {
34734 SWIG_null_ref("wxDateTime");
34736 if (SWIG_arg_fail(3)) SWIG_fail
;
34739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34740 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34742 wxPyEndAllowThreads(__tstate
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34745 Py_INCREF(Py_None
); resultobj
= Py_None
;
34752 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34753 PyObject
*resultobj
;
34754 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34756 PyObject
* obj0
= 0 ;
34757 char *kwnames
[] = {
34758 (char *) "self", NULL
34761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34763 if (SWIG_arg_fail(1)) SWIG_fail
;
34765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34766 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34768 wxPyEndAllowThreads(__tstate
);
34769 if (PyErr_Occurred()) SWIG_fail
;
34772 wxDateTime
* resultptr
;
34773 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34782 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
;
34784 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34786 PyObject
* obj0
= 0 ;
34787 char *kwnames
[] = {
34788 (char *) "self", NULL
34791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34793 if (SWIG_arg_fail(1)) SWIG_fail
;
34795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34796 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34798 wxPyEndAllowThreads(__tstate
);
34799 if (PyErr_Occurred()) SWIG_fail
;
34802 wxDateTime
* resultptr
;
34803 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34812 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34815 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34817 return Py_BuildValue((char *)"");
34819 static PyMethodDef SwigMethods
[] = {
34820 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34827 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34842 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34854 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34859 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34889 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34903 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34908 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34915 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34920 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34928 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34951 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34959 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34990 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35046 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35051 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35063 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35076 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35088 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35092 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35110 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35117 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35143 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35151 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35173 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35179 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35190 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35192 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35198 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35200 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35207 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35209 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35214 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35219 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35249 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35294 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35300 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35312 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35364 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35391 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35462 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35474 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35482 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35489 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35506 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35582 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35604 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35609 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35634 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35642 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35647 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35649 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35658 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35660 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35678 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35687 { NULL
, NULL
, 0, NULL
}
35691 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35693 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35694 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35696 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35697 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35699 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35700 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35702 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35703 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35705 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35706 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35708 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35709 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35711 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35712 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35714 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35715 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35717 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35718 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35720 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35721 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35723 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35724 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35726 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35727 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35729 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35730 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35732 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35733 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35735 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35736 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35738 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35739 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35741 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35742 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35744 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35745 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35747 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35748 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35750 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35753 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35754 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35756 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35757 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35759 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35760 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35762 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35763 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35765 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35766 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35768 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35769 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35771 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35774 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35775 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35777 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35778 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35780 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35781 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35783 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35784 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35786 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35787 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35789 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35790 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35792 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35793 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35795 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35796 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35798 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35799 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35801 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35802 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35804 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35805 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35807 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35808 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35810 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35811 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35813 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35814 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35816 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35817 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35819 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35820 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35822 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35823 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35825 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35826 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35828 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35829 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35831 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35832 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35834 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35835 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35837 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35838 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35840 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35841 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35843 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35844 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35846 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35847 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35849 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35850 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35852 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35853 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35855 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35856 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35858 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35859 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35861 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35862 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35864 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35865 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35867 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35868 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35870 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35871 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35873 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35874 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35876 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35877 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35879 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35880 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35882 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35883 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35885 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35886 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35888 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35889 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35891 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35892 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35894 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35895 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35897 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35898 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35900 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35901 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35903 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35904 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35906 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35907 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35909 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35910 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35912 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35913 return (void *)((wxControl
*) ((wxGauge
*) x
));
35915 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35916 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35918 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35919 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35921 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35922 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35924 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35925 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35927 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35928 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35930 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35931 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35933 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35934 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35936 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35937 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35939 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35940 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35942 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35943 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35945 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35946 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35948 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35949 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35951 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35952 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35954 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35955 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35957 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35958 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35960 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35961 return (void *)((wxControl
*) ((wxSlider
*) x
));
35963 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35964 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35966 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35967 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35969 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35970 return (void *)((wxControl
*) ((wxButton
*) x
));
35972 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35973 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35975 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
35976 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
35978 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35979 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35981 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35982 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35984 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35985 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35987 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35988 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35990 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35991 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35993 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35994 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35996 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35997 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35999 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36000 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36002 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36003 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36005 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36006 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36008 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36009 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36011 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36012 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36014 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36015 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36017 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36018 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36020 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36023 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36024 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36026 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36027 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36029 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36032 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36033 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36035 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36038 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36041 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36042 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36044 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36045 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36047 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36050 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36053 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36056 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36059 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36062 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36063 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36065 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36068 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36069 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36071 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36074 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36077 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36080 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36083 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36086 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36089 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36092 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36095 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36098 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36101 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36104 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36107 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36110 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36113 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36116 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36119 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36122 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36125 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36128 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36131 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36134 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36137 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36140 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36143 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36144 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36146 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36147 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36149 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36150 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36152 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36153 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36155 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36156 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36158 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36159 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36161 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36162 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36164 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36165 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36167 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36170 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36171 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36173 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36176 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36177 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36179 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36180 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36182 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36183 return (void *)((wxObject
*) ((wxSizer
*) x
));
36185 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36186 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36188 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36191 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36194 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36195 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36197 static void *_p_wxEventTo_p_wxObject(void *x
) {
36198 return (void *)((wxObject
*) ((wxEvent
*) x
));
36200 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36201 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36203 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36204 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36206 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36207 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36209 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36212 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36215 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36218 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36219 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36221 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36222 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36224 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36225 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36227 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36228 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36230 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36231 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36233 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36234 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36236 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36239 static void *_p_wxControlTo_p_wxObject(void *x
) {
36240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36242 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36245 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36248 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36251 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36254 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36257 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36258 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36260 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36263 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36264 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36266 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36267 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36269 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36272 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36275 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36278 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36279 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36281 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36282 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36284 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36287 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36290 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36291 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36293 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36296 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36299 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36300 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36302 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36303 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36305 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36306 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36308 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36311 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36312 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36314 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36315 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36317 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36318 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36320 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36321 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36323 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36324 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36326 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36327 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36329 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36332 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36333 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36335 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36338 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36339 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36341 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36342 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36344 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36345 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36347 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36348 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36350 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36351 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36353 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36354 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36356 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36357 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36359 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36360 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36362 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36363 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36365 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36366 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36368 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36369 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36371 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36372 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36374 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36375 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36377 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36380 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36383 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36386 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36389 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36392 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36395 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36398 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36401 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36404 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36407 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36410 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36413 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36414 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36416 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36417 return (void *)((wxObject
*) ((wxListItem
*) x
));
36419 static void *_p_wxImageTo_p_wxObject(void *x
) {
36420 return (void *)((wxObject
*) ((wxImage
*) x
));
36422 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36423 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36425 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36426 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36428 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36429 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36431 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36432 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36434 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36437 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36440 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36443 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36444 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36446 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36449 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36452 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36455 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36458 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36461 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36464 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36467 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36470 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36473 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36476 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36479 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36482 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36483 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36485 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36488 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36489 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36491 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36494 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36495 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36497 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36500 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36501 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36503 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36504 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36506 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36509 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36512 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36515 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36516 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36518 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36521 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36524 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36525 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36527 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36528 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36530 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36531 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36533 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36534 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36536 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36537 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36539 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36540 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36542 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36543 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36545 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36546 return (void *)((wxWindow
*) ((wxControl
*) x
));
36548 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36549 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36551 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36552 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36554 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36555 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36557 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36558 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36560 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36561 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36563 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36564 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36566 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36567 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36569 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36570 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36572 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36573 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36575 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36576 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36578 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36579 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36581 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36582 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36584 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36585 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36587 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36588 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36590 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36591 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36593 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36594 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36596 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36597 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36599 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36600 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36602 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36603 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36605 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36606 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36608 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36609 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36611 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36612 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36614 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36615 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36617 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36618 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36620 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36621 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36623 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36624 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36626 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36627 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36629 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36630 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36632 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36633 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36635 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36636 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36638 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36639 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36641 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36642 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36644 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36645 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36647 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36648 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36650 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36651 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36653 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36654 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36656 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36657 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36659 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36660 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36662 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36663 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36665 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36666 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36668 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36669 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36671 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36672 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36674 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36675 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36677 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36678 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36680 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36681 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36683 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36684 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36686 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36687 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36689 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36690 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36692 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36693 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36695 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36696 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36698 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36699 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36701 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36702 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36704 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36705 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36707 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36708 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36710 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36711 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36713 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36714 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36716 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36717 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36719 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}};
36720 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}};
36721 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}};
36722 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}};
36723 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}};
36724 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}};
36725 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}};
36726 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}};
36727 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}};
36728 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}};
36729 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}};
36730 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}};
36731 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}};
36732 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}};
36733 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}};
36734 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}};
36735 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}};
36736 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}};
36737 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}};
36738 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}};
36739 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}};
36740 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}};
36741 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}};
36742 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}};
36743 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}};
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 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}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 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}};
36756 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}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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}};
36784 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}};
36785 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}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36818 static swig_type_info
*swig_types_initial
[] = {
36819 _swigt__p_wxTextUrlEvent
,
36821 _swigt__p_wxCheckBox
,
36822 _swigt__p_wxPyTreeCtrl
,
36824 _swigt__p_wxGenericDirCtrl
,
36826 _swigt__p_wxItemContainer
,
36827 _swigt__p_wxPyListCtrl
,
36828 _swigt__p_wxPyTreeItemData
,
36829 _swigt__p_wxDirFilterListCtrl
,
36830 _swigt__p_wxStaticLine
,
36831 _swigt__p_wxControl
,
36832 _swigt__p_wxPyControl
,
36834 _swigt__p_wxToolBarBase
,
36836 _swigt__p_wxToggleButton
,
36837 _swigt__p_wxRadioButton
,
36838 _swigt__p_wxChoice
,
36839 _swigt__p_wxMemoryDC
,
36841 _swigt__std__ptrdiff_t
,
36842 _swigt__p_wxListItemAttr
,
36847 _swigt__p_wxListView
,
36849 _swigt__p_wxVisualAttributes
,
36850 _swigt__p_wxTextCtrl
,
36851 _swigt__p_wxNotebook
,
36852 _swigt__p_wxChoicebook
,
36853 _swigt__p_wxNotifyEvent
,
36854 _swigt__p_wxArrayString
,
36855 _swigt__p_form_ops_t
,
36856 _swigt__p_wxListbook
,
36857 _swigt__p_wxStaticBitmap
,
36858 _swigt__p_wxSlider
,
36859 _swigt__p_wxStaticBox
,
36860 _swigt__p_wxArrayInt
,
36861 _swigt__p_wxContextHelp
,
36863 _swigt__p_wxDuplexMode
,
36864 _swigt__p_wxBookCtrlBase
,
36865 _swigt__p_wxEvtHandler
,
36866 _swigt__p_wxListEvent
,
36867 _swigt__p_wxCheckListBox
,
36868 _swigt__p_wxListBox
,
36869 _swigt__p_wxSpinButton
,
36870 _swigt__p_wxButton
,
36871 _swigt__p_wxBitmapButton
,
36873 _swigt__p_wxContextHelpButton
,
36874 _swigt__p_wxRadioBox
,
36875 _swigt__p_wxScrollBar
,
36877 _swigt__p_wxComboBox
,
36878 _swigt__p_wxTreeItemId
,
36879 _swigt__p_wxHelpEvent
,
36880 _swigt__p_wxListItem
,
36881 _swigt__p_wxNotebookSizer
,
36882 _swigt__p_wxSpinEvent
,
36883 _swigt__p_wxGenericDragImage
,
36884 _swigt__p_wxSpinCtrl
,
36885 _swigt__p_wxPaperSize
,
36886 _swigt__p_wxImageList
,
36887 _swigt__p_wxHelpProvider
,
36888 _swigt__p_wxTextAttr
,
36889 _swigt__p_wxSimpleHelpProvider
,
36890 _swigt__p_wxChoicebookEvent
,
36891 _swigt__p_wxListbookEvent
,
36892 _swigt__p_wxNotebookEvent
,
36894 _swigt__p_wxObject
,
36895 _swigt__p_wxCursor
,
36896 _swigt__p_wxDateTime
,
36897 _swigt__p_wxKeyEvent
,
36898 _swigt__p_unsigned_long
,
36899 _swigt__p_wxWindow
,
36900 _swigt__p_wxString
,
36901 _swigt__p_wxBitmap
,
36902 _swigt__unsigned_int
,
36903 _swigt__p_unsigned_int
,
36904 _swigt__p_unsigned_char
,
36905 _swigt__p_wxMouseEvent
,
36906 _swigt__p_wxBookCtrlBaseEvent
,
36907 _swigt__p_wxTreeEvent
,
36908 _swigt__p_wxCommandEvent
,
36909 _swigt__p_wxStaticText
,
36910 _swigt__p_wxDatePickerCtrl
,
36911 _swigt__p_wxControlWithItems
,
36912 _swigt__p_wxToolBarToolBase
,
36913 _swigt__p_wxColour
,
36914 _swigt__p_wxToolBar
,
36915 _swigt__p_wxBookCtrlSizer
,
36916 _swigt__p_wxValidator
,
36921 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36923 static swig_const_info swig_const_table
[] = {
36924 {0, 0, 0, 0.0, 0, 0}};
36935 /* Python-specific SWIG API */
36936 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36937 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36938 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36940 /* -----------------------------------------------------------------------------
36941 * global variable support code.
36942 * ----------------------------------------------------------------------------- */
36944 typedef struct swig_globalvar
{
36945 char *name
; /* Name of global variable */
36946 PyObject
*(*get_attr
)(); /* Return the current value */
36947 int (*set_attr
)(PyObject
*); /* Set the value */
36948 struct swig_globalvar
*next
;
36951 typedef struct swig_varlinkobject
{
36953 swig_globalvar
*vars
;
36954 } swig_varlinkobject
;
36957 swig_varlink_repr(swig_varlinkobject
*v
) {
36959 return PyString_FromString("<Swig global variables>");
36963 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36964 swig_globalvar
*var
;
36966 fprintf(fp
,"Swig global variables { ");
36967 for (var
= v
->vars
; var
; var
=var
->next
) {
36968 fprintf(fp
,"%s", var
->name
);
36969 if (var
->next
) fprintf(fp
,", ");
36971 fprintf(fp
," }\n");
36976 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36977 swig_globalvar
*var
= v
->vars
;
36979 if (strcmp(var
->name
,n
) == 0) {
36980 return (*var
->get_attr
)();
36984 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36989 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36990 swig_globalvar
*var
= v
->vars
;
36992 if (strcmp(var
->name
,n
) == 0) {
36993 return (*var
->set_attr
)(p
);
36997 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37001 static PyTypeObject varlinktype
= {
37002 PyObject_HEAD_INIT(0)
37003 0, /* Number of items in variable part (ob_size) */
37004 (char *)"swigvarlink", /* Type name (tp_name) */
37005 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37006 0, /* Itemsize (tp_itemsize) */
37007 0, /* Deallocator (tp_dealloc) */
37008 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37009 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37010 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37011 0, /* tp_compare */
37012 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37013 0, /* tp_as_number */
37014 0, /* tp_as_sequence */
37015 0, /* tp_as_mapping */
37019 0, /* tp_getattro */
37020 0, /* tp_setattro */
37021 0, /* tp_as_buffer */
37024 #if PY_VERSION_HEX >= 0x02000000
37025 0, /* tp_traverse */
37028 #if PY_VERSION_HEX >= 0x02010000
37029 0, /* tp_richcompare */
37030 0, /* tp_weaklistoffset */
37032 #if PY_VERSION_HEX >= 0x02020000
37033 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37035 #if PY_VERSION_HEX >= 0x02030000
37038 #ifdef COUNT_ALLOCS
37039 0,0,0,0 /* tp_alloc -> tp_next */
37043 /* Create a variable linking object for use later */
37045 SWIG_Python_newvarlink(void) {
37046 swig_varlinkobject
*result
= 0;
37047 result
= PyMem_NEW(swig_varlinkobject
,1);
37048 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37049 result
->ob_type
= &varlinktype
;
37051 result
->ob_refcnt
= 0;
37052 Py_XINCREF((PyObject
*) result
);
37053 return ((PyObject
*) result
);
37057 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37058 swig_varlinkobject
*v
;
37059 swig_globalvar
*gv
;
37060 v
= (swig_varlinkobject
*) p
;
37061 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37062 gv
->name
= (char *) malloc(strlen(name
)+1);
37063 strcpy(gv
->name
,name
);
37064 gv
->get_attr
= get_attr
;
37065 gv
->set_attr
= set_attr
;
37066 gv
->next
= v
->vars
;
37070 /* -----------------------------------------------------------------------------
37071 * constants/methods manipulation
37072 * ----------------------------------------------------------------------------- */
37074 /* Install Constants */
37076 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37079 for (i
= 0; constants
[i
].type
; i
++) {
37080 switch(constants
[i
].type
) {
37082 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37084 case SWIG_PY_FLOAT
:
37085 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37087 case SWIG_PY_STRING
:
37088 if (constants
[i
].pvalue
) {
37089 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37091 Py_INCREF(Py_None
);
37095 case SWIG_PY_POINTER
:
37096 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37098 case SWIG_PY_BINARY
:
37099 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37106 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37112 /* -----------------------------------------------------------------------------*/
37113 /* Fix SwigMethods to carry the callback ptrs when needed */
37114 /* -----------------------------------------------------------------------------*/
37117 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37118 swig_const_info
*const_table
,
37119 swig_type_info
**types
,
37120 swig_type_info
**types_initial
) {
37122 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37123 char *c
= methods
[i
].ml_doc
;
37124 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37126 swig_const_info
*ci
= 0;
37127 char *name
= c
+ 10;
37128 for (j
= 0; const_table
[j
].type
; j
++) {
37129 if (strncmp(const_table
[j
].name
, name
,
37130 strlen(const_table
[j
].name
)) == 0) {
37131 ci
= &(const_table
[j
]);
37136 size_t shift
= (ci
->ptype
) - types
;
37137 swig_type_info
*ty
= types_initial
[shift
];
37138 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37139 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37140 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37142 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37143 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37145 strncpy(buff
, "swig_ptr: ", 10);
37147 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37148 methods
[i
].ml_doc
= ndoc
;
37154 /* -----------------------------------------------------------------------------*
37155 * Initialize type list
37156 * -----------------------------------------------------------------------------*/
37158 #if PY_MAJOR_VERSION < 2
37159 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37160 is copied out of Python/modsupport.c in python version 2.3.4 */
37162 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37165 if (!PyModule_Check(m
)) {
37166 PyErr_SetString(PyExc_TypeError
,
37167 "PyModule_AddObject() needs module as first arg");
37171 PyErr_SetString(PyExc_TypeError
,
37172 "PyModule_AddObject() needs non-NULL value");
37176 dict
= PyModule_GetDict(m
);
37177 if (dict
== NULL
) {
37178 /* Internal error -- modules must have a dict! */
37179 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37180 PyModule_GetName(m
));
37183 if (PyDict_SetItemString(dict
, name
, o
))
37190 static swig_type_info
**
37191 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37192 static PyMethodDef swig_empty_runtime_method_table
[] = {
37194 NULL
, NULL
, 0, NULL
37198 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37199 swig_empty_runtime_method_table
);
37200 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37201 if (pointer
&& module) {
37202 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37204 return type_list_handle
;
37207 static swig_type_info
**
37208 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37209 swig_type_info
**type_pointer
;
37211 /* first check if module already created */
37212 type_pointer
= SWIG_Python_GetTypeListHandle();
37213 if (type_pointer
) {
37214 return type_pointer
;
37216 /* create a new module and variable */
37217 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37225 /* -----------------------------------------------------------------------------*
37226 * Partial Init method
37227 * -----------------------------------------------------------------------------*/
37229 #ifdef SWIG_LINK_RUNTIME
37233 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37239 SWIGEXPORT(void) SWIG_init(void) {
37240 static PyObject
*SWIG_globals
= 0;
37241 static int typeinit
= 0;
37244 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37246 /* Fix SwigMethods to carry the callback ptrs when needed */
37247 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37249 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37250 d
= PyModule_GetDict(m
);
37253 #ifdef SWIG_LINK_RUNTIME
37254 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37256 # ifndef SWIG_STATIC_RUNTIME
37257 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37260 for (i
= 0; swig_types_initial
[i
]; i
++) {
37261 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37265 SWIG_InstallConstants(d
,swig_const_table
);
37267 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37268 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37270 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37273 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37276 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37279 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37282 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37285 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37288 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37290 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37292 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37295 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37298 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37301 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37304 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37307 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37309 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37310 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37311 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37313 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37316 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37319 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37322 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37324 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37325 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37326 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37327 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37328 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37330 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37333 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37336 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37339 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37342 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37345 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37348 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37351 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37354 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37357 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37360 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37363 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37366 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37369 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37372 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37375 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37378 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37381 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37384 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37387 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37390 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37393 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37396 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37399 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37402 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37405 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37408 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37411 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37414 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37417 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37420 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37423 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37426 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37429 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37432 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37435 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37438 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37441 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37444 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37447 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37450 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37453 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37456 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37459 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37462 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37465 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37467 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37468 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37469 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37470 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37471 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37472 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37473 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37475 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37478 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37481 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37484 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37486 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37487 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37488 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37489 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37491 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37494 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37497 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37500 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37503 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37506 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37509 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37512 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37515 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37518 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37521 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37524 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37526 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37527 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37528 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37530 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37533 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37536 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37539 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37542 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37545 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37548 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37551 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37554 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37557 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37560 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37562 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37563 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37565 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37568 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37571 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37574 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37577 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37580 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37582 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37583 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37585 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37588 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37591 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37594 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37597 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37600 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37602 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37603 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37605 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37608 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37611 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37614 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37617 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37620 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37623 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37626 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37629 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37632 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37635 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37638 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37641 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37644 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37646 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37648 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37651 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37654 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37657 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37660 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37663 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37666 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37669 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37672 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37675 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37678 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37681 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37684 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37687 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37690 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37693 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37696 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37699 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37702 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37705 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37708 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37711 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37714 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37717 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37720 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37723 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37726 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37729 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37732 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37735 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37738 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37741 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37744 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37747 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37750 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37753 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37756 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37759 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37762 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37765 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37768 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37771 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37774 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37777 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37780 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37783 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37786 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37789 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37792 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37795 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37798 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37801 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37804 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37807 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37810 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37813 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37816 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37819 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37822 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37825 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37828 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37831 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37834 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37837 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37840 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37843 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37846 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37849 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37851 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37852 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37853 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37854 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37855 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37856 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37857 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37858 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37859 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37860 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37861 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37862 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37863 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37864 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37865 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37866 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37867 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37868 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37869 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37870 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37871 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37872 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37874 // Map renamed classes back to their common name for OOR
37875 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37877 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37879 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37882 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37885 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37888 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37891 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37894 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37897 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37900 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37903 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37906 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37909 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37912 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37915 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37918 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37921 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37924 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37927 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37930 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37933 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37936 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37939 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37942 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37945 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37948 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37951 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37954 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37957 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37960 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37963 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37966 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37969 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37972 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37975 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37978 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37981 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37986 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37987 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37988 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37989 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37990 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37991 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37992 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37993 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37994 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37995 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37996 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37997 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37998 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37999 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38000 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38001 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38002 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38003 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38005 // Map renamed classes back to their common name for OOR
38006 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38007 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38009 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38011 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38014 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38017 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38020 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38023 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38026 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38029 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38031 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38032 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38034 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38036 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38038 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38041 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38044 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38047 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38050 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));