1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1342 #define SWIGTYPE_p_wxSizer swig_types[1]
1343 #define SWIGTYPE_p_wxCheckBox swig_types[2]
1344 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1345 #define SWIGTYPE_p_wxEvent swig_types[4]
1346 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1347 #define SWIGTYPE_p_bool swig_types[6]
1348 #define SWIGTYPE_p_wxItemContainer swig_types[7]
1349 #define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1350 #define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1351 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1352 #define SWIGTYPE_p_wxStaticLine swig_types[11]
1353 #define SWIGTYPE_p_wxControl swig_types[12]
1354 #define SWIGTYPE_p_wxPyControl swig_types[13]
1355 #define SWIGTYPE_p_wxGauge swig_types[14]
1356 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
1357 #define SWIGTYPE_p_wxFont swig_types[16]
1358 #define SWIGTYPE_p_wxToggleButton swig_types[17]
1359 #define SWIGTYPE_p_wxRadioButton swig_types[18]
1360 #define SWIGTYPE_p_wxChoice swig_types[19]
1361 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
1362 #define SWIGTYPE_ptrdiff_t swig_types[21]
1363 #define SWIGTYPE_std__ptrdiff_t swig_types[22]
1364 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
1365 #define SWIGTYPE_p_void swig_types[24]
1366 #define SWIGTYPE_p_int swig_types[25]
1367 #define SWIGTYPE_p_wxSize swig_types[26]
1368 #define SWIGTYPE_p_wxDC swig_types[27]
1369 #define SWIGTYPE_p_wxListView swig_types[28]
1370 #define SWIGTYPE_p_wxIcon swig_types[29]
1371 #define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1372 #define SWIGTYPE_p_wxTextCtrl swig_types[31]
1373 #define SWIGTYPE_p_wxNotebook swig_types[32]
1374 #define SWIGTYPE_p_wxChoicebook swig_types[33]
1375 #define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1376 #define SWIGTYPE_p_wxArrayString swig_types[35]
1377 #define SWIGTYPE_p_form_ops_t swig_types[36]
1378 #define SWIGTYPE_p_wxListbook swig_types[37]
1379 #define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1380 #define SWIGTYPE_p_wxSlider swig_types[39]
1381 #define SWIGTYPE_p_wxStaticBox swig_types[40]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[41]
1383 #define SWIGTYPE_p_wxContextHelp swig_types[42]
1384 #define SWIGTYPE_p_long swig_types[43]
1385 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
1386 #define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1387 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
1388 #define SWIGTYPE_p_wxListEvent swig_types[47]
1389 #define SWIGTYPE_p_wxCheckListBox swig_types[48]
1390 #define SWIGTYPE_p_wxListBox swig_types[49]
1391 #define SWIGTYPE_p_wxSpinButton swig_types[50]
1392 #define SWIGTYPE_p_wxButton swig_types[51]
1393 #define SWIGTYPE_p_wxBitmapButton swig_types[52]
1394 #define SWIGTYPE_p_wxRect swig_types[53]
1395 #define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1396 #define SWIGTYPE_p_wxRadioBox swig_types[55]
1397 #define SWIGTYPE_p_wxScrollBar swig_types[56]
1398 #define SWIGTYPE_p_char swig_types[57]
1399 #define SWIGTYPE_p_wxComboBox swig_types[58]
1400 #define SWIGTYPE_p_wxTreeItemId swig_types[59]
1401 #define SWIGTYPE_p_wxHelpEvent swig_types[60]
1402 #define SWIGTYPE_p_wxListItem swig_types[61]
1403 #define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1404 #define SWIGTYPE_p_wxSpinEvent swig_types[63]
1405 #define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1406 #define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1407 #define SWIGTYPE_p_wxPaperSize swig_types[66]
1408 #define SWIGTYPE_p_wxImageList swig_types[67]
1409 #define SWIGTYPE_p_wxHelpProvider swig_types[68]
1410 #define SWIGTYPE_p_wxTextAttr swig_types[69]
1411 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1412 #define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1413 #define SWIGTYPE_p_wxListbookEvent swig_types[72]
1414 #define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1415 #define SWIGTYPE_p_wxPoint swig_types[74]
1416 #define SWIGTYPE_p_wxObject swig_types[75]
1417 #define SWIGTYPE_p_wxCursor swig_types[76]
1418 #define SWIGTYPE_p_wxDateTime swig_types[77]
1419 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
1420 #define SWIGTYPE_p_unsigned_long swig_types[79]
1421 #define SWIGTYPE_p_wxWindow swig_types[80]
1422 #define SWIGTYPE_p_wxString swig_types[81]
1423 #define SWIGTYPE_p_wxBitmap swig_types[82]
1424 #define SWIGTYPE_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_int swig_types[84]
1426 #define SWIGTYPE_p_unsigned_char swig_types[85]
1427 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
1428 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1429 #define SWIGTYPE_p_wxTreeEvent swig_types[88]
1430 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431 #define SWIGTYPE_p_wxStaticText swig_types[90]
1432 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1433 #define SWIGTYPE_p_wxControlWithItems swig_types[92]
1434 #define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1435 #define SWIGTYPE_p_wxColour swig_types[94]
1436 #define SWIGTYPE_p_wxToolBar swig_types[95]
1437 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1438 #define SWIGTYPE_p_wxValidator swig_types[97]
1439 static swig_type_info
*swig_types
[99];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _controls_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_controls_
1449 #define SWIG_name "_controls_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1454 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1458 const wxArrayString wxPyEmptyStringArray
;
1460 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
1462 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1463 #define SWIG_From_int PyInt_FromLong
1471 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1474 if (value
< min_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is less than '%s' minimum %ld",
1478 value
, errmsg
, min_value
);
1481 } else if (value
> max_value
) {
1483 PyErr_Format(PyExc_OverflowError
,
1484 "value %ld is greater than '%s' maximum %ld",
1485 value
, errmsg
, max_value
);
1494 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1496 if (PyNumber_Check(obj
)) {
1497 if (val
) *val
= PyInt_AsLong(obj
);
1501 SWIG_type_error("number", obj
);
1507 #if INT_MAX != LONG_MAX
1509 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1511 const char* errmsg
= val
? "int" : (char*)0;
1513 if (SWIG_AsVal_long(obj
, &v
)) {
1514 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1515 if (val
) *val
= (int)(v
);
1524 SWIG_type_error(errmsg
, obj
);
1530 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1532 return SWIG_AsVal_long(obj
,(long*)val
);
1538 SWIG_As_int(PyObject
* obj
)
1541 if (!SWIG_AsVal_int(obj
, &v
)) {
1543 this is needed to make valgrind/purify happier.
1545 memset((void*)&v
, 0, sizeof(int));
1551 SWIGINTERNSHORT
long
1552 SWIG_As_long(PyObject
* obj
)
1555 if (!SWIG_AsVal_long(obj
, &v
)) {
1557 this is needed to make valgrind/purify happier.
1559 memset((void*)&v
, 0, sizeof(long));
1566 SWIG_Check_int(PyObject
* obj
)
1568 return SWIG_AsVal_int(obj
, (int*)0);
1573 SWIG_Check_long(PyObject
* obj
)
1575 return SWIG_AsVal_long(obj
, (long*)0);
1578 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
1581 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1583 if (obj
== Py_True
) {
1584 if (val
) *val
= true;
1587 if (obj
== Py_False
) {
1588 if (val
) *val
= false;
1592 if (SWIG_AsVal_int(obj
, &res
)) {
1593 if (val
) *val
= res
? true : false;
1599 SWIG_type_error("bool", obj
);
1605 SWIGINTERNSHORT
bool
1606 SWIG_As_bool(PyObject
* obj
)
1609 if (!SWIG_AsVal_bool(obj
, &v
)) {
1611 this is needed to make valgrind/purify happier.
1613 memset((void*)&v
, 0, sizeof(bool));
1620 SWIG_Check_bool(PyObject
* obj
)
1622 return SWIG_AsVal_bool(obj
, (bool*)0);
1625 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
1626 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
1628 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1629 #define SWIG_From_long PyInt_FromLong
1632 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1633 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1634 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1635 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1637 #include <wx/checklst.h>
1640 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1641 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1643 wxPyClientData
* data
= new wxPyClientData(clientData
);
1644 self
->Insert(item
, pos
, data
);
1646 self
->Insert(item
, pos
);
1648 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1650 self
->GetSelections(lst
);
1651 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1652 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1653 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1657 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1659 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1660 self
->GetItem(item
)->SetTextColour(c
);
1663 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1665 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1666 self
->GetItem(item
)->SetBackgroundColour(c
);
1669 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1671 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1672 self
->GetItem(item
)->SetFont(f
);
1675 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
1677 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1683 } else if (target
== Py_None
) {
1687 if (!PyTuple_Check(target
)) {
1689 target
= PyTuple_New(1);
1690 PyTuple_SetItem(target
, 0, o2
);
1692 o3
= PyTuple_New(1);
1693 PyTuple_SetItem(o3
, 0, o
);
1696 target
= PySequence_Concat(o2
, o3
);
1706 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1709 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1710 SWIG_type_error("unsigned number", obj
);
1713 *val
= (unsigned long)v
;
1718 SWIGINTERNSHORT
unsigned long
1719 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1722 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1724 this is needed to make valgrind/purify happier.
1726 memset((void*)&v
, 0, sizeof(unsigned long));
1733 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1735 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1738 static void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
1739 self
->AppendText(text
);
1741 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
1742 return self
->GetValue().Mid(from
, to
- from
);
1744 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
1745 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
1746 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1747 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
1748 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
1750 #include <wx/slider.h>
1753 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1754 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1756 #if !wxUSE_TOGGLEBTN
1757 // implement dummy items for platforms that don't have this class
1759 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1761 class wxToggleButton
: public wxControl
1764 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1765 const wxPoint
&, const wxSize
&, long,
1766 const wxValidator
&, const wxString
&)
1767 { wxPyRaiseNotImplemented(); }
1770 { wxPyRaiseNotImplemented(); }
1774 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1776 SWIGINTERNSHORT PyObject
*
1777 SWIG_From_unsigned_SS_long(unsigned long value
)
1779 return (value
> LONG_MAX
) ?
1780 PyLong_FromUnsignedLong(value
)
1781 : PyInt_FromLong((long)(value
));
1784 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1785 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1786 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1788 Py_INCREF(udata
->m_obj
);
1789 return udata
->m_obj
;
1795 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1796 self
->SetClientData(new wxPyUserData(clientData
));
1798 static wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1799 wxPyUserData
* udata
= NULL
;
1800 if (clientData
&& clientData
!= Py_None
)
1801 udata
= new wxPyUserData(clientData
);
1802 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1803 shortHelp
, longHelp
, udata
);
1805 static wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
1806 wxPyUserData
* udata
= NULL
;
1807 if (clientData
&& clientData
!= Py_None
)
1808 udata
= new wxPyUserData(clientData
);
1809 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1810 shortHelp
, longHelp
, udata
);
1812 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1813 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1815 Py_INCREF(udata
->m_obj
);
1816 return udata
->m_obj
;
1822 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1823 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1826 #include <wx/listctrl.h>
1828 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1829 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1830 // Python aware sorting function for wxPyListCtrl
1831 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1833 PyObject
* func
= (PyObject
*)funcPtr
;
1834 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1836 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1837 PyObject
* result
= PyEval_CallObject(func
, args
);
1840 retval
= PyInt_AsLong(result
);
1844 wxPyEndBlockThreads(blocked
);
1848 // C++ Version of a Python aware class
1849 class wxPyListCtrl
: public wxListCtrl
{
1850 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1852 wxPyListCtrl() : wxListCtrl() {}
1853 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1857 const wxValidator
& validator
,
1858 const wxString
& name
) :
1859 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1861 bool Create(wxWindow
* parent
, wxWindowID id
,
1865 const wxValidator
& validator
,
1866 const wxString
& name
) {
1867 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1870 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1871 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1873 // use the virtual version to avoid a confusing assert in the base class
1874 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1879 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1881 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1882 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1883 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1886 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1888 item
.SetMask( wxLIST_MASK_STATE
|
1896 if (self
->GetColumn(col
, item
))
1897 return new wxListItem(item
);
1901 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1902 wxListItem
* info
= new wxListItem
;
1903 info
->m_itemId
= itemId
;
1905 info
->m_mask
= 0xFFFF;
1906 self
->GetItem(*info
);
1909 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1911 self
->GetItemPosition(item
, pos
);
1914 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1916 self
->GetItemRect(item
, rect
, code
);
1920 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1921 if (!PyCallable_Check(func
))
1923 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1925 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1929 return (wxWindow
*)self
->m_mainWin
;
1933 #include <wx/treectrl.h>
1934 #include "wx/wxPython/pytree.h"
1936 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1937 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1938 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1939 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1940 // C++ version of Python aware wxTreeCtrl
1941 class wxPyTreeCtrl
: public wxTreeCtrl
{
1942 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1944 wxPyTreeCtrl() : wxTreeCtrl() {}
1945 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1949 const wxValidator
& validator
,
1950 const wxString
& name
) :
1951 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1953 bool Create(wxWindow
*parent
, wxWindowID id
,
1957 const wxValidator
& validator
,
1958 const wxString
& name
) {
1959 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1963 int OnCompareItems(const wxTreeItemId
& item1
,
1964 const wxTreeItemId
& item2
) {
1967 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1968 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1969 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1970 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1971 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1975 wxPyEndBlockThreads(blocked
);
1977 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1983 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1987 #if UINT_MAX < LONG_MAX
1988 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1989 #define SWIG_From_unsigned_SS_int SWIG_From_long
1992 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1993 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1999 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2000 unsigned long max_value
,
2003 if (value
> max_value
) {
2005 PyErr_Format(PyExc_OverflowError
,
2006 "value %lu is greater than '%s' minimum %lu",
2007 value
, errmsg
, max_value
);
2015 #if UINT_MAX != ULONG_MAX
2017 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2019 const char* errmsg
= val
? "unsigned int" : (char*)0;
2021 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2022 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2023 if (val
) *val
= (unsigned int)(v
);
2030 SWIG_type_error(errmsg
, obj
);
2035 SWIGINTERNSHORT
unsigned int
2036 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2038 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2043 SWIGINTERNSHORT
unsigned int
2044 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2047 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2049 this is needed to make valgrind/purify happier.
2051 memset((void*)&v
, 0, sizeof(unsigned int));
2058 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2060 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2063 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2064 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2066 data
= new wxPyTreeItemData();
2067 data
->SetId(item
); // set the id
2068 self
->SetItemData(item
, data
);
2072 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2073 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2075 data
= new wxPyTreeItemData();
2076 data
->SetId(item
); // set the id
2077 self
->SetItemData(item
, data
);
2079 return data
->GetData();
2081 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2082 data
->SetId(item
); // set the id
2083 self
->SetItemData(item
, data
);
2085 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2086 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2088 data
= new wxPyTreeItemData(obj
);
2089 data
->SetId(item
); // set the id
2090 self
->SetItemData(item
, data
);
2094 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2095 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2096 PyObject
* rval
= PyList_New(0);
2097 wxArrayTreeItemIds array
;
2099 num
= self
->GetSelections(array
);
2100 for (x
=0; x
< num
; x
++) {
2101 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2102 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2103 PyList_Append(rval
, item
);
2106 wxPyEndBlockThreads(blocked
);
2109 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2111 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2112 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2113 PyObject
* tup
= PyTuple_New(2);
2114 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2115 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2116 wxPyEndBlockThreads(blocked
);
2119 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2120 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2121 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2122 PyObject
* tup
= PyTuple_New(2);
2123 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2124 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2125 wxPyEndBlockThreads(blocked
);
2128 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2130 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2131 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2132 wxRect
* r
= new wxRect(rect
);
2133 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2134 wxPyEndBlockThreads(blocked
);
2140 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2142 SWIGINTERNSHORT PyObject
*
2143 SWIG_From_bool(bool value
)
2145 PyObject
*obj
= value
? Py_True
: Py_False
;
2151 // C++ version of Python aware wxControl
2152 class wxPyControl
: public wxControl
2154 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2156 wxPyControl() : wxControl() {}
2157 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2158 const wxPoint
& pos
= wxDefaultPosition
,
2159 const wxSize
& size
= wxDefaultSize
,
2161 const wxValidator
& validator
=wxDefaultValidator
,
2162 const wxString
& name
= wxPyControlNameStr
)
2163 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2165 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2167 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2168 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2169 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2170 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2172 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2173 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2174 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2176 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2177 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2179 DEC_PYCALLBACK__(InitDialog
);
2180 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2181 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2182 DEC_PYCALLBACK_BOOL_(Validate
);
2184 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2185 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2186 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2188 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2189 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2191 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2192 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2194 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2199 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2201 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2202 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2203 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2204 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2206 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2207 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2208 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2210 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2211 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2213 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2214 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2215 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2216 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2218 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2219 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2220 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2222 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2223 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2225 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2226 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2228 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2232 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2234 #include <wx/generic/dragimgg.h>
2236 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2237 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2239 self
->GetRange(&rv
, NULL
);
2242 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2244 self
->GetRange(NULL
, &rv
);
2250 static int _wrap_ButtonNameStr_set(PyObject
*) {
2251 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2256 static PyObject
*_wrap_ButtonNameStr_get(void) {
2261 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2263 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2270 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
*resultobj
;
2272 wxWindow
*arg1
= (wxWindow
*) 0 ;
2273 int arg2
= (int) -1 ;
2274 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2275 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2280 long arg6
= (long) 0 ;
2281 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2282 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2283 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2284 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2286 bool temp3
= false ;
2289 bool temp8
= false ;
2290 PyObject
* obj0
= 0 ;
2291 PyObject
* obj1
= 0 ;
2292 PyObject
* obj2
= 0 ;
2293 PyObject
* obj3
= 0 ;
2294 PyObject
* obj4
= 0 ;
2295 PyObject
* obj5
= 0 ;
2296 PyObject
* obj6
= 0 ;
2297 PyObject
* obj7
= 0 ;
2299 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2304 if (SWIG_arg_fail(1)) SWIG_fail
;
2307 arg2
= (int)(SWIG_As_int(obj1
));
2308 if (SWIG_arg_fail(2)) SWIG_fail
;
2313 arg3
= wxString_in_helper(obj2
);
2314 if (arg3
== NULL
) SWIG_fail
;
2321 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2327 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2332 arg6
= (long)(SWIG_As_long(obj5
));
2333 if (SWIG_arg_fail(6)) SWIG_fail
;
2338 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2339 if (SWIG_arg_fail(7)) SWIG_fail
;
2341 SWIG_null_ref("wxValidator");
2343 if (SWIG_arg_fail(7)) SWIG_fail
;
2348 arg8
= wxString_in_helper(obj7
);
2349 if (arg8
== NULL
) SWIG_fail
;
2354 if (!wxPyCheckForApp()) SWIG_fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2384 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2393 if (!wxPyCheckForApp()) SWIG_fail
;
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 result
= (wxButton
*)new wxButton();
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) SWIG_fail
;
2400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2407 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
*resultobj
;
2409 wxButton
*arg1
= (wxButton
*) 0 ;
2410 wxWindow
*arg2
= (wxWindow
*) 0 ;
2411 int arg3
= (int) -1 ;
2412 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2413 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2414 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2415 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2416 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2417 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2418 long arg7
= (long) 0 ;
2419 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2420 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2421 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2422 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2424 bool temp4
= false ;
2427 bool temp9
= false ;
2428 PyObject
* obj0
= 0 ;
2429 PyObject
* obj1
= 0 ;
2430 PyObject
* obj2
= 0 ;
2431 PyObject
* obj3
= 0 ;
2432 PyObject
* obj4
= 0 ;
2433 PyObject
* obj5
= 0 ;
2434 PyObject
* obj6
= 0 ;
2435 PyObject
* obj7
= 0 ;
2436 PyObject
* obj8
= 0 ;
2438 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2443 if (SWIG_arg_fail(1)) SWIG_fail
;
2444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2445 if (SWIG_arg_fail(2)) SWIG_fail
;
2448 arg3
= (int)(SWIG_As_int(obj2
));
2449 if (SWIG_arg_fail(3)) SWIG_fail
;
2454 arg4
= wxString_in_helper(obj3
);
2455 if (arg4
== NULL
) SWIG_fail
;
2462 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2468 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2473 arg7
= (long)(SWIG_As_long(obj6
));
2474 if (SWIG_arg_fail(7)) SWIG_fail
;
2479 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2480 if (SWIG_arg_fail(8)) SWIG_fail
;
2482 SWIG_null_ref("wxValidator");
2484 if (SWIG_arg_fail(8)) SWIG_fail
;
2489 arg9
= wxString_in_helper(obj8
);
2490 if (arg9
== NULL
) SWIG_fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2526 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxButton
*arg1
= (wxButton
*) 0 ;
2529 PyObject
* obj0
= 0 ;
2531 (char *) "self", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2536 if (SWIG_arg_fail(1)) SWIG_fail
;
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 (arg1
)->SetDefault();
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2544 Py_INCREF(Py_None
); resultobj
= Py_None
;
2551 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
*resultobj
;
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 result
= wxButton::GetDefaultSize();
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2568 resultptr
= new wxSize((wxSize
&)(result
));
2569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2577 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2580 wxVisualAttributes result
;
2581 PyObject
* obj0
= 0 ;
2583 (char *) "variant", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2589 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2590 if (SWIG_arg_fail(1)) SWIG_fail
;
2594 if (!wxPyCheckForApp()) SWIG_fail
;
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2602 wxVisualAttributes
* resultptr
;
2603 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2612 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2615 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2617 return Py_BuildValue((char *)"");
2619 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
;
2621 wxWindow
*arg1
= (wxWindow
*) 0 ;
2622 int arg2
= (int) -1 ;
2623 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2624 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2629 long arg6
= (long) wxBU_AUTODRAW
;
2630 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2631 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2632 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2633 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2634 wxBitmapButton
*result
;
2637 bool temp8
= false ;
2638 PyObject
* obj0
= 0 ;
2639 PyObject
* obj1
= 0 ;
2640 PyObject
* obj2
= 0 ;
2641 PyObject
* obj3
= 0 ;
2642 PyObject
* obj4
= 0 ;
2643 PyObject
* obj5
= 0 ;
2644 PyObject
* obj6
= 0 ;
2645 PyObject
* obj7
= 0 ;
2647 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2652 if (SWIG_arg_fail(1)) SWIG_fail
;
2655 arg2
= (int)(SWIG_As_int(obj1
));
2656 if (SWIG_arg_fail(2)) SWIG_fail
;
2661 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2662 if (SWIG_arg_fail(3)) SWIG_fail
;
2664 SWIG_null_ref("wxBitmap");
2666 if (SWIG_arg_fail(3)) SWIG_fail
;
2672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2683 arg6
= (long)(SWIG_As_long(obj5
));
2684 if (SWIG_arg_fail(6)) SWIG_fail
;
2689 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2690 if (SWIG_arg_fail(7)) SWIG_fail
;
2692 SWIG_null_ref("wxValidator");
2694 if (SWIG_arg_fail(7)) SWIG_fail
;
2699 arg8
= wxString_in_helper(obj7
);
2700 if (arg8
== NULL
) SWIG_fail
;
2705 if (!wxPyCheckForApp()) SWIG_fail
;
2706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2709 wxPyEndAllowThreads(__tstate
);
2710 if (PyErr_Occurred()) SWIG_fail
;
2712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2727 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxBitmapButton
*result
;
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2736 if (!wxPyCheckForApp()) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 result
= (wxBitmapButton
*)new wxBitmapButton();
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2750 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2753 wxWindow
*arg2
= (wxWindow
*) 0 ;
2754 int arg3
= (int) -1 ;
2755 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2756 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2757 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2758 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2759 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2760 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2761 long arg7
= (long) wxBU_AUTODRAW
;
2762 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2763 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2764 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2765 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2769 bool temp9
= false ;
2770 PyObject
* obj0
= 0 ;
2771 PyObject
* obj1
= 0 ;
2772 PyObject
* obj2
= 0 ;
2773 PyObject
* obj3
= 0 ;
2774 PyObject
* obj4
= 0 ;
2775 PyObject
* obj5
= 0 ;
2776 PyObject
* obj6
= 0 ;
2777 PyObject
* obj7
= 0 ;
2778 PyObject
* obj8
= 0 ;
2780 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2785 if (SWIG_arg_fail(1)) SWIG_fail
;
2786 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2787 if (SWIG_arg_fail(2)) SWIG_fail
;
2790 arg3
= (int)(SWIG_As_int(obj2
));
2791 if (SWIG_arg_fail(3)) SWIG_fail
;
2796 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2797 if (SWIG_arg_fail(4)) SWIG_fail
;
2799 SWIG_null_ref("wxBitmap");
2801 if (SWIG_arg_fail(4)) SWIG_fail
;
2807 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2813 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2818 arg7
= (long)(SWIG_As_long(obj6
));
2819 if (SWIG_arg_fail(7)) SWIG_fail
;
2824 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2825 if (SWIG_arg_fail(8)) SWIG_fail
;
2827 SWIG_null_ref("wxValidator");
2829 if (SWIG_arg_fail(8)) SWIG_fail
;
2834 arg9
= wxString_in_helper(obj8
);
2835 if (arg9
== NULL
) SWIG_fail
;
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2863 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2867 PyObject
* obj0
= 0 ;
2869 (char *) "self", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2874 if (SWIG_arg_fail(1)) SWIG_fail
;
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 result
= (arg1
)->GetBitmapLabel();
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2883 wxBitmap
* resultptr
;
2884 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2893 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
*resultobj
;
2895 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2897 PyObject
* obj0
= 0 ;
2899 (char *) "self", NULL
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2904 if (SWIG_arg_fail(1)) SWIG_fail
;
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 result
= (arg1
)->GetBitmapDisabled();
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2913 wxBitmap
* resultptr
;
2914 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2923 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2927 PyObject
* obj0
= 0 ;
2929 (char *) "self", NULL
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2934 if (SWIG_arg_fail(1)) SWIG_fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 result
= (arg1
)->GetBitmapFocus();
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2943 wxBitmap
* resultptr
;
2944 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2953 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
*resultobj
;
2955 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2957 PyObject
* obj0
= 0 ;
2959 (char *) "self", NULL
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2964 if (SWIG_arg_fail(1)) SWIG_fail
;
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 result
= (arg1
)->GetBitmapSelected();
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2973 wxBitmap
* resultptr
;
2974 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2983 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
;
2985 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2986 wxBitmap
*arg2
= 0 ;
2987 PyObject
* obj0
= 0 ;
2988 PyObject
* obj1
= 0 ;
2990 (char *) "self",(char *) "bitmap", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2995 if (SWIG_arg_fail(1)) SWIG_fail
;
2997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2998 if (SWIG_arg_fail(2)) SWIG_fail
;
3000 SWIG_null_ref("wxBitmap");
3002 if (SWIG_arg_fail(2)) SWIG_fail
;
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3011 Py_INCREF(Py_None
); resultobj
= Py_None
;
3018 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
*resultobj
;
3020 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3021 wxBitmap
*arg2
= 0 ;
3022 PyObject
* obj0
= 0 ;
3023 PyObject
* obj1
= 0 ;
3025 (char *) "self",(char *) "bitmap", NULL
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3030 if (SWIG_arg_fail(1)) SWIG_fail
;
3032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3033 if (SWIG_arg_fail(2)) SWIG_fail
;
3035 SWIG_null_ref("wxBitmap");
3037 if (SWIG_arg_fail(2)) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3046 Py_INCREF(Py_None
); resultobj
= Py_None
;
3053 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3055 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3056 wxBitmap
*arg2
= 0 ;
3057 PyObject
* obj0
= 0 ;
3058 PyObject
* obj1
= 0 ;
3060 (char *) "self",(char *) "bitmap", NULL
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3065 if (SWIG_arg_fail(1)) SWIG_fail
;
3067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3068 if (SWIG_arg_fail(2)) SWIG_fail
;
3070 SWIG_null_ref("wxBitmap");
3072 if (SWIG_arg_fail(2)) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3081 Py_INCREF(Py_None
); resultobj
= Py_None
;
3088 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
;
3090 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3091 wxBitmap
*arg2
= 0 ;
3092 PyObject
* obj0
= 0 ;
3093 PyObject
* obj1
= 0 ;
3095 (char *) "self",(char *) "bitmap", NULL
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3100 if (SWIG_arg_fail(1)) SWIG_fail
;
3102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3103 if (SWIG_arg_fail(2)) SWIG_fail
;
3105 SWIG_null_ref("wxBitmap");
3107 if (SWIG_arg_fail(2)) SWIG_fail
;
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3116 Py_INCREF(Py_None
); resultobj
= Py_None
;
3123 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
*resultobj
;
3125 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3130 PyObject
* obj2
= 0 ;
3132 (char *) "self",(char *) "x",(char *) "y", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3137 if (SWIG_arg_fail(1)) SWIG_fail
;
3139 arg2
= (int)(SWIG_As_int(obj1
));
3140 if (SWIG_arg_fail(2)) SWIG_fail
;
3143 arg3
= (int)(SWIG_As_int(obj2
));
3144 if (SWIG_arg_fail(3)) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 (arg1
)->SetMargins(arg2
,arg3
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 Py_INCREF(Py_None
); resultobj
= Py_None
;
3160 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3164 PyObject
* obj0
= 0 ;
3166 (char *) "self", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3171 if (SWIG_arg_fail(1)) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3180 resultobj
= SWIG_From_int((int)(result
));
3188 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3192 PyObject
* obj0
= 0 ;
3194 (char *) "self", NULL
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3199 if (SWIG_arg_fail(1)) SWIG_fail
;
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3208 resultobj
= SWIG_From_int((int)(result
));
3216 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3219 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3221 return Py_BuildValue((char *)"");
3223 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3224 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3229 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3234 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3236 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3243 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxWindow
*arg1
= (wxWindow
*) 0 ;
3246 int arg2
= (int) -1 ;
3247 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3248 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3249 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3250 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3251 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3252 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3253 long arg6
= (long) 0 ;
3254 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3255 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3256 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3257 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3259 bool temp3
= false ;
3262 bool temp8
= false ;
3263 PyObject
* obj0
= 0 ;
3264 PyObject
* obj1
= 0 ;
3265 PyObject
* obj2
= 0 ;
3266 PyObject
* obj3
= 0 ;
3267 PyObject
* obj4
= 0 ;
3268 PyObject
* obj5
= 0 ;
3269 PyObject
* obj6
= 0 ;
3270 PyObject
* obj7
= 0 ;
3272 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3277 if (SWIG_arg_fail(1)) SWIG_fail
;
3280 arg2
= (int)(SWIG_As_int(obj1
));
3281 if (SWIG_arg_fail(2)) SWIG_fail
;
3286 arg3
= wxString_in_helper(obj2
);
3287 if (arg3
== NULL
) SWIG_fail
;
3294 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3300 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3305 arg6
= (long)(SWIG_As_long(obj5
));
3306 if (SWIG_arg_fail(6)) SWIG_fail
;
3311 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3312 if (SWIG_arg_fail(7)) SWIG_fail
;
3314 SWIG_null_ref("wxValidator");
3316 if (SWIG_arg_fail(7)) SWIG_fail
;
3321 arg8
= wxString_in_helper(obj7
);
3322 if (arg8
== NULL
) SWIG_fail
;
3327 if (!wxPyCheckForApp()) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3357 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3366 if (!wxPyCheckForApp()) SWIG_fail
;
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 result
= (wxCheckBox
*)new wxCheckBox();
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3380 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
*resultobj
;
3382 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3383 wxWindow
*arg2
= (wxWindow
*) 0 ;
3384 int arg3
= (int) -1 ;
3385 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3386 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3387 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3388 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3389 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3390 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3391 long arg7
= (long) 0 ;
3392 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3393 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3394 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3395 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3397 bool temp4
= false ;
3400 bool temp9
= false ;
3401 PyObject
* obj0
= 0 ;
3402 PyObject
* obj1
= 0 ;
3403 PyObject
* obj2
= 0 ;
3404 PyObject
* obj3
= 0 ;
3405 PyObject
* obj4
= 0 ;
3406 PyObject
* obj5
= 0 ;
3407 PyObject
* obj6
= 0 ;
3408 PyObject
* obj7
= 0 ;
3409 PyObject
* obj8
= 0 ;
3411 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3416 if (SWIG_arg_fail(1)) SWIG_fail
;
3417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3418 if (SWIG_arg_fail(2)) SWIG_fail
;
3421 arg3
= (int)(SWIG_As_int(obj2
));
3422 if (SWIG_arg_fail(3)) SWIG_fail
;
3427 arg4
= wxString_in_helper(obj3
);
3428 if (arg4
== NULL
) SWIG_fail
;
3435 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3441 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3446 arg7
= (long)(SWIG_As_long(obj6
));
3447 if (SWIG_arg_fail(7)) SWIG_fail
;
3452 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3453 if (SWIG_arg_fail(8)) SWIG_fail
;
3455 SWIG_null_ref("wxValidator");
3457 if (SWIG_arg_fail(8)) SWIG_fail
;
3462 arg9
= wxString_in_helper(obj8
);
3463 if (arg9
== NULL
) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3499 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3505 (char *) "self", NULL
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail
;
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 result
= (bool)(arg1
)->GetValue();
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3527 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3533 (char *) "self", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3538 if (SWIG_arg_fail(1)) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 result
= (bool)(arg1
)->IsChecked();
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3555 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3560 PyObject
* obj1
= 0 ;
3562 (char *) "self",(char *) "state", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3567 if (SWIG_arg_fail(1)) SWIG_fail
;
3569 arg2
= (bool const)(SWIG_As_bool(obj1
));
3570 if (SWIG_arg_fail(2)) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 (arg1
)->SetValue(arg2
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 Py_INCREF(Py_None
); resultobj
= Py_None
;
3586 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3589 wxCheckBoxState result
;
3590 PyObject
* obj0
= 0 ;
3592 (char *) "self", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3597 if (SWIG_arg_fail(1)) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= SWIG_From_int((result
));
3612 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3614 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3615 wxCheckBoxState arg2
;
3616 PyObject
* obj0
= 0 ;
3617 PyObject
* obj1
= 0 ;
3619 (char *) "self",(char *) "state", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3624 if (SWIG_arg_fail(1)) SWIG_fail
;
3626 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3627 if (SWIG_arg_fail(2)) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 Py_INCREF(Py_None
); resultobj
= Py_None
;
3643 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
*resultobj
;
3645 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3647 PyObject
* obj0
= 0 ;
3649 (char *) "self", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3654 if (SWIG_arg_fail(1)) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3671 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3675 PyObject
* obj0
= 0 ;
3677 (char *) "self", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3682 if (SWIG_arg_fail(1)) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3699 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3702 wxVisualAttributes result
;
3703 PyObject
* obj0
= 0 ;
3705 (char *) "variant", NULL
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3711 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3712 if (SWIG_arg_fail(1)) SWIG_fail
;
3716 if (!wxPyCheckForApp()) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3724 wxVisualAttributes
* resultptr
;
3725 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3734 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3737 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3739 return Py_BuildValue((char *)"");
3741 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3742 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3747 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3752 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3754 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3761 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxWindow
*arg1
= (wxWindow
*) 0 ;
3764 int arg2
= (int) -1 ;
3765 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3766 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3767 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3768 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3769 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3770 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3771 long arg6
= (long) 0 ;
3772 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3773 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3774 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3775 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3779 bool temp5
= false ;
3780 bool temp8
= false ;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3783 PyObject
* obj2
= 0 ;
3784 PyObject
* obj3
= 0 ;
3785 PyObject
* obj4
= 0 ;
3786 PyObject
* obj5
= 0 ;
3787 PyObject
* obj6
= 0 ;
3788 PyObject
* obj7
= 0 ;
3790 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3795 if (SWIG_arg_fail(1)) SWIG_fail
;
3798 arg2
= (int)(SWIG_As_int(obj1
));
3799 if (SWIG_arg_fail(2)) SWIG_fail
;
3805 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3811 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3816 if (! PySequence_Check(obj4
)) {
3817 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3820 arg5
= new wxArrayString
;
3822 int i
, len
=PySequence_Length(obj4
);
3823 for (i
=0; i
<len
; i
++) {
3824 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3826 PyObject
* str
= PyObject_Unicode(item
);
3828 PyObject
* str
= PyObject_Str(item
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3831 arg5
->Add(Py2wxString(str
));
3839 arg6
= (long)(SWIG_As_long(obj5
));
3840 if (SWIG_arg_fail(6)) SWIG_fail
;
3845 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3846 if (SWIG_arg_fail(7)) SWIG_fail
;
3848 SWIG_null_ref("wxValidator");
3850 if (SWIG_arg_fail(7)) SWIG_fail
;
3855 arg8
= wxString_in_helper(obj7
);
3856 if (arg8
== NULL
) SWIG_fail
;
3861 if (!wxPyCheckForApp()) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3870 if (temp5
) delete arg5
;
3879 if (temp5
) delete arg5
;
3889 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3898 if (!wxPyCheckForApp()) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (wxChoice
*)new wxChoice();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3912 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxChoice
*arg1
= (wxChoice
*) 0 ;
3915 wxWindow
*arg2
= (wxWindow
*) 0 ;
3916 int arg3
= (int) -1 ;
3917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3921 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3922 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3923 long arg7
= (long) 0 ;
3924 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3925 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3926 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3927 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3931 bool temp6
= false ;
3932 bool temp9
= false ;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3935 PyObject
* obj2
= 0 ;
3936 PyObject
* obj3
= 0 ;
3937 PyObject
* obj4
= 0 ;
3938 PyObject
* obj5
= 0 ;
3939 PyObject
* obj6
= 0 ;
3940 PyObject
* obj7
= 0 ;
3941 PyObject
* obj8
= 0 ;
3943 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3948 if (SWIG_arg_fail(1)) SWIG_fail
;
3949 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3950 if (SWIG_arg_fail(2)) SWIG_fail
;
3953 arg3
= (int)(SWIG_As_int(obj2
));
3954 if (SWIG_arg_fail(3)) SWIG_fail
;
3960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3971 if (! PySequence_Check(obj5
)) {
3972 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3975 arg6
= new wxArrayString
;
3977 int i
, len
=PySequence_Length(obj5
);
3978 for (i
=0; i
<len
; i
++) {
3979 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3981 PyObject
* str
= PyObject_Unicode(item
);
3983 PyObject
* str
= PyObject_Str(item
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3986 arg6
->Add(Py2wxString(str
));
3994 arg7
= (long)(SWIG_As_long(obj6
));
3995 if (SWIG_arg_fail(7)) SWIG_fail
;
4000 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4001 if (SWIG_arg_fail(8)) SWIG_fail
;
4003 SWIG_null_ref("wxValidator");
4005 if (SWIG_arg_fail(8)) SWIG_fail
;
4010 arg9
= wxString_in_helper(obj8
);
4011 if (arg9
== NULL
) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4026 if (temp6
) delete arg6
;
4035 if (temp6
) delete arg6
;
4045 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4048 wxVisualAttributes result
;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "variant", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4057 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4058 if (SWIG_arg_fail(1)) SWIG_fail
;
4062 if (!wxPyCheckForApp()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4070 wxVisualAttributes
* resultptr
;
4071 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4080 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4083 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4085 return Py_BuildValue((char *)"");
4087 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4088 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4093 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4098 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4100 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4107 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxWindow
*arg1
= (wxWindow
*) 0 ;
4110 int arg2
= (int) -1 ;
4111 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4112 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4117 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4118 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4119 long arg7
= (long) 0 ;
4120 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4121 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4122 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4123 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4125 bool temp3
= false ;
4128 bool temp6
= false ;
4129 bool temp9
= false ;
4130 PyObject
* obj0
= 0 ;
4131 PyObject
* obj1
= 0 ;
4132 PyObject
* obj2
= 0 ;
4133 PyObject
* obj3
= 0 ;
4134 PyObject
* obj4
= 0 ;
4135 PyObject
* obj5
= 0 ;
4136 PyObject
* obj6
= 0 ;
4137 PyObject
* obj7
= 0 ;
4138 PyObject
* obj8
= 0 ;
4140 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4145 if (SWIG_arg_fail(1)) SWIG_fail
;
4148 arg2
= (int)(SWIG_As_int(obj1
));
4149 if (SWIG_arg_fail(2)) SWIG_fail
;
4154 arg3
= wxString_in_helper(obj2
);
4155 if (arg3
== NULL
) SWIG_fail
;
4162 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4168 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4173 if (! PySequence_Check(obj5
)) {
4174 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4177 arg6
= new wxArrayString
;
4179 int i
, len
=PySequence_Length(obj5
);
4180 for (i
=0; i
<len
; i
++) {
4181 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4183 PyObject
* str
= PyObject_Unicode(item
);
4185 PyObject
* str
= PyObject_Str(item
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4188 arg6
->Add(Py2wxString(str
));
4196 arg7
= (long)(SWIG_As_long(obj6
));
4197 if (SWIG_arg_fail(7)) SWIG_fail
;
4202 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4203 if (SWIG_arg_fail(8)) SWIG_fail
;
4205 SWIG_null_ref("wxValidator");
4207 if (SWIG_arg_fail(8)) SWIG_fail
;
4212 arg9
= wxString_in_helper(obj8
);
4213 if (arg9
== NULL
) SWIG_fail
;
4218 if (!wxPyCheckForApp()) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 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
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4231 if (temp6
) delete arg6
;
4244 if (temp6
) delete arg6
;
4254 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4263 if (!wxPyCheckForApp()) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (wxComboBox
*)new wxComboBox();
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4277 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4280 wxWindow
*arg2
= (wxWindow
*) 0 ;
4281 int arg3
= (int) -1 ;
4282 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4283 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4284 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4285 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4286 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4287 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4288 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4289 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4290 long arg8
= (long) 0 ;
4291 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4292 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4293 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4294 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4296 bool temp4
= false ;
4299 bool temp7
= false ;
4300 bool temp10
= false ;
4301 PyObject
* obj0
= 0 ;
4302 PyObject
* obj1
= 0 ;
4303 PyObject
* obj2
= 0 ;
4304 PyObject
* obj3
= 0 ;
4305 PyObject
* obj4
= 0 ;
4306 PyObject
* obj5
= 0 ;
4307 PyObject
* obj6
= 0 ;
4308 PyObject
* obj7
= 0 ;
4309 PyObject
* obj8
= 0 ;
4310 PyObject
* obj9
= 0 ;
4312 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4317 if (SWIG_arg_fail(1)) SWIG_fail
;
4318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4319 if (SWIG_arg_fail(2)) SWIG_fail
;
4322 arg3
= (int)(SWIG_As_int(obj2
));
4323 if (SWIG_arg_fail(3)) SWIG_fail
;
4328 arg4
= wxString_in_helper(obj3
);
4329 if (arg4
== NULL
) SWIG_fail
;
4336 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4342 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4347 if (! PySequence_Check(obj6
)) {
4348 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4351 arg7
= new wxArrayString
;
4353 int i
, len
=PySequence_Length(obj6
);
4354 for (i
=0; i
<len
; i
++) {
4355 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4357 PyObject
* str
= PyObject_Unicode(item
);
4359 PyObject
* str
= PyObject_Str(item
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4362 arg7
->Add(Py2wxString(str
));
4370 arg8
= (long)(SWIG_As_long(obj7
));
4371 if (SWIG_arg_fail(8)) SWIG_fail
;
4376 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4377 if (SWIG_arg_fail(9)) SWIG_fail
;
4379 SWIG_null_ref("wxValidator");
4381 if (SWIG_arg_fail(9)) SWIG_fail
;
4386 arg10
= wxString_in_helper(obj9
);
4387 if (arg10
== NULL
) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 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
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4406 if (temp7
) delete arg7
;
4419 if (temp7
) delete arg7
;
4429 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
;
4431 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4433 PyObject
* obj0
= 0 ;
4435 (char *) "self", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4440 if (SWIG_arg_fail(1)) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= ((wxComboBox
const *)arg1
)->GetValue();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4461 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4464 wxString
*arg2
= 0 ;
4465 bool temp2
= false ;
4466 PyObject
* obj0
= 0 ;
4467 PyObject
* obj1
= 0 ;
4469 (char *) "self",(char *) "value", NULL
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4474 if (SWIG_arg_fail(1)) SWIG_fail
;
4476 arg2
= wxString_in_helper(obj1
);
4477 if (arg2
== NULL
) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 (arg1
)->SetValue((wxString
const &)*arg2
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 Py_INCREF(Py_None
); resultobj
= Py_None
;
4502 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4507 (char *) "self", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4512 if (SWIG_arg_fail(1)) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 Py_INCREF(Py_None
); resultobj
= Py_None
;
4527 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4532 (char *) "self", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4537 if (SWIG_arg_fail(1)) SWIG_fail
;
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 Py_INCREF(Py_None
); resultobj
= Py_None
;
4552 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
;
4554 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4555 PyObject
* obj0
= 0 ;
4557 (char *) "self", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4562 if (SWIG_arg_fail(1)) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 Py_INCREF(Py_None
); resultobj
= Py_None
;
4577 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4584 (char *) "self",(char *) "pos", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4589 if (SWIG_arg_fail(1)) SWIG_fail
;
4591 arg2
= (long)(SWIG_As_long(obj1
));
4592 if (SWIG_arg_fail(2)) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 (arg1
)->SetInsertionPoint(arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 Py_INCREF(Py_None
); resultobj
= Py_None
;
4608 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4614 (char *) "self", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= SWIG_From_long((long)(result
));
4636 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4642 (char *) "self", NULL
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4647 if (SWIG_arg_fail(1)) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_From_long((long)(result
));
4664 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4669 wxString
*arg4
= 0 ;
4670 bool temp4
= false ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4673 PyObject
* obj2
= 0 ;
4674 PyObject
* obj3
= 0 ;
4676 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4681 if (SWIG_arg_fail(1)) SWIG_fail
;
4683 arg2
= (long)(SWIG_As_long(obj1
));
4684 if (SWIG_arg_fail(2)) SWIG_fail
;
4687 arg3
= (long)(SWIG_As_long(obj2
));
4688 if (SWIG_arg_fail(3)) SWIG_fail
;
4691 arg4
= wxString_in_helper(obj3
);
4692 if (arg4
== NULL
) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 Py_INCREF(Py_None
); resultobj
= Py_None
;
4717 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
;
4719 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4721 PyObject
* obj0
= 0 ;
4722 PyObject
* obj1
= 0 ;
4724 (char *) "self",(char *) "n", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4729 if (SWIG_arg_fail(1)) SWIG_fail
;
4731 arg2
= (int)(SWIG_As_int(obj1
));
4732 if (SWIG_arg_fail(2)) SWIG_fail
;
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 (arg1
)->SetSelection(arg2
);
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4741 Py_INCREF(Py_None
); resultobj
= Py_None
;
4748 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
;
4750 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj2
= 0 ;
4757 (char *) "self",(char *) "from",(char *) "to", NULL
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4762 if (SWIG_arg_fail(1)) SWIG_fail
;
4764 arg2
= (long)(SWIG_As_long(obj1
));
4765 if (SWIG_arg_fail(2)) SWIG_fail
;
4768 arg3
= (long)(SWIG_As_long(obj2
));
4769 if (SWIG_arg_fail(3)) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 (arg1
)->SetSelection(arg2
,arg3
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 Py_INCREF(Py_None
); resultobj
= Py_None
;
4785 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4787 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4788 wxString
*arg2
= 0 ;
4790 bool temp2
= false ;
4791 PyObject
* obj0
= 0 ;
4792 PyObject
* obj1
= 0 ;
4794 (char *) "self",(char *) "string", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4799 if (SWIG_arg_fail(1)) SWIG_fail
;
4801 arg2
= wxString_in_helper(obj1
);
4802 if (arg2
== NULL
) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4829 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4833 wxString
*arg3
= 0 ;
4834 bool temp3
= false ;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4837 PyObject
* obj2
= 0 ;
4839 (char *) "self",(char *) "n",(char *) "string", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4844 if (SWIG_arg_fail(1)) SWIG_fail
;
4846 arg2
= (int)(SWIG_As_int(obj1
));
4847 if (SWIG_arg_fail(2)) SWIG_fail
;
4850 arg3
= wxString_in_helper(obj2
);
4851 if (arg3
== NULL
) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 Py_INCREF(Py_None
); resultobj
= Py_None
;
4876 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4883 (char *) "self",(char *) "editable", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4888 if (SWIG_arg_fail(1)) SWIG_fail
;
4890 arg2
= (bool)(SWIG_As_bool(obj1
));
4891 if (SWIG_arg_fail(2)) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 (arg1
)->SetEditable(arg2
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 Py_INCREF(Py_None
); resultobj
= Py_None
;
4907 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
;
4909 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4912 (char *) "self", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4917 if (SWIG_arg_fail(1)) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 (arg1
)->SetInsertionPointEnd();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 Py_INCREF(Py_None
); resultobj
= Py_None
;
4932 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4937 PyObject
* obj0
= 0 ;
4938 PyObject
* obj1
= 0 ;
4939 PyObject
* obj2
= 0 ;
4941 (char *) "self",(char *) "from",(char *) "to", NULL
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4946 if (SWIG_arg_fail(1)) SWIG_fail
;
4948 arg2
= (long)(SWIG_As_long(obj1
));
4949 if (SWIG_arg_fail(2)) SWIG_fail
;
4952 arg3
= (long)(SWIG_As_long(obj2
));
4953 if (SWIG_arg_fail(3)) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 (arg1
)->Remove(arg2
,arg3
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 Py_INCREF(Py_None
); resultobj
= Py_None
;
4969 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4973 PyObject
* obj0
= 0 ;
4975 (char *) "self", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
4979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4980 if (SWIG_arg_fail(1)) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4997 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5000 PyObject
* obj0
= 0 ;
5002 (char *) "self", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5007 if (SWIG_arg_fail(1)) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 Py_INCREF(Py_None
); resultobj
= Py_None
;
5022 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "self", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5032 if (SWIG_arg_fail(1)) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 Py_INCREF(Py_None
); resultobj
= Py_None
;
5047 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "self", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5057 if (SWIG_arg_fail(1)) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 (arg1
)->SelectAll();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5078 (char *) "self", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5083 if (SWIG_arg_fail(1)) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5100 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5106 (char *) "self", NULL
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5111 if (SWIG_arg_fail(1)) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5128 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5134 (char *) "self", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5139 if (SWIG_arg_fail(1)) SWIG_fail
;
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5156 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 (char *) "self", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5167 if (SWIG_arg_fail(1)) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5184 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5190 (char *) "self", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5195 if (SWIG_arg_fail(1)) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5212 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5214 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5215 wxVisualAttributes result
;
5216 PyObject
* obj0
= 0 ;
5218 (char *) "variant", NULL
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5224 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5225 if (SWIG_arg_fail(1)) SWIG_fail
;
5229 if (!wxPyCheckForApp()) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5237 wxVisualAttributes
* resultptr
;
5238 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5247 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5250 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5252 return Py_BuildValue((char *)"");
5254 static int _wrap_GaugeNameStr_set(PyObject
*) {
5255 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5260 static PyObject
*_wrap_GaugeNameStr_get(void) {
5265 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5267 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5274 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
;
5276 wxWindow
*arg1
= (wxWindow
*) 0 ;
5277 int arg2
= (int) -1 ;
5278 int arg3
= (int) 100 ;
5279 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5280 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5281 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5282 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5283 long arg6
= (long) wxGA_HORIZONTAL
;
5284 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5285 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5286 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5291 bool temp8
= false ;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5294 PyObject
* obj2
= 0 ;
5295 PyObject
* obj3
= 0 ;
5296 PyObject
* obj4
= 0 ;
5297 PyObject
* obj5
= 0 ;
5298 PyObject
* obj6
= 0 ;
5299 PyObject
* obj7
= 0 ;
5301 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5306 if (SWIG_arg_fail(1)) SWIG_fail
;
5309 arg2
= (int)(SWIG_As_int(obj1
));
5310 if (SWIG_arg_fail(2)) SWIG_fail
;
5315 arg3
= (int)(SWIG_As_int(obj2
));
5316 if (SWIG_arg_fail(3)) SWIG_fail
;
5322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5333 arg6
= (long)(SWIG_As_long(obj5
));
5334 if (SWIG_arg_fail(6)) SWIG_fail
;
5339 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5340 if (SWIG_arg_fail(7)) SWIG_fail
;
5342 SWIG_null_ref("wxValidator");
5344 if (SWIG_arg_fail(7)) SWIG_fail
;
5349 arg8
= wxString_in_helper(obj7
);
5350 if (arg8
== NULL
) SWIG_fail
;
5355 if (!wxPyCheckForApp()) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5377 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
;
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5386 if (!wxPyCheckForApp()) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 result
= (wxGauge
*)new wxGauge();
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5400 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxGauge
*arg1
= (wxGauge
*) 0 ;
5403 wxWindow
*arg2
= (wxWindow
*) 0 ;
5404 int arg3
= (int) -1 ;
5405 int arg4
= (int) 100 ;
5406 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5407 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5408 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5409 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5410 long arg7
= (long) wxGA_HORIZONTAL
;
5411 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5412 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5413 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5414 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5418 bool temp9
= false ;
5419 PyObject
* obj0
= 0 ;
5420 PyObject
* obj1
= 0 ;
5421 PyObject
* obj2
= 0 ;
5422 PyObject
* obj3
= 0 ;
5423 PyObject
* obj4
= 0 ;
5424 PyObject
* obj5
= 0 ;
5425 PyObject
* obj6
= 0 ;
5426 PyObject
* obj7
= 0 ;
5427 PyObject
* obj8
= 0 ;
5429 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5434 if (SWIG_arg_fail(1)) SWIG_fail
;
5435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5436 if (SWIG_arg_fail(2)) SWIG_fail
;
5439 arg3
= (int)(SWIG_As_int(obj2
));
5440 if (SWIG_arg_fail(3)) SWIG_fail
;
5445 arg4
= (int)(SWIG_As_int(obj3
));
5446 if (SWIG_arg_fail(4)) SWIG_fail
;
5452 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5458 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5463 arg7
= (long)(SWIG_As_long(obj6
));
5464 if (SWIG_arg_fail(7)) SWIG_fail
;
5469 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5470 if (SWIG_arg_fail(8)) SWIG_fail
;
5472 SWIG_null_ref("wxValidator");
5474 if (SWIG_arg_fail(8)) SWIG_fail
;
5479 arg9
= wxString_in_helper(obj8
);
5480 if (arg9
== NULL
) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5508 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxGauge
*arg1
= (wxGauge
*) 0 ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5515 (char *) "self",(char *) "range", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5520 if (SWIG_arg_fail(1)) SWIG_fail
;
5522 arg2
= (int)(SWIG_As_int(obj1
));
5523 if (SWIG_arg_fail(2)) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 (arg1
)->SetRange(arg2
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 Py_INCREF(Py_None
); resultobj
= Py_None
;
5539 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxGauge
*arg1
= (wxGauge
*) 0 ;
5543 PyObject
* obj0
= 0 ;
5545 (char *) "self", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5550 if (SWIG_arg_fail(1)) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= SWIG_From_int((int)(result
));
5567 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxGauge
*arg1
= (wxGauge
*) 0 ;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5574 (char *) "self",(char *) "pos", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5579 if (SWIG_arg_fail(1)) SWIG_fail
;
5581 arg2
= (int)(SWIG_As_int(obj1
));
5582 if (SWIG_arg_fail(2)) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 (arg1
)->SetValue(arg2
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 Py_INCREF(Py_None
); resultobj
= Py_None
;
5598 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxGauge
*arg1
= (wxGauge
*) 0 ;
5602 PyObject
* obj0
= 0 ;
5604 (char *) "self", NULL
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5609 if (SWIG_arg_fail(1)) SWIG_fail
;
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_From_int((int)(result
));
5626 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxGauge
*arg1
= (wxGauge
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5632 (char *) "self", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5637 if (SWIG_arg_fail(1)) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5654 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
*resultobj
;
5656 wxGauge
*arg1
= (wxGauge
*) 0 ;
5658 PyObject
* obj0
= 0 ;
5659 PyObject
* obj1
= 0 ;
5661 (char *) "self",(char *) "w", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5666 if (SWIG_arg_fail(1)) SWIG_fail
;
5668 arg2
= (int)(SWIG_As_int(obj1
));
5669 if (SWIG_arg_fail(2)) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 (arg1
)->SetShadowWidth(arg2
);
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 Py_INCREF(Py_None
); resultobj
= Py_None
;
5685 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxGauge
*arg1
= (wxGauge
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5691 (char *) "self", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5696 if (SWIG_arg_fail(1)) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_From_int((int)(result
));
5713 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxGauge
*arg1
= (wxGauge
*) 0 ;
5717 PyObject
* obj0
= 0 ;
5718 PyObject
* obj1
= 0 ;
5720 (char *) "self",(char *) "w", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5725 if (SWIG_arg_fail(1)) SWIG_fail
;
5727 arg2
= (int)(SWIG_As_int(obj1
));
5728 if (SWIG_arg_fail(2)) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 (arg1
)->SetBezelFace(arg2
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 Py_INCREF(Py_None
); resultobj
= Py_None
;
5744 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxGauge
*arg1
= (wxGauge
*) 0 ;
5748 PyObject
* obj0
= 0 ;
5750 (char *) "self", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5755 if (SWIG_arg_fail(1)) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_From_int((int)(result
));
5772 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5775 wxVisualAttributes result
;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "variant", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5784 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5785 if (SWIG_arg_fail(1)) SWIG_fail
;
5789 if (!wxPyCheckForApp()) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 wxVisualAttributes
* resultptr
;
5798 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5807 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5810 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5812 return Py_BuildValue((char *)"");
5814 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5815 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5820 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5825 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5827 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5834 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5835 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5840 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5845 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5847 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5854 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5855 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5860 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5865 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5867 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5874 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxWindow
*arg1
= (wxWindow
*) 0 ;
5877 int arg2
= (int) -1 ;
5878 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5879 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5880 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5881 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5882 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5883 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5884 long arg6
= (long) 0 ;
5885 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5886 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5887 wxStaticBox
*result
;
5888 bool temp3
= false ;
5891 bool temp7
= false ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5894 PyObject
* obj2
= 0 ;
5895 PyObject
* obj3
= 0 ;
5896 PyObject
* obj4
= 0 ;
5897 PyObject
* obj5
= 0 ;
5898 PyObject
* obj6
= 0 ;
5900 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5905 if (SWIG_arg_fail(1)) SWIG_fail
;
5908 arg2
= (int)(SWIG_As_int(obj1
));
5909 if (SWIG_arg_fail(2)) SWIG_fail
;
5914 arg3
= wxString_in_helper(obj2
);
5915 if (arg3
== NULL
) SWIG_fail
;
5922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5933 arg6
= (long)(SWIG_As_long(obj5
));
5934 if (SWIG_arg_fail(6)) SWIG_fail
;
5939 arg7
= wxString_in_helper(obj6
);
5940 if (arg7
== NULL
) SWIG_fail
;
5945 if (!wxPyCheckForApp()) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5975 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxStaticBox
*result
;
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
5984 if (!wxPyCheckForApp()) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (wxStaticBox
*)new wxStaticBox();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
5998 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6001 wxWindow
*arg2
= (wxWindow
*) 0 ;
6002 int arg3
= (int) -1 ;
6003 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6004 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6005 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6006 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6007 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6008 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6009 long arg7
= (long) 0 ;
6010 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6011 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6013 bool temp4
= false ;
6016 bool temp8
= false ;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6019 PyObject
* obj2
= 0 ;
6020 PyObject
* obj3
= 0 ;
6021 PyObject
* obj4
= 0 ;
6022 PyObject
* obj5
= 0 ;
6023 PyObject
* obj6
= 0 ;
6024 PyObject
* obj7
= 0 ;
6026 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6031 if (SWIG_arg_fail(1)) SWIG_fail
;
6032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6033 if (SWIG_arg_fail(2)) SWIG_fail
;
6036 arg3
= (int)(SWIG_As_int(obj2
));
6037 if (SWIG_arg_fail(3)) SWIG_fail
;
6042 arg4
= wxString_in_helper(obj3
);
6043 if (arg4
== NULL
) SWIG_fail
;
6050 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6056 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6061 arg7
= (long)(SWIG_As_long(obj6
));
6062 if (SWIG_arg_fail(7)) SWIG_fail
;
6067 arg8
= wxString_in_helper(obj7
);
6068 if (arg8
== NULL
) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6104 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6107 wxVisualAttributes result
;
6108 PyObject
* obj0
= 0 ;
6110 (char *) "variant", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6116 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6117 if (SWIG_arg_fail(1)) SWIG_fail
;
6121 if (!wxPyCheckForApp()) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 wxVisualAttributes
* resultptr
;
6130 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6139 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6142 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6144 return Py_BuildValue((char *)"");
6146 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxWindow
*arg1
= (wxWindow
*) 0 ;
6149 int arg2
= (int) -1 ;
6150 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6151 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6152 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6153 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6154 long arg5
= (long) wxLI_HORIZONTAL
;
6155 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6156 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6157 wxStaticLine
*result
;
6160 bool temp6
= false ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6163 PyObject
* obj2
= 0 ;
6164 PyObject
* obj3
= 0 ;
6165 PyObject
* obj4
= 0 ;
6166 PyObject
* obj5
= 0 ;
6168 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6173 if (SWIG_arg_fail(1)) SWIG_fail
;
6176 arg2
= (int)(SWIG_As_int(obj1
));
6177 if (SWIG_arg_fail(2)) SWIG_fail
;
6183 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6189 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6194 arg5
= (long)(SWIG_As_long(obj4
));
6195 if (SWIG_arg_fail(5)) SWIG_fail
;
6200 arg6
= wxString_in_helper(obj5
);
6201 if (arg6
== NULL
) SWIG_fail
;
6206 if (!wxPyCheckForApp()) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6228 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxStaticLine
*result
;
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6237 if (!wxPyCheckForApp()) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (wxStaticLine
*)new wxStaticLine();
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6251 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6254 wxWindow
*arg2
= (wxWindow
*) 0 ;
6255 int arg3
= (int) -1 ;
6256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6260 long arg6
= (long) wxLI_HORIZONTAL
;
6261 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6266 bool temp7
= false ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6269 PyObject
* obj2
= 0 ;
6270 PyObject
* obj3
= 0 ;
6271 PyObject
* obj4
= 0 ;
6272 PyObject
* obj5
= 0 ;
6273 PyObject
* obj6
= 0 ;
6275 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6280 if (SWIG_arg_fail(1)) SWIG_fail
;
6281 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6282 if (SWIG_arg_fail(2)) SWIG_fail
;
6285 arg3
= (int)(SWIG_As_int(obj2
));
6286 if (SWIG_arg_fail(3)) SWIG_fail
;
6292 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6298 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6303 arg6
= (long)(SWIG_As_long(obj5
));
6304 if (SWIG_arg_fail(6)) SWIG_fail
;
6309 arg7
= wxString_in_helper(obj6
);
6310 if (arg7
== NULL
) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6338 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6340 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6342 PyObject
* obj0
= 0 ;
6344 (char *) "self", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6349 if (SWIG_arg_fail(1)) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6366 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= (int)wxStaticLine::GetDefaultSize();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_From_int((int)(result
));
6390 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6393 wxVisualAttributes result
;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "variant", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6402 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6403 if (SWIG_arg_fail(1)) SWIG_fail
;
6407 if (!wxPyCheckForApp()) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6415 wxVisualAttributes
* resultptr
;
6416 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6425 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6428 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6430 return Py_BuildValue((char *)"");
6432 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxWindow
*arg1
= (wxWindow
*) 0 ;
6435 int arg2
= (int) -1 ;
6436 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6437 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6442 long arg6
= (long) 0 ;
6443 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6445 wxStaticText
*result
;
6446 bool temp3
= false ;
6449 bool temp7
= false ;
6450 PyObject
* obj0
= 0 ;
6451 PyObject
* obj1
= 0 ;
6452 PyObject
* obj2
= 0 ;
6453 PyObject
* obj3
= 0 ;
6454 PyObject
* obj4
= 0 ;
6455 PyObject
* obj5
= 0 ;
6456 PyObject
* obj6
= 0 ;
6458 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6463 if (SWIG_arg_fail(1)) SWIG_fail
;
6466 arg2
= (int)(SWIG_As_int(obj1
));
6467 if (SWIG_arg_fail(2)) SWIG_fail
;
6472 arg3
= wxString_in_helper(obj2
);
6473 if (arg3
== NULL
) SWIG_fail
;
6480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6491 arg6
= (long)(SWIG_As_long(obj5
));
6492 if (SWIG_arg_fail(6)) SWIG_fail
;
6497 arg7
= wxString_in_helper(obj6
);
6498 if (arg7
== NULL
) SWIG_fail
;
6503 if (!wxPyCheckForApp()) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6533 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxStaticText
*result
;
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6542 if (!wxPyCheckForApp()) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (wxStaticText
*)new wxStaticText();
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6556 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6559 wxWindow
*arg2
= (wxWindow
*) 0 ;
6560 int arg3
= (int) -1 ;
6561 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6562 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6563 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6564 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6565 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6566 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6567 long arg7
= (long) 0 ;
6568 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6569 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6571 bool temp4
= false ;
6574 bool temp8
= false ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6577 PyObject
* obj2
= 0 ;
6578 PyObject
* obj3
= 0 ;
6579 PyObject
* obj4
= 0 ;
6580 PyObject
* obj5
= 0 ;
6581 PyObject
* obj6
= 0 ;
6582 PyObject
* obj7
= 0 ;
6584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6589 if (SWIG_arg_fail(1)) SWIG_fail
;
6590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6591 if (SWIG_arg_fail(2)) SWIG_fail
;
6594 arg3
= (int)(SWIG_As_int(obj2
));
6595 if (SWIG_arg_fail(3)) SWIG_fail
;
6600 arg4
= wxString_in_helper(obj3
);
6601 if (arg4
== NULL
) SWIG_fail
;
6608 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6614 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6619 arg7
= (long)(SWIG_As_long(obj6
));
6620 if (SWIG_arg_fail(7)) SWIG_fail
;
6625 arg8
= wxString_in_helper(obj7
);
6626 if (arg8
== NULL
) SWIG_fail
;
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6662 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6665 wxVisualAttributes result
;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "variant", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6674 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6675 if (SWIG_arg_fail(1)) SWIG_fail
;
6679 if (!wxPyCheckForApp()) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 wxVisualAttributes
* resultptr
;
6688 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6697 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6700 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6702 return Py_BuildValue((char *)"");
6704 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxWindow
*arg1
= (wxWindow
*) 0 ;
6707 int arg2
= (int) -1 ;
6708 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6709 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6710 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6711 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6712 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6713 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6714 long arg6
= (long) 0 ;
6715 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6716 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6717 wxStaticBitmap
*result
;
6720 bool temp7
= false ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 PyObject
* obj2
= 0 ;
6724 PyObject
* obj3
= 0 ;
6725 PyObject
* obj4
= 0 ;
6726 PyObject
* obj5
= 0 ;
6727 PyObject
* obj6
= 0 ;
6729 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6734 if (SWIG_arg_fail(1)) SWIG_fail
;
6737 arg2
= (int)(SWIG_As_int(obj1
));
6738 if (SWIG_arg_fail(2)) SWIG_fail
;
6743 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6744 if (SWIG_arg_fail(3)) SWIG_fail
;
6746 SWIG_null_ref("wxBitmap");
6748 if (SWIG_arg_fail(3)) SWIG_fail
;
6754 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6760 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6765 arg6
= (long)(SWIG_As_long(obj5
));
6766 if (SWIG_arg_fail(6)) SWIG_fail
;
6771 arg7
= wxString_in_helper(obj6
);
6772 if (arg7
== NULL
) SWIG_fail
;
6777 if (!wxPyCheckForApp()) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6799 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxStaticBitmap
*result
;
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6808 if (!wxPyCheckForApp()) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6822 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6825 wxWindow
*arg2
= (wxWindow
*) 0 ;
6826 int arg3
= (int) -1 ;
6827 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6828 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6829 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6830 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6831 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6832 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6833 long arg7
= (long) 0 ;
6834 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6835 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6839 bool temp8
= false ;
6840 PyObject
* obj0
= 0 ;
6841 PyObject
* obj1
= 0 ;
6842 PyObject
* obj2
= 0 ;
6843 PyObject
* obj3
= 0 ;
6844 PyObject
* obj4
= 0 ;
6845 PyObject
* obj5
= 0 ;
6846 PyObject
* obj6
= 0 ;
6847 PyObject
* obj7
= 0 ;
6849 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6854 if (SWIG_arg_fail(1)) SWIG_fail
;
6855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6856 if (SWIG_arg_fail(2)) SWIG_fail
;
6859 arg3
= (int)(SWIG_As_int(obj2
));
6860 if (SWIG_arg_fail(3)) SWIG_fail
;
6865 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6866 if (SWIG_arg_fail(4)) SWIG_fail
;
6868 SWIG_null_ref("wxBitmap");
6870 if (SWIG_arg_fail(4)) SWIG_fail
;
6876 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6882 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6887 arg7
= (long)(SWIG_As_long(obj6
));
6888 if (SWIG_arg_fail(7)) SWIG_fail
;
6893 arg8
= wxString_in_helper(obj7
);
6894 if (arg8
== NULL
) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6922 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6924 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6926 PyObject
* obj0
= 0 ;
6928 (char *) "self", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6933 if (SWIG_arg_fail(1)) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 result
= (arg1
)->GetBitmap();
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6942 wxBitmap
* resultptr
;
6943 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6952 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6955 wxBitmap
*arg2
= 0 ;
6956 PyObject
* obj0
= 0 ;
6957 PyObject
* obj1
= 0 ;
6959 (char *) "self",(char *) "bitmap", NULL
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6964 if (SWIG_arg_fail(1)) SWIG_fail
;
6966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6967 if (SWIG_arg_fail(2)) SWIG_fail
;
6969 SWIG_null_ref("wxBitmap");
6971 if (SWIG_arg_fail(2)) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 Py_INCREF(Py_None
); resultobj
= Py_None
;
6987 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6991 PyObject
* obj0
= 0 ;
6992 PyObject
* obj1
= 0 ;
6994 (char *) "self",(char *) "icon", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
6998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6999 if (SWIG_arg_fail(1)) SWIG_fail
;
7001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7002 if (SWIG_arg_fail(2)) SWIG_fail
;
7004 SWIG_null_ref("wxIcon");
7006 if (SWIG_arg_fail(2)) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 Py_INCREF(Py_None
); resultobj
= Py_None
;
7022 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7025 wxVisualAttributes result
;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "variant", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7034 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7035 if (SWIG_arg_fail(1)) SWIG_fail
;
7039 if (!wxPyCheckForApp()) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 wxVisualAttributes
* resultptr
;
7048 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7057 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7060 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7062 return Py_BuildValue((char *)"");
7064 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7065 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7070 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7075 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7077 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7084 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxWindow
*arg1
= (wxWindow
*) 0 ;
7087 int arg2
= (int) -1 ;
7088 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7089 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7090 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7091 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7092 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7093 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7094 long arg6
= (long) 0 ;
7095 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7096 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7097 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7098 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7102 bool temp5
= false ;
7103 bool temp8
= false ;
7104 PyObject
* obj0
= 0 ;
7105 PyObject
* obj1
= 0 ;
7106 PyObject
* obj2
= 0 ;
7107 PyObject
* obj3
= 0 ;
7108 PyObject
* obj4
= 0 ;
7109 PyObject
* obj5
= 0 ;
7110 PyObject
* obj6
= 0 ;
7111 PyObject
* obj7
= 0 ;
7113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7118 if (SWIG_arg_fail(1)) SWIG_fail
;
7121 arg2
= (int)(SWIG_As_int(obj1
));
7122 if (SWIG_arg_fail(2)) SWIG_fail
;
7128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7134 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7139 if (! PySequence_Check(obj4
)) {
7140 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7143 arg5
= new wxArrayString
;
7145 int i
, len
=PySequence_Length(obj4
);
7146 for (i
=0; i
<len
; i
++) {
7147 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7149 PyObject
* str
= PyObject_Unicode(item
);
7151 PyObject
* str
= PyObject_Str(item
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7154 arg5
->Add(Py2wxString(str
));
7162 arg6
= (long)(SWIG_As_long(obj5
));
7163 if (SWIG_arg_fail(6)) SWIG_fail
;
7168 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7169 if (SWIG_arg_fail(7)) SWIG_fail
;
7171 SWIG_null_ref("wxValidator");
7173 if (SWIG_arg_fail(7)) SWIG_fail
;
7178 arg8
= wxString_in_helper(obj7
);
7179 if (arg8
== NULL
) SWIG_fail
;
7184 if (!wxPyCheckForApp()) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7193 if (temp5
) delete arg5
;
7202 if (temp5
) delete arg5
;
7212 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7221 if (!wxPyCheckForApp()) SWIG_fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 result
= (wxListBox
*)new wxListBox();
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7235 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
;
7237 wxListBox
*arg1
= (wxListBox
*) 0 ;
7238 wxWindow
*arg2
= (wxWindow
*) 0 ;
7239 int arg3
= (int) -1 ;
7240 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7241 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7242 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7243 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7244 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7245 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7246 long arg7
= (long) 0 ;
7247 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7248 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7249 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7250 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7254 bool temp6
= false ;
7255 bool temp9
= false ;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7258 PyObject
* obj2
= 0 ;
7259 PyObject
* obj3
= 0 ;
7260 PyObject
* obj4
= 0 ;
7261 PyObject
* obj5
= 0 ;
7262 PyObject
* obj6
= 0 ;
7263 PyObject
* obj7
= 0 ;
7264 PyObject
* obj8
= 0 ;
7266 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7271 if (SWIG_arg_fail(1)) SWIG_fail
;
7272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7273 if (SWIG_arg_fail(2)) SWIG_fail
;
7276 arg3
= (int)(SWIG_As_int(obj2
));
7277 if (SWIG_arg_fail(3)) SWIG_fail
;
7283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7294 if (! PySequence_Check(obj5
)) {
7295 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7298 arg6
= new wxArrayString
;
7300 int i
, len
=PySequence_Length(obj5
);
7301 for (i
=0; i
<len
; i
++) {
7302 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7304 PyObject
* str
= PyObject_Unicode(item
);
7306 PyObject
* str
= PyObject_Str(item
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7309 arg6
->Add(Py2wxString(str
));
7317 arg7
= (long)(SWIG_As_long(obj6
));
7318 if (SWIG_arg_fail(7)) SWIG_fail
;
7323 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7324 if (SWIG_arg_fail(8)) SWIG_fail
;
7326 SWIG_null_ref("wxValidator");
7328 if (SWIG_arg_fail(8)) SWIG_fail
;
7333 arg9
= wxString_in_helper(obj8
);
7334 if (arg9
== NULL
) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7349 if (temp6
) delete arg6
;
7358 if (temp6
) delete arg6
;
7368 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxListBox
*arg1
= (wxListBox
*) 0 ;
7371 wxString
*arg2
= 0 ;
7373 PyObject
*arg4
= (PyObject
*) NULL
;
7374 bool temp2
= false ;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7377 PyObject
* obj2
= 0 ;
7378 PyObject
* obj3
= 0 ;
7380 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7385 if (SWIG_arg_fail(1)) SWIG_fail
;
7387 arg2
= wxString_in_helper(obj1
);
7388 if (arg2
== NULL
) SWIG_fail
;
7392 arg3
= (int)(SWIG_As_int(obj2
));
7393 if (SWIG_arg_fail(3)) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 Py_INCREF(Py_None
); resultobj
= Py_None
;
7420 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxListBox
*arg1
= (wxListBox
*) 0 ;
7423 wxArrayString
*arg2
= 0 ;
7425 bool temp2
= false ;
7426 PyObject
* obj0
= 0 ;
7427 PyObject
* obj1
= 0 ;
7428 PyObject
* obj2
= 0 ;
7430 (char *) "self",(char *) "items",(char *) "pos", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7435 if (SWIG_arg_fail(1)) SWIG_fail
;
7437 if (! PySequence_Check(obj1
)) {
7438 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7441 arg2
= new wxArrayString
;
7443 int i
, len
=PySequence_Length(obj1
);
7444 for (i
=0; i
<len
; i
++) {
7445 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7447 PyObject
* str
= PyObject_Unicode(item
);
7449 PyObject
* str
= PyObject_Str(item
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7452 arg2
->Add(Py2wxString(str
));
7458 arg3
= (int)(SWIG_As_int(obj2
));
7459 if (SWIG_arg_fail(3)) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 Py_INCREF(Py_None
); resultobj
= Py_None
;
7470 if (temp2
) delete arg2
;
7475 if (temp2
) delete arg2
;
7481 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxListBox
*arg1
= (wxListBox
*) 0 ;
7484 wxArrayString
*arg2
= 0 ;
7485 bool temp2
= false ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7489 (char *) "self",(char *) "items", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7494 if (SWIG_arg_fail(1)) SWIG_fail
;
7496 if (! PySequence_Check(obj1
)) {
7497 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7500 arg2
= new wxArrayString
;
7502 int i
, len
=PySequence_Length(obj1
);
7503 for (i
=0; i
<len
; i
++) {
7504 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7506 PyObject
* str
= PyObject_Unicode(item
);
7508 PyObject
* str
= PyObject_Str(item
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7511 arg2
->Add(Py2wxString(str
));
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 (arg1
)->Set((wxArrayString
const &)*arg2
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 Py_INCREF(Py_None
); resultobj
= Py_None
;
7525 if (temp2
) delete arg2
;
7530 if (temp2
) delete arg2
;
7536 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxListBox
*arg1
= (wxListBox
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7544 (char *) "self",(char *) "n", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail
;
7551 arg2
= (int)(SWIG_As_int(obj1
));
7552 if (SWIG_arg_fail(2)) SWIG_fail
;
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7556 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7570 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxListBox
*arg1
= (wxListBox
*) 0 ;
7574 bool arg3
= (bool) true ;
7575 PyObject
* obj0
= 0 ;
7576 PyObject
* obj1
= 0 ;
7577 PyObject
* obj2
= 0 ;
7579 (char *) "self",(char *) "n",(char *) "select", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7584 if (SWIG_arg_fail(1)) SWIG_fail
;
7586 arg2
= (int)(SWIG_As_int(obj1
));
7587 if (SWIG_arg_fail(2)) SWIG_fail
;
7591 arg3
= (bool)(SWIG_As_bool(obj2
));
7592 if (SWIG_arg_fail(3)) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 (arg1
)->SetSelection(arg2
,arg3
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 Py_INCREF(Py_None
); resultobj
= Py_None
;
7609 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxListBox
*arg1
= (wxListBox
*) 0 ;
7613 PyObject
* obj0
= 0 ;
7614 PyObject
* obj1
= 0 ;
7616 (char *) "self",(char *) "n", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7621 if (SWIG_arg_fail(1)) SWIG_fail
;
7623 arg2
= (int)(SWIG_As_int(obj1
));
7624 if (SWIG_arg_fail(2)) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 (arg1
)->Select(arg2
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 Py_INCREF(Py_None
); resultobj
= Py_None
;
7640 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxListBox
*arg1
= (wxListBox
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7647 (char *) "self",(char *) "n", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7652 if (SWIG_arg_fail(1)) SWIG_fail
;
7654 arg2
= (int)(SWIG_As_int(obj1
));
7655 if (SWIG_arg_fail(2)) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 (arg1
)->Deselect(arg2
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 Py_INCREF(Py_None
); resultobj
= Py_None
;
7671 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxListBox
*arg1
= (wxListBox
*) 0 ;
7674 int arg2
= (int) -1 ;
7675 PyObject
* obj0
= 0 ;
7676 PyObject
* obj1
= 0 ;
7678 (char *) "self",(char *) "itemToLeaveSelected", NULL
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7683 if (SWIG_arg_fail(1)) SWIG_fail
;
7686 arg2
= (int)(SWIG_As_int(obj1
));
7687 if (SWIG_arg_fail(2)) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 (arg1
)->DeselectAll(arg2
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 Py_INCREF(Py_None
); resultobj
= Py_None
;
7704 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxListBox
*arg1
= (wxListBox
*) 0 ;
7707 wxString
*arg2
= 0 ;
7708 bool arg3
= (bool) true ;
7710 bool temp2
= false ;
7711 PyObject
* obj0
= 0 ;
7712 PyObject
* obj1
= 0 ;
7713 PyObject
* obj2
= 0 ;
7715 (char *) "self",(char *) "s",(char *) "select", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7720 if (SWIG_arg_fail(1)) SWIG_fail
;
7722 arg2
= wxString_in_helper(obj1
);
7723 if (arg2
== NULL
) SWIG_fail
;
7728 arg3
= (bool)(SWIG_As_bool(obj2
));
7729 if (SWIG_arg_fail(3)) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7756 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxListBox
*arg1
= (wxListBox
*) 0 ;
7760 PyObject
* obj0
= 0 ;
7762 (char *) "self", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7767 if (SWIG_arg_fail(1)) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7782 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxListBox
*arg1
= (wxListBox
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7789 (char *) "self",(char *) "n", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7796 arg2
= (int)(SWIG_As_int(obj1
));
7797 if (SWIG_arg_fail(2)) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 (arg1
)->SetFirstItem(arg2
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 Py_INCREF(Py_None
); resultobj
= Py_None
;
7813 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxListBox
*arg1
= (wxListBox
*) 0 ;
7816 wxString
*arg2
= 0 ;
7817 bool temp2
= false ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7821 (char *) "self",(char *) "s", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7826 if (SWIG_arg_fail(1)) SWIG_fail
;
7828 arg2
= wxString_in_helper(obj1
);
7829 if (arg2
== NULL
) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 Py_INCREF(Py_None
); resultobj
= Py_None
;
7854 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxListBox
*arg1
= (wxListBox
*) 0 ;
7858 PyObject
* obj0
= 0 ;
7859 PyObject
* obj1
= 0 ;
7861 (char *) "self",(char *) "n", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7866 if (SWIG_arg_fail(1)) SWIG_fail
;
7868 arg2
= (int)(SWIG_As_int(obj1
));
7869 if (SWIG_arg_fail(2)) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 (arg1
)->EnsureVisible(arg2
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7878 Py_INCREF(Py_None
); resultobj
= Py_None
;
7885 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxListBox
*arg1
= (wxListBox
*) 0 ;
7888 wxString
*arg2
= 0 ;
7889 bool temp2
= false ;
7890 PyObject
* obj0
= 0 ;
7891 PyObject
* obj1
= 0 ;
7893 (char *) "self",(char *) "s", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7898 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 arg2
= wxString_in_helper(obj1
);
7901 if (arg2
== NULL
) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 Py_INCREF(Py_None
); resultobj
= Py_None
;
7926 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxListBox
*arg1
= (wxListBox
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7932 (char *) "self", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7954 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxListBox
*arg1
= (wxListBox
*) 0 ;
7958 wxColour
*arg3
= 0 ;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7962 PyObject
* obj2
= 0 ;
7964 (char *) "self",(char *) "item",(char *) "c", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7969 if (SWIG_arg_fail(1)) SWIG_fail
;
7971 arg2
= (int)(SWIG_As_int(obj1
));
7972 if (SWIG_arg_fail(2)) SWIG_fail
;
7976 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 Py_INCREF(Py_None
); resultobj
= Py_None
;
7992 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxListBox
*arg1
= (wxListBox
*) 0 ;
7996 wxColour
*arg3
= 0 ;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8000 PyObject
* obj2
= 0 ;
8002 (char *) "self",(char *) "item",(char *) "c", NULL
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8007 if (SWIG_arg_fail(1)) SWIG_fail
;
8009 arg2
= (int)(SWIG_As_int(obj1
));
8010 if (SWIG_arg_fail(2)) SWIG_fail
;
8014 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 Py_INCREF(Py_None
); resultobj
= Py_None
;
8030 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxListBox
*arg1
= (wxListBox
*) 0 ;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8037 PyObject
* obj2
= 0 ;
8039 (char *) "self",(char *) "item",(char *) "f", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8044 if (SWIG_arg_fail(1)) SWIG_fail
;
8046 arg2
= (int)(SWIG_As_int(obj1
));
8047 if (SWIG_arg_fail(2)) SWIG_fail
;
8050 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8051 if (SWIG_arg_fail(3)) SWIG_fail
;
8053 SWIG_null_ref("wxFont");
8055 if (SWIG_arg_fail(3)) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 Py_INCREF(Py_None
); resultobj
= Py_None
;
8071 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8074 wxVisualAttributes result
;
8075 PyObject
* obj0
= 0 ;
8077 (char *) "variant", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8083 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8084 if (SWIG_arg_fail(1)) SWIG_fail
;
8088 if (!wxPyCheckForApp()) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 wxVisualAttributes
* resultptr
;
8097 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8106 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8109 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8111 return Py_BuildValue((char *)"");
8113 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
*resultobj
;
8115 wxWindow
*arg1
= (wxWindow
*) 0 ;
8116 int arg2
= (int) -1 ;
8117 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8118 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8119 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8120 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8121 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8122 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8123 long arg6
= (long) 0 ;
8124 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8125 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8126 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8127 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8128 wxCheckListBox
*result
;
8131 bool temp5
= false ;
8132 bool temp8
= false ;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8135 PyObject
* obj2
= 0 ;
8136 PyObject
* obj3
= 0 ;
8137 PyObject
* obj4
= 0 ;
8138 PyObject
* obj5
= 0 ;
8139 PyObject
* obj6
= 0 ;
8140 PyObject
* obj7
= 0 ;
8142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8147 if (SWIG_arg_fail(1)) SWIG_fail
;
8150 arg2
= (int)(SWIG_As_int(obj1
));
8151 if (SWIG_arg_fail(2)) SWIG_fail
;
8157 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8163 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8168 if (! PySequence_Check(obj4
)) {
8169 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8172 arg5
= new wxArrayString
;
8174 int i
, len
=PySequence_Length(obj4
);
8175 for (i
=0; i
<len
; i
++) {
8176 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8178 PyObject
* str
= PyObject_Unicode(item
);
8180 PyObject
* str
= PyObject_Str(item
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8183 arg5
->Add(Py2wxString(str
));
8191 arg6
= (long)(SWIG_As_long(obj5
));
8192 if (SWIG_arg_fail(6)) SWIG_fail
;
8197 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8198 if (SWIG_arg_fail(7)) SWIG_fail
;
8200 SWIG_null_ref("wxValidator");
8202 if (SWIG_arg_fail(7)) SWIG_fail
;
8207 arg8
= wxString_in_helper(obj7
);
8208 if (arg8
== NULL
) SWIG_fail
;
8213 if (!wxPyCheckForApp()) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8222 if (temp5
) delete arg5
;
8231 if (temp5
) delete arg5
;
8241 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxCheckListBox
*result
;
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8250 if (!wxPyCheckForApp()) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (wxCheckListBox
*)new wxCheckListBox();
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8264 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8267 wxWindow
*arg2
= (wxWindow
*) 0 ;
8268 int arg3
= (int) -1 ;
8269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8273 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8274 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8275 long arg7
= (long) 0 ;
8276 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8277 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8278 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8279 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8283 bool temp6
= false ;
8284 bool temp9
= false ;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8287 PyObject
* obj2
= 0 ;
8288 PyObject
* obj3
= 0 ;
8289 PyObject
* obj4
= 0 ;
8290 PyObject
* obj5
= 0 ;
8291 PyObject
* obj6
= 0 ;
8292 PyObject
* obj7
= 0 ;
8293 PyObject
* obj8
= 0 ;
8295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8300 if (SWIG_arg_fail(1)) SWIG_fail
;
8301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8302 if (SWIG_arg_fail(2)) SWIG_fail
;
8305 arg3
= (int)(SWIG_As_int(obj2
));
8306 if (SWIG_arg_fail(3)) SWIG_fail
;
8312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8323 if (! PySequence_Check(obj5
)) {
8324 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8327 arg6
= new wxArrayString
;
8329 int i
, len
=PySequence_Length(obj5
);
8330 for (i
=0; i
<len
; i
++) {
8331 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8333 PyObject
* str
= PyObject_Unicode(item
);
8335 PyObject
* str
= PyObject_Str(item
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8338 arg6
->Add(Py2wxString(str
));
8346 arg7
= (long)(SWIG_As_long(obj6
));
8347 if (SWIG_arg_fail(7)) SWIG_fail
;
8352 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8353 if (SWIG_arg_fail(8)) SWIG_fail
;
8355 SWIG_null_ref("wxValidator");
8357 if (SWIG_arg_fail(8)) SWIG_fail
;
8362 arg9
= wxString_in_helper(obj8
);
8363 if (arg9
== NULL
) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8378 if (temp6
) delete arg6
;
8387 if (temp6
) delete arg6
;
8397 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8403 PyObject
* obj1
= 0 ;
8405 (char *) "self",(char *) "index", NULL
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8410 if (SWIG_arg_fail(1)) SWIG_fail
;
8412 arg2
= (int)(SWIG_As_int(obj1
));
8413 if (SWIG_arg_fail(2)) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 result
= (bool)(arg1
)->IsChecked(arg2
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8431 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8435 int arg3
= (int) true ;
8436 PyObject
* obj0
= 0 ;
8437 PyObject
* obj1
= 0 ;
8438 PyObject
* obj2
= 0 ;
8440 (char *) "self",(char *) "index",(char *) "check", NULL
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8445 if (SWIG_arg_fail(1)) SWIG_fail
;
8447 arg2
= (int)(SWIG_As_int(obj1
));
8448 if (SWIG_arg_fail(2)) SWIG_fail
;
8452 arg3
= (int)(SWIG_As_int(obj2
));
8453 if (SWIG_arg_fail(3)) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 (arg1
)->Check(arg2
,arg3
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 Py_INCREF(Py_None
); resultobj
= Py_None
;
8470 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8479 (char *) "self",(char *) "pt", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8484 if (SWIG_arg_fail(1)) SWIG_fail
;
8487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8497 resultobj
= SWIG_From_int((int)(result
));
8505 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8513 PyObject
* obj2
= 0 ;
8515 (char *) "self",(char *) "x",(char *) "y", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8520 if (SWIG_arg_fail(1)) SWIG_fail
;
8522 arg2
= (int)(SWIG_As_int(obj1
));
8523 if (SWIG_arg_fail(2)) SWIG_fail
;
8526 arg3
= (int)(SWIG_As_int(obj2
));
8527 if (SWIG_arg_fail(3)) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= SWIG_From_int((int)(result
));
8545 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8548 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8550 return Py_BuildValue((char *)"");
8552 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8553 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8558 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8563 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8565 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8572 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxColour
const &arg1_defvalue
= wxNullColour
;
8575 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8576 wxColour
const &arg2_defvalue
= wxNullColour
;
8577 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8578 wxFont
const &arg3_defvalue
= wxNullFont
;
8579 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8580 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8584 PyObject
* obj0
= 0 ;
8585 PyObject
* obj1
= 0 ;
8586 PyObject
* obj2
= 0 ;
8587 PyObject
* obj3
= 0 ;
8589 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8596 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8602 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8607 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8608 if (SWIG_arg_fail(3)) SWIG_fail
;
8610 SWIG_null_ref("wxFont");
8612 if (SWIG_arg_fail(3)) SWIG_fail
;
8617 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8618 if (SWIG_arg_fail(4)) SWIG_fail
;
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8635 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8637 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8638 PyObject
* obj0
= 0 ;
8640 (char *) "self", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8645 if (SWIG_arg_fail(1)) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8660 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8663 PyObject
* obj0
= 0 ;
8665 (char *) "self", NULL
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8670 if (SWIG_arg_fail(1)) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 Py_INCREF(Py_None
); resultobj
= Py_None
;
8685 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
;
8687 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8688 wxColour
*arg2
= 0 ;
8690 PyObject
* obj0
= 0 ;
8691 PyObject
* obj1
= 0 ;
8693 (char *) "self",(char *) "colText", NULL
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8698 if (SWIG_arg_fail(1)) SWIG_fail
;
8701 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 Py_INCREF(Py_None
); resultobj
= Py_None
;
8717 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8720 wxColour
*arg2
= 0 ;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8725 (char *) "self",(char *) "colBack", NULL
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8730 if (SWIG_arg_fail(1)) SWIG_fail
;
8733 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8753 long arg3
= (long) wxTEXT_ATTR_FONT
;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8756 PyObject
* obj2
= 0 ;
8758 (char *) "self",(char *) "font",(char *) "flags", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8763 if (SWIG_arg_fail(1)) SWIG_fail
;
8765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8766 if (SWIG_arg_fail(2)) SWIG_fail
;
8768 SWIG_null_ref("wxFont");
8770 if (SWIG_arg_fail(2)) SWIG_fail
;
8774 arg3
= (long)(SWIG_As_long(obj2
));
8775 if (SWIG_arg_fail(3)) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 Py_INCREF(Py_None
); resultobj
= Py_None
;
8792 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8795 wxTextAttrAlignment arg2
;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8799 (char *) "self",(char *) "alignment", NULL
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8804 if (SWIG_arg_fail(1)) SWIG_fail
;
8806 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8807 if (SWIG_arg_fail(2)) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8826 wxArrayInt
*arg2
= 0 ;
8827 bool temp2
= false ;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8831 (char *) "self",(char *) "tabs", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8836 if (SWIG_arg_fail(1)) SWIG_fail
;
8838 if (! PySequence_Check(obj1
)) {
8839 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8842 arg2
= new wxArrayInt
;
8844 int i
, len
=PySequence_Length(obj1
);
8845 for (i
=0; i
<len
; i
++) {
8846 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8847 PyObject
* number
= PyNumber_Int(item
);
8848 arg2
->Add(PyInt_AS_LONG(number
));
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 if (temp2
) delete arg2
;
8867 if (temp2
) delete arg2
;
8873 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8877 int arg3
= (int) 0 ;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8880 PyObject
* obj2
= 0 ;
8882 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8887 if (SWIG_arg_fail(1)) SWIG_fail
;
8889 arg2
= (int)(SWIG_As_int(obj1
));
8890 if (SWIG_arg_fail(2)) SWIG_fail
;
8894 arg3
= (int)(SWIG_As_int(obj2
));
8895 if (SWIG_arg_fail(3)) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 (arg1
)->SetLeftIndent(arg2
,arg3
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8919 (char *) "self",(char *) "indent", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8924 if (SWIG_arg_fail(1)) SWIG_fail
;
8926 arg2
= (int)(SWIG_As_int(obj1
));
8927 if (SWIG_arg_fail(2)) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 (arg1
)->SetRightIndent(arg2
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 Py_INCREF(Py_None
); resultobj
= Py_None
;
8943 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8950 (char *) "self",(char *) "flags", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail
;
8957 arg2
= (long)(SWIG_As_long(obj1
));
8958 if (SWIG_arg_fail(2)) SWIG_fail
;
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 (arg1
)->SetFlags(arg2
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 Py_INCREF(Py_None
); resultobj
= Py_None
;
8974 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "self", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
8984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8985 if (SWIG_arg_fail(1)) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9002 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9008 (char *) "self", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9013 if (SWIG_arg_fail(1)) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9030 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9034 PyObject
* obj0
= 0 ;
9036 (char *) "self", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9041 if (SWIG_arg_fail(1)) SWIG_fail
;
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9058 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9062 PyObject
* obj0
= 0 ;
9064 (char *) "self", NULL
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9069 if (SWIG_arg_fail(1)) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9086 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9090 PyObject
* obj0
= 0 ;
9092 (char *) "self", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9097 if (SWIG_arg_fail(1)) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9114 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9116 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9118 PyObject
* obj0
= 0 ;
9120 (char *) "self", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9125 if (SWIG_arg_fail(1)) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9142 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9146 PyObject
* obj0
= 0 ;
9148 (char *) "self", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9153 if (SWIG_arg_fail(1)) SWIG_fail
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9170 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9176 PyObject
* obj1
= 0 ;
9178 (char *) "self",(char *) "flag", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9183 if (SWIG_arg_fail(1)) SWIG_fail
;
9185 arg2
= (long)(SWIG_As_long(obj1
));
9186 if (SWIG_arg_fail(2)) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9204 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9208 PyObject
* obj0
= 0 ;
9210 (char *) "self", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9215 if (SWIG_arg_fail(1)) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9220 result
= (wxColour
*) &_result_ref
;
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9233 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9244 if (SWIG_arg_fail(1)) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9249 result
= (wxColour
*) &_result_ref
;
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9262 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9268 (char *) "self", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9273 if (SWIG_arg_fail(1)) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9278 result
= (wxFont
*) &_result_ref
;
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9285 wxFont
* resultptr
= new wxFont(*result
);
9286 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9294 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
;
9296 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9297 wxTextAttrAlignment result
;
9298 PyObject
* obj0
= 0 ;
9300 (char *) "self", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= SWIG_From_int((result
));
9320 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9324 PyObject
* obj0
= 0 ;
9326 (char *) "self", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9331 if (SWIG_arg_fail(1)) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9336 result
= (wxArrayInt
*) &_result_ref
;
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= PyList_New(0);
9345 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9346 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9347 PyList_Append(resultobj
, val
);
9357 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9363 (char *) "self", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9368 if (SWIG_arg_fail(1)) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= SWIG_From_long((long)(result
));
9385 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9391 (char *) "self", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9396 if (SWIG_arg_fail(1)) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9405 resultobj
= SWIG_From_long((long)(result
));
9413 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9417 PyObject
* obj0
= 0 ;
9419 (char *) "self", NULL
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9424 if (SWIG_arg_fail(1)) SWIG_fail
;
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9433 resultobj
= SWIG_From_long((long)(result
));
9441 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9445 PyObject
* obj0
= 0 ;
9447 (char *) "self", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9452 if (SWIG_arg_fail(1)) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= SWIG_From_long((long)(result
));
9469 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
*resultobj
;
9471 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9475 (char *) "self", NULL
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9480 if (SWIG_arg_fail(1)) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9497 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxTextAttr
*arg1
= 0 ;
9500 wxTextAttr
*arg2
= 0 ;
9501 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9504 PyObject
* obj1
= 0 ;
9505 PyObject
* obj2
= 0 ;
9507 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail
;
9515 SWIG_null_ref("wxTextAttr");
9517 if (SWIG_arg_fail(1)) SWIG_fail
;
9520 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9521 if (SWIG_arg_fail(2)) SWIG_fail
;
9523 SWIG_null_ref("wxTextAttr");
9525 if (SWIG_arg_fail(2)) SWIG_fail
;
9527 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9528 if (SWIG_arg_fail(3)) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9537 wxTextAttr
* resultptr
;
9538 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9547 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9550 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9552 return Py_BuildValue((char *)"");
9554 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxWindow
*arg1
= (wxWindow
*) 0 ;
9557 int arg2
= (int) -1 ;
9558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9564 long arg6
= (long) 0 ;
9565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9567 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9570 bool temp3
= false ;
9573 bool temp8
= false ;
9574 PyObject
* obj0
= 0 ;
9575 PyObject
* obj1
= 0 ;
9576 PyObject
* obj2
= 0 ;
9577 PyObject
* obj3
= 0 ;
9578 PyObject
* obj4
= 0 ;
9579 PyObject
* obj5
= 0 ;
9580 PyObject
* obj6
= 0 ;
9581 PyObject
* obj7
= 0 ;
9583 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9588 if (SWIG_arg_fail(1)) SWIG_fail
;
9591 arg2
= (int)(SWIG_As_int(obj1
));
9592 if (SWIG_arg_fail(2)) SWIG_fail
;
9597 arg3
= wxString_in_helper(obj2
);
9598 if (arg3
== NULL
) SWIG_fail
;
9605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9616 arg6
= (long)(SWIG_As_long(obj5
));
9617 if (SWIG_arg_fail(6)) SWIG_fail
;
9622 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9623 if (SWIG_arg_fail(7)) SWIG_fail
;
9625 SWIG_null_ref("wxValidator");
9627 if (SWIG_arg_fail(7)) SWIG_fail
;
9632 arg8
= wxString_in_helper(obj7
);
9633 if (arg8
== NULL
) SWIG_fail
;
9638 if (!wxPyCheckForApp()) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9668 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9677 if (!wxPyCheckForApp()) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (wxTextCtrl
*)new wxTextCtrl();
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9691 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9694 wxWindow
*arg2
= (wxWindow
*) 0 ;
9695 int arg3
= (int) -1 ;
9696 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9697 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9698 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9699 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9700 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9701 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9702 long arg7
= (long) 0 ;
9703 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9704 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9705 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9706 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9708 bool temp4
= false ;
9711 bool temp9
= false ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 PyObject
* obj2
= 0 ;
9715 PyObject
* obj3
= 0 ;
9716 PyObject
* obj4
= 0 ;
9717 PyObject
* obj5
= 0 ;
9718 PyObject
* obj6
= 0 ;
9719 PyObject
* obj7
= 0 ;
9720 PyObject
* obj8
= 0 ;
9722 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9727 if (SWIG_arg_fail(1)) SWIG_fail
;
9728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9729 if (SWIG_arg_fail(2)) SWIG_fail
;
9732 arg3
= (int)(SWIG_As_int(obj2
));
9733 if (SWIG_arg_fail(3)) SWIG_fail
;
9738 arg4
= wxString_in_helper(obj3
);
9739 if (arg4
== NULL
) SWIG_fail
;
9746 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9752 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9757 arg7
= (long)(SWIG_As_long(obj6
));
9758 if (SWIG_arg_fail(7)) SWIG_fail
;
9763 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9764 if (SWIG_arg_fail(8)) SWIG_fail
;
9766 SWIG_null_ref("wxValidator");
9768 if (SWIG_arg_fail(8)) SWIG_fail
;
9773 arg9
= wxString_in_helper(obj8
);
9774 if (arg9
== NULL
) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9810 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9812 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9814 PyObject
* obj0
= 0 ;
9816 (char *) "self", NULL
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9821 if (SWIG_arg_fail(1)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9842 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9845 wxString
*arg2
= 0 ;
9846 bool temp2
= false ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9850 (char *) "self",(char *) "value", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9855 if (SWIG_arg_fail(1)) SWIG_fail
;
9857 arg2
= wxString_in_helper(obj1
);
9858 if (arg2
== NULL
) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 (arg1
)->SetValue((wxString
const &)*arg2
);
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 Py_INCREF(Py_None
); resultobj
= Py_None
;
9883 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
;
9885 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9890 PyObject
* obj1
= 0 ;
9891 PyObject
* obj2
= 0 ;
9893 (char *) "self",(char *) "from",(char *) "to", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail
;
9900 arg2
= (long)(SWIG_As_long(obj1
));
9901 if (SWIG_arg_fail(2)) SWIG_fail
;
9904 arg3
= (long)(SWIG_As_long(obj2
));
9905 if (SWIG_arg_fail(3)) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9927 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9933 PyObject
* obj1
= 0 ;
9935 (char *) "self",(char *) "lineNo", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9940 if (SWIG_arg_fail(1)) SWIG_fail
;
9942 arg2
= (long)(SWIG_As_long(obj1
));
9943 if (SWIG_arg_fail(2)) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= SWIG_From_int((int)(result
));
9961 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
*resultobj
;
9963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9969 (char *) "self",(char *) "lineNo", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
9973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9974 if (SWIG_arg_fail(1)) SWIG_fail
;
9976 arg2
= (long)(SWIG_As_long(obj1
));
9977 if (SWIG_arg_fail(2)) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9999 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10003 PyObject
* obj0
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10010 if (SWIG_arg_fail(1)) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= SWIG_From_int((int)(result
));
10027 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10031 PyObject
* obj0
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "self", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10038 if (SWIG_arg_fail(1)) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10055 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10059 PyObject
* obj0
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10066 if (SWIG_arg_fail(1)) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10083 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10094 if (SWIG_arg_fail(1)) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10111 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10115 PyObject
* obj0
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10122 if (SWIG_arg_fail(1)) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10139 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
*resultobj
;
10141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10142 long *arg2
= (long *) 0 ;
10143 long *arg3
= (long *) 0 ;
10148 PyObject
* obj0
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self", NULL
10153 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10154 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10157 if (SWIG_arg_fail(1)) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 Py_INCREF(Py_None
); resultobj
= Py_None
;
10166 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10167 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10168 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10169 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10176 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10180 PyObject
* obj0
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10187 if (SWIG_arg_fail(1)) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10208 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10211 PyObject
* obj0
= 0 ;
10212 char *kwnames
[] = {
10213 (char *) "self", NULL
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10218 if (SWIG_arg_fail(1)) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 Py_INCREF(Py_None
); resultobj
= Py_None
;
10233 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10235 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10238 wxString
*arg4
= 0 ;
10239 bool temp4
= false ;
10240 PyObject
* obj0
= 0 ;
10241 PyObject
* obj1
= 0 ;
10242 PyObject
* obj2
= 0 ;
10243 PyObject
* obj3
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10250 if (SWIG_arg_fail(1)) SWIG_fail
;
10252 arg2
= (long)(SWIG_As_long(obj1
));
10253 if (SWIG_arg_fail(2)) SWIG_fail
;
10256 arg3
= (long)(SWIG_As_long(obj2
));
10257 if (SWIG_arg_fail(3)) SWIG_fail
;
10260 arg4
= wxString_in_helper(obj3
);
10261 if (arg4
== NULL
) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 Py_INCREF(Py_None
); resultobj
= Py_None
;
10286 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 PyObject
* obj2
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self",(char *) "from",(char *) "to", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10300 if (SWIG_arg_fail(1)) SWIG_fail
;
10302 arg2
= (long)(SWIG_As_long(obj1
));
10303 if (SWIG_arg_fail(2)) SWIG_fail
;
10306 arg3
= (long)(SWIG_As_long(obj2
));
10307 if (SWIG_arg_fail(3)) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 (arg1
)->Remove(arg2
,arg3
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 Py_INCREF(Py_None
); resultobj
= Py_None
;
10323 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10326 wxString
*arg2
= 0 ;
10328 bool temp2
= false ;
10329 PyObject
* obj0
= 0 ;
10330 PyObject
* obj1
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self",(char *) "file", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10337 if (SWIG_arg_fail(1)) SWIG_fail
;
10339 arg2
= wxString_in_helper(obj1
);
10340 if (arg2
== NULL
) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10367 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10370 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10371 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10373 bool temp2
= false ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "file", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10382 if (SWIG_arg_fail(1)) SWIG_fail
;
10385 arg2
= wxString_in_helper(obj1
);
10386 if (arg2
== NULL
) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10414 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10424 if (SWIG_arg_fail(1)) SWIG_fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 (arg1
)->MarkDirty();
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 Py_INCREF(Py_None
); resultobj
= Py_None
;
10439 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 (arg1
)->DiscardEdits();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 Py_INCREF(Py_None
); resultobj
= Py_None
;
10464 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10467 unsigned long arg2
;
10468 PyObject
* obj0
= 0 ;
10469 PyObject
* obj1
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self",(char *) "len", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10476 if (SWIG_arg_fail(1)) SWIG_fail
;
10478 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10479 if (SWIG_arg_fail(2)) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 (arg1
)->SetMaxLength(arg2
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 Py_INCREF(Py_None
); resultobj
= Py_None
;
10495 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10498 wxString
*arg2
= 0 ;
10499 bool temp2
= false ;
10500 PyObject
* obj0
= 0 ;
10501 PyObject
* obj1
= 0 ;
10502 char *kwnames
[] = {
10503 (char *) "self",(char *) "text", NULL
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10508 if (SWIG_arg_fail(1)) SWIG_fail
;
10510 arg2
= wxString_in_helper(obj1
);
10511 if (arg2
== NULL
) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 (arg1
)->WriteText((wxString
const &)*arg2
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 Py_INCREF(Py_None
); resultobj
= Py_None
;
10536 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10539 wxString
*arg2
= 0 ;
10540 bool temp2
= false ;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self",(char *) "text", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10549 if (SWIG_arg_fail(1)) SWIG_fail
;
10551 arg2
= wxString_in_helper(obj1
);
10552 if (arg2
== NULL
) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 (arg1
)->AppendText((wxString
const &)*arg2
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 Py_INCREF(Py_None
); resultobj
= Py_None
;
10577 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10580 wxKeyEvent
*arg2
= 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char *kwnames
[] = {
10585 (char *) "self",(char *) "event", NULL
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10590 if (SWIG_arg_fail(1)) SWIG_fail
;
10592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10593 if (SWIG_arg_fail(2)) SWIG_fail
;
10594 if (arg2
== NULL
) {
10595 SWIG_null_ref("wxKeyEvent");
10597 if (SWIG_arg_fail(2)) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10615 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10620 wxTextAttr
*arg4
= 0 ;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 PyObject
* obj2
= 0 ;
10625 PyObject
* obj3
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10632 if (SWIG_arg_fail(1)) SWIG_fail
;
10634 arg2
= (long)(SWIG_As_long(obj1
));
10635 if (SWIG_arg_fail(2)) SWIG_fail
;
10638 arg3
= (long)(SWIG_As_long(obj2
));
10639 if (SWIG_arg_fail(3)) SWIG_fail
;
10642 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10643 if (SWIG_arg_fail(4)) SWIG_fail
;
10644 if (arg4
== NULL
) {
10645 SWIG_null_ref("wxTextAttr");
10647 if (SWIG_arg_fail(4)) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10665 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10669 wxTextAttr
*arg3
= 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 PyObject
* obj2
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "self",(char *) "position",(char *) "style", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10680 if (SWIG_arg_fail(1)) SWIG_fail
;
10682 arg2
= (long)(SWIG_As_long(obj1
));
10683 if (SWIG_arg_fail(2)) SWIG_fail
;
10686 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10687 if (SWIG_arg_fail(3)) SWIG_fail
;
10688 if (arg3
== NULL
) {
10689 SWIG_null_ref("wxTextAttr");
10691 if (SWIG_arg_fail(3)) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10709 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10712 wxTextAttr
*arg2
= 0 ;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 char *kwnames
[] = {
10717 (char *) "self",(char *) "style", NULL
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10722 if (SWIG_arg_fail(1)) SWIG_fail
;
10724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10725 if (SWIG_arg_fail(2)) SWIG_fail
;
10726 if (arg2
== NULL
) {
10727 SWIG_null_ref("wxTextAttr");
10729 if (SWIG_arg_fail(2)) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10747 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
;
10749 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10750 wxTextAttr
*result
;
10751 PyObject
* obj0
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "self", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10758 if (SWIG_arg_fail(1)) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10763 result
= (wxTextAttr
*) &_result_ref
;
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10776 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 PyObject
* obj1
= 0 ;
10784 PyObject
* obj2
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "x",(char *) "y", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10791 if (SWIG_arg_fail(1)) SWIG_fail
;
10793 arg2
= (long)(SWIG_As_long(obj1
));
10794 if (SWIG_arg_fail(2)) SWIG_fail
;
10797 arg3
= (long)(SWIG_As_long(obj2
));
10798 if (SWIG_arg_fail(3)) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= SWIG_From_long((long)(result
));
10816 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10820 long *arg3
= (long *) 0 ;
10821 long *arg4
= (long *) 0 ;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self",(char *) "pos", NULL
10832 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10833 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10836 if (SWIG_arg_fail(1)) SWIG_fail
;
10838 arg2
= (long)(SWIG_As_long(obj1
));
10839 if (SWIG_arg_fail(2)) SWIG_fail
;
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 Py_INCREF(Py_None
); resultobj
= Py_None
;
10849 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10850 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10851 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10852 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10859 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 char *kwnames
[] = {
10866 (char *) "self",(char *) "pos", NULL
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10871 if (SWIG_arg_fail(1)) SWIG_fail
;
10873 arg2
= (long)(SWIG_As_long(obj1
));
10874 if (SWIG_arg_fail(2)) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 (arg1
)->ShowPosition(arg2
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 Py_INCREF(Py_None
); resultobj
= Py_None
;
10890 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
;
10892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10893 wxPoint
*arg2
= 0 ;
10894 long *arg3
= (long *) 0 ;
10895 long *arg4
= (long *) 0 ;
10896 wxTextCtrlHitTestResult result
;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self",(char *) "pt", NULL
10908 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10909 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10912 if (SWIG_arg_fail(1)) SWIG_fail
;
10915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= SWIG_From_int((result
));
10925 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10926 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10927 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10928 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10935 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10938 wxPoint
*arg2
= 0 ;
10939 long *arg3
= (long *) 0 ;
10940 wxTextCtrlHitTestResult result
;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self",(char *) "pt", NULL
10950 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
10952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10953 if (SWIG_arg_fail(1)) SWIG_fail
;
10956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_From_int((result
));
10966 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10967 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10974 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
10983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 Py_INCREF(Py_None
); resultobj
= Py_None
;
11024 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11027 PyObject
* obj0
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self", NULL
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11034 if (SWIG_arg_fail(1)) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 Py_INCREF(Py_None
); resultobj
= Py_None
;
11049 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11060 if (SWIG_arg_fail(1)) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11077 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11081 PyObject
* obj0
= 0 ;
11082 char *kwnames
[] = {
11083 (char *) "self", NULL
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11088 if (SWIG_arg_fail(1)) SWIG_fail
;
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11105 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11109 PyObject
* obj0
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11116 if (SWIG_arg_fail(1)) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11133 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11136 PyObject
* obj0
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "self", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11143 if (SWIG_arg_fail(1)) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 Py_INCREF(Py_None
); resultobj
= Py_None
;
11158 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11161 PyObject
* obj0
= 0 ;
11162 char *kwnames
[] = {
11163 (char *) "self", NULL
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11168 if (SWIG_arg_fail(1)) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 Py_INCREF(Py_None
); resultobj
= Py_None
;
11183 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 char *kwnames
[] = {
11189 (char *) "self", NULL
11192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11194 if (SWIG_arg_fail(1)) SWIG_fail
;
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11211 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
;
11213 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11215 PyObject
* obj0
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11222 if (SWIG_arg_fail(1)) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11239 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self",(char *) "pos", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11251 if (SWIG_arg_fail(1)) SWIG_fail
;
11253 arg2
= (long)(SWIG_As_long(obj1
));
11254 if (SWIG_arg_fail(2)) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 (arg1
)->SetInsertionPoint(arg2
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 Py_INCREF(Py_None
); resultobj
= Py_None
;
11270 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11280 if (SWIG_arg_fail(1)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 (arg1
)->SetInsertionPointEnd();
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 Py_INCREF(Py_None
); resultobj
= Py_None
;
11295 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11299 PyObject
* obj0
= 0 ;
11300 char *kwnames
[] = {
11301 (char *) "self", NULL
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11306 if (SWIG_arg_fail(1)) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= SWIG_From_long((long)(result
));
11323 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11327 PyObject
* obj0
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11334 if (SWIG_arg_fail(1)) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_From_long((long)(result
));
11351 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
;
11353 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 PyObject
* obj1
= 0 ;
11358 PyObject
* obj2
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self",(char *) "from",(char *) "to", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11365 if (SWIG_arg_fail(1)) SWIG_fail
;
11367 arg2
= (long)(SWIG_As_long(obj1
));
11368 if (SWIG_arg_fail(2)) SWIG_fail
;
11371 arg3
= (long)(SWIG_As_long(obj2
));
11372 if (SWIG_arg_fail(3)) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 (arg1
)->SetSelection(arg2
,arg3
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 Py_INCREF(Py_None
); resultobj
= Py_None
;
11388 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11398 if (SWIG_arg_fail(1)) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 (arg1
)->SelectAll();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 Py_INCREF(Py_None
); resultobj
= Py_None
;
11413 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self",(char *) "editable", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11425 if (SWIG_arg_fail(1)) SWIG_fail
;
11427 arg2
= (bool)(SWIG_As_bool(obj1
));
11428 if (SWIG_arg_fail(2)) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 (arg1
)->SetEditable(arg2
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 Py_INCREF(Py_None
); resultobj
= Py_None
;
11444 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
;
11446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11447 wxString
*arg2
= 0 ;
11448 bool temp2
= false ;
11449 PyObject
* obj0
= 0 ;
11450 PyObject
* obj1
= 0 ;
11451 char *kwnames
[] = {
11452 (char *) "self",(char *) "text", NULL
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11457 if (SWIG_arg_fail(1)) SWIG_fail
;
11459 arg2
= wxString_in_helper(obj1
);
11460 if (arg2
== NULL
) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 Py_INCREF(Py_None
); resultobj
= Py_None
;
11485 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 PyObject
* obj2
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self",(char *) "from",(char *) "to", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11500 if (SWIG_arg_fail(1)) SWIG_fail
;
11502 arg2
= (long)(SWIG_As_long(obj1
));
11503 if (SWIG_arg_fail(2)) SWIG_fail
;
11506 arg3
= (long)(SWIG_As_long(obj2
));
11507 if (SWIG_arg_fail(3)) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11529 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11532 wxVisualAttributes result
;
11533 PyObject
* obj0
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "variant", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11541 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11542 if (SWIG_arg_fail(1)) SWIG_fail
;
11546 if (!wxPyCheckForApp()) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11554 wxVisualAttributes
* resultptr
;
11555 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11564 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11567 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11569 return Py_BuildValue((char *)"");
11571 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11574 wxMouseEvent
*arg2
= 0 ;
11577 wxTextUrlEvent
*result
;
11578 PyObject
* obj0
= 0 ;
11579 PyObject
* obj1
= 0 ;
11580 PyObject
* obj2
= 0 ;
11581 PyObject
* obj3
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11588 arg1
= (int)(SWIG_As_int(obj0
));
11589 if (SWIG_arg_fail(1)) SWIG_fail
;
11592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11593 if (SWIG_arg_fail(2)) SWIG_fail
;
11594 if (arg2
== NULL
) {
11595 SWIG_null_ref("wxMouseEvent");
11597 if (SWIG_arg_fail(2)) SWIG_fail
;
11600 arg3
= (long)(SWIG_As_long(obj2
));
11601 if (SWIG_arg_fail(3)) SWIG_fail
;
11604 arg4
= (long)(SWIG_As_long(obj3
));
11605 if (SWIG_arg_fail(4)) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11621 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11624 wxMouseEvent
*result
;
11625 PyObject
* obj0
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11632 if (SWIG_arg_fail(1)) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11637 result
= (wxMouseEvent
*) &_result_ref
;
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11650 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11654 PyObject
* obj0
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11661 if (SWIG_arg_fail(1)) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SWIG_From_long((long)(result
));
11678 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11689 if (SWIG_arg_fail(1)) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_From_long((long)(result
));
11706 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11709 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11711 return Py_BuildValue((char *)"");
11713 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11714 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11719 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11724 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11726 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11733 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
*resultobj
;
11735 wxWindow
*arg1
= (wxWindow
*) 0 ;
11736 int arg2
= (int) -1 ;
11737 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11738 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11739 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11740 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11741 long arg5
= (long) wxSB_HORIZONTAL
;
11742 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11743 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11744 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11745 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11746 wxScrollBar
*result
;
11749 bool temp7
= false ;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 PyObject
* obj2
= 0 ;
11753 PyObject
* obj3
= 0 ;
11754 PyObject
* obj4
= 0 ;
11755 PyObject
* obj5
= 0 ;
11756 PyObject
* obj6
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11763 if (SWIG_arg_fail(1)) SWIG_fail
;
11766 arg2
= (int)(SWIG_As_int(obj1
));
11767 if (SWIG_arg_fail(2)) SWIG_fail
;
11773 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11779 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11784 arg5
= (long)(SWIG_As_long(obj4
));
11785 if (SWIG_arg_fail(5)) SWIG_fail
;
11790 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11791 if (SWIG_arg_fail(6)) SWIG_fail
;
11792 if (arg6
== NULL
) {
11793 SWIG_null_ref("wxValidator");
11795 if (SWIG_arg_fail(6)) SWIG_fail
;
11800 arg7
= wxString_in_helper(obj6
);
11801 if (arg7
== NULL
) SWIG_fail
;
11806 if (!wxPyCheckForApp()) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11828 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
;
11830 wxScrollBar
*result
;
11831 char *kwnames
[] = {
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11837 if (!wxPyCheckForApp()) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (wxScrollBar
*)new wxScrollBar();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11851 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11854 wxWindow
*arg2
= (wxWindow
*) 0 ;
11855 int arg3
= (int) -1 ;
11856 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11857 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11858 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11859 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11860 long arg6
= (long) wxSB_HORIZONTAL
;
11861 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11862 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11863 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11864 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11868 bool temp8
= false ;
11869 PyObject
* obj0
= 0 ;
11870 PyObject
* obj1
= 0 ;
11871 PyObject
* obj2
= 0 ;
11872 PyObject
* obj3
= 0 ;
11873 PyObject
* obj4
= 0 ;
11874 PyObject
* obj5
= 0 ;
11875 PyObject
* obj6
= 0 ;
11876 PyObject
* obj7
= 0 ;
11877 char *kwnames
[] = {
11878 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11883 if (SWIG_arg_fail(1)) SWIG_fail
;
11884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11885 if (SWIG_arg_fail(2)) SWIG_fail
;
11888 arg3
= (int)(SWIG_As_int(obj2
));
11889 if (SWIG_arg_fail(3)) SWIG_fail
;
11895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11906 arg6
= (long)(SWIG_As_long(obj5
));
11907 if (SWIG_arg_fail(6)) SWIG_fail
;
11912 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11913 if (SWIG_arg_fail(7)) SWIG_fail
;
11914 if (arg7
== NULL
) {
11915 SWIG_null_ref("wxValidator");
11917 if (SWIG_arg_fail(7)) SWIG_fail
;
11922 arg8
= wxString_in_helper(obj7
);
11923 if (arg8
== NULL
) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11951 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
11961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11962 if (SWIG_arg_fail(1)) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_From_int((int)(result
));
11979 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11983 PyObject
* obj0
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "self", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
11989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11990 if (SWIG_arg_fail(1)) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_From_int((int)(result
));
12007 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12011 PyObject
* obj0
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12018 if (SWIG_arg_fail(1)) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_From_int((int)(result
));
12035 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12046 if (SWIG_arg_fail(1)) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_From_int((int)(result
));
12063 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12074 if (SWIG_arg_fail(1)) SWIG_fail
;
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12091 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12095 PyObject
* obj0
= 0 ;
12096 PyObject
* obj1
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self",(char *) "viewStart", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12103 if (SWIG_arg_fail(1)) SWIG_fail
;
12105 arg2
= (int)(SWIG_As_int(obj1
));
12106 if (SWIG_arg_fail(2)) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 (arg1
)->SetThumbPosition(arg2
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 Py_INCREF(Py_None
); resultobj
= Py_None
;
12122 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12129 bool arg6
= (bool) true ;
12130 PyObject
* obj0
= 0 ;
12131 PyObject
* obj1
= 0 ;
12132 PyObject
* obj2
= 0 ;
12133 PyObject
* obj3
= 0 ;
12134 PyObject
* obj4
= 0 ;
12135 PyObject
* obj5
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12142 if (SWIG_arg_fail(1)) SWIG_fail
;
12144 arg2
= (int)(SWIG_As_int(obj1
));
12145 if (SWIG_arg_fail(2)) SWIG_fail
;
12148 arg3
= (int)(SWIG_As_int(obj2
));
12149 if (SWIG_arg_fail(3)) SWIG_fail
;
12152 arg4
= (int)(SWIG_As_int(obj3
));
12153 if (SWIG_arg_fail(4)) SWIG_fail
;
12156 arg5
= (int)(SWIG_As_int(obj4
));
12157 if (SWIG_arg_fail(5)) SWIG_fail
;
12161 arg6
= (bool)(SWIG_As_bool(obj5
));
12162 if (SWIG_arg_fail(6)) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 Py_INCREF(Py_None
); resultobj
= Py_None
;
12179 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12182 wxVisualAttributes result
;
12183 PyObject
* obj0
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "variant", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12191 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12192 if (SWIG_arg_fail(1)) SWIG_fail
;
12196 if (!wxPyCheckForApp()) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12204 wxVisualAttributes
* resultptr
;
12205 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12214 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12217 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12219 return Py_BuildValue((char *)"");
12221 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12222 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12227 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12232 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12234 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12241 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12242 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12247 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12252 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12254 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12261 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxWindow
*arg1
= (wxWindow
*) 0 ;
12264 int arg2
= (int) -1 ;
12265 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12266 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12267 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12268 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12269 long arg5
= (long) wxSP_HORIZONTAL
;
12270 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12271 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12272 wxSpinButton
*result
;
12275 bool temp6
= false ;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 PyObject
* obj2
= 0 ;
12279 PyObject
* obj3
= 0 ;
12280 PyObject
* obj4
= 0 ;
12281 PyObject
* obj5
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12288 if (SWIG_arg_fail(1)) SWIG_fail
;
12291 arg2
= (int)(SWIG_As_int(obj1
));
12292 if (SWIG_arg_fail(2)) SWIG_fail
;
12298 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12304 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12309 arg5
= (long)(SWIG_As_long(obj4
));
12310 if (SWIG_arg_fail(5)) SWIG_fail
;
12315 arg6
= wxString_in_helper(obj5
);
12316 if (arg6
== NULL
) SWIG_fail
;
12321 if (!wxPyCheckForApp()) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12343 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxSpinButton
*result
;
12346 char *kwnames
[] = {
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12352 if (!wxPyCheckForApp()) SWIG_fail
;
12353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12354 result
= (wxSpinButton
*)new wxSpinButton();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12366 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12369 wxWindow
*arg2
= (wxWindow
*) 0 ;
12370 int arg3
= (int) -1 ;
12371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12375 long arg6
= (long) wxSP_HORIZONTAL
;
12376 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12381 bool temp7
= false ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 PyObject
* obj2
= 0 ;
12385 PyObject
* obj3
= 0 ;
12386 PyObject
* obj4
= 0 ;
12387 PyObject
* obj5
= 0 ;
12388 PyObject
* obj6
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12395 if (SWIG_arg_fail(1)) SWIG_fail
;
12396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12397 if (SWIG_arg_fail(2)) SWIG_fail
;
12400 arg3
= (int)(SWIG_As_int(obj2
));
12401 if (SWIG_arg_fail(3)) SWIG_fail
;
12407 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12413 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12418 arg6
= (long)(SWIG_As_long(obj5
));
12419 if (SWIG_arg_fail(6)) SWIG_fail
;
12424 arg7
= wxString_in_helper(obj6
);
12425 if (arg7
== NULL
) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12453 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
;
12455 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12457 PyObject
* obj0
= 0 ;
12458 char *kwnames
[] = {
12459 (char *) "self", NULL
12462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12464 if (SWIG_arg_fail(1)) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12473 resultobj
= SWIG_From_int((int)(result
));
12481 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12492 if (SWIG_arg_fail(1)) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_From_int((int)(result
));
12509 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
;
12511 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12520 if (SWIG_arg_fail(1)) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= SWIG_From_int((int)(result
));
12537 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self",(char *) "val", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12549 if (SWIG_arg_fail(1)) SWIG_fail
;
12551 arg2
= (int)(SWIG_As_int(obj1
));
12552 if (SWIG_arg_fail(2)) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 (arg1
)->SetValue(arg2
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 Py_INCREF(Py_None
); resultobj
= Py_None
;
12568 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self",(char *) "minVal", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12580 if (SWIG_arg_fail(1)) SWIG_fail
;
12582 arg2
= (int)(SWIG_As_int(obj1
));
12583 if (SWIG_arg_fail(2)) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 (arg1
)->SetMin(arg2
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 Py_INCREF(Py_None
); resultobj
= Py_None
;
12599 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 PyObject
* obj1
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self",(char *) "maxVal", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12611 if (SWIG_arg_fail(1)) SWIG_fail
;
12613 arg2
= (int)(SWIG_As_int(obj1
));
12614 if (SWIG_arg_fail(2)) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 (arg1
)->SetMax(arg2
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 Py_INCREF(Py_None
); resultobj
= Py_None
;
12630 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj1
= 0 ;
12637 PyObject
* obj2
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12644 if (SWIG_arg_fail(1)) SWIG_fail
;
12646 arg2
= (int)(SWIG_As_int(obj1
));
12647 if (SWIG_arg_fail(2)) SWIG_fail
;
12650 arg3
= (int)(SWIG_As_int(obj2
));
12651 if (SWIG_arg_fail(3)) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->SetRange(arg2
,arg3
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12667 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12678 if (SWIG_arg_fail(1)) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12695 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12698 wxVisualAttributes result
;
12699 PyObject
* obj0
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "variant", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12707 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12708 if (SWIG_arg_fail(1)) SWIG_fail
;
12712 if (!wxPyCheckForApp()) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12720 wxVisualAttributes
* resultptr
;
12721 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12730 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12733 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12735 return Py_BuildValue((char *)"");
12737 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
;
12739 wxWindow
*arg1
= (wxWindow
*) 0 ;
12740 int arg2
= (int) -1 ;
12741 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12742 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12743 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12744 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12745 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12746 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12747 long arg6
= (long) wxSP_ARROW_KEYS
;
12748 int arg7
= (int) 0 ;
12749 int arg8
= (int) 100 ;
12750 int arg9
= (int) 0 ;
12751 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12752 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12753 wxSpinCtrl
*result
;
12754 bool temp3
= false ;
12757 bool temp10
= false ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 PyObject
* obj2
= 0 ;
12761 PyObject
* obj3
= 0 ;
12762 PyObject
* obj4
= 0 ;
12763 PyObject
* obj5
= 0 ;
12764 PyObject
* obj6
= 0 ;
12765 PyObject
* obj7
= 0 ;
12766 PyObject
* obj8
= 0 ;
12767 PyObject
* obj9
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12774 if (SWIG_arg_fail(1)) SWIG_fail
;
12777 arg2
= (int)(SWIG_As_int(obj1
));
12778 if (SWIG_arg_fail(2)) SWIG_fail
;
12783 arg3
= wxString_in_helper(obj2
);
12784 if (arg3
== NULL
) SWIG_fail
;
12791 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12797 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12802 arg6
= (long)(SWIG_As_long(obj5
));
12803 if (SWIG_arg_fail(6)) SWIG_fail
;
12808 arg7
= (int)(SWIG_As_int(obj6
));
12809 if (SWIG_arg_fail(7)) SWIG_fail
;
12814 arg8
= (int)(SWIG_As_int(obj7
));
12815 if (SWIG_arg_fail(8)) SWIG_fail
;
12820 arg9
= (int)(SWIG_As_int(obj8
));
12821 if (SWIG_arg_fail(9)) SWIG_fail
;
12826 arg10
= wxString_in_helper(obj9
);
12827 if (arg10
== NULL
) SWIG_fail
;
12832 if (!wxPyCheckForApp()) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12862 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxSpinCtrl
*result
;
12865 char *kwnames
[] = {
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12871 if (!wxPyCheckForApp()) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12885 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12888 wxWindow
*arg2
= (wxWindow
*) 0 ;
12889 int arg3
= (int) -1 ;
12890 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12891 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12892 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12893 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12894 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12895 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12896 long arg7
= (long) wxSP_ARROW_KEYS
;
12897 int arg8
= (int) 0 ;
12898 int arg9
= (int) 100 ;
12899 int arg10
= (int) 0 ;
12900 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12901 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12903 bool temp4
= false ;
12906 bool temp11
= false ;
12907 PyObject
* obj0
= 0 ;
12908 PyObject
* obj1
= 0 ;
12909 PyObject
* obj2
= 0 ;
12910 PyObject
* obj3
= 0 ;
12911 PyObject
* obj4
= 0 ;
12912 PyObject
* obj5
= 0 ;
12913 PyObject
* obj6
= 0 ;
12914 PyObject
* obj7
= 0 ;
12915 PyObject
* obj8
= 0 ;
12916 PyObject
* obj9
= 0 ;
12917 PyObject
* obj10
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12924 if (SWIG_arg_fail(1)) SWIG_fail
;
12925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12926 if (SWIG_arg_fail(2)) SWIG_fail
;
12929 arg3
= (int)(SWIG_As_int(obj2
));
12930 if (SWIG_arg_fail(3)) SWIG_fail
;
12935 arg4
= wxString_in_helper(obj3
);
12936 if (arg4
== NULL
) SWIG_fail
;
12943 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12949 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12954 arg7
= (long)(SWIG_As_long(obj6
));
12955 if (SWIG_arg_fail(7)) SWIG_fail
;
12960 arg8
= (int)(SWIG_As_int(obj7
));
12961 if (SWIG_arg_fail(8)) SWIG_fail
;
12966 arg9
= (int)(SWIG_As_int(obj8
));
12967 if (SWIG_arg_fail(9)) SWIG_fail
;
12972 arg10
= (int)(SWIG_As_int(obj9
));
12973 if (SWIG_arg_fail(10)) SWIG_fail
;
12978 arg11
= wxString_in_helper(obj10
);
12979 if (arg11
== NULL
) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13015 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13026 if (SWIG_arg_fail(1)) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= SWIG_From_int((int)(result
));
13043 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self",(char *) "value", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13055 if (SWIG_arg_fail(1)) SWIG_fail
;
13057 arg2
= (int)(SWIG_As_int(obj1
));
13058 if (SWIG_arg_fail(2)) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->SetValue(arg2
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 Py_INCREF(Py_None
); resultobj
= Py_None
;
13074 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13077 wxString
*arg2
= 0 ;
13078 bool temp2
= false ;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self",(char *) "text", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13087 if (SWIG_arg_fail(1)) SWIG_fail
;
13089 arg2
= wxString_in_helper(obj1
);
13090 if (arg2
== NULL
) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 (arg1
)->SetValue((wxString
const &)*arg2
);
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 Py_INCREF(Py_None
); resultobj
= Py_None
;
13115 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 PyObject
* obj2
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13129 if (SWIG_arg_fail(1)) SWIG_fail
;
13131 arg2
= (int)(SWIG_As_int(obj1
));
13132 if (SWIG_arg_fail(2)) SWIG_fail
;
13135 arg3
= (int)(SWIG_As_int(obj2
));
13136 if (SWIG_arg_fail(3)) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 (arg1
)->SetRange(arg2
,arg3
);
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 Py_INCREF(Py_None
); resultobj
= Py_None
;
13152 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13156 PyObject
* obj0
= 0 ;
13157 char *kwnames
[] = {
13158 (char *) "self", NULL
13161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13163 if (SWIG_arg_fail(1)) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_From_int((int)(result
));
13180 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13184 PyObject
* obj0
= 0 ;
13185 char *kwnames
[] = {
13186 (char *) "self", NULL
13189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13191 if (SWIG_arg_fail(1)) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= SWIG_From_int((int)(result
));
13208 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
;
13210 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13213 PyObject
* obj0
= 0 ;
13214 PyObject
* obj1
= 0 ;
13215 PyObject
* obj2
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self",(char *) "from",(char *) "to", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13222 if (SWIG_arg_fail(1)) SWIG_fail
;
13224 arg2
= (long)(SWIG_As_long(obj1
));
13225 if (SWIG_arg_fail(2)) SWIG_fail
;
13228 arg3
= (long)(SWIG_As_long(obj2
));
13229 if (SWIG_arg_fail(3)) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 (arg1
)->SetSelection(arg2
,arg3
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 Py_INCREF(Py_None
); resultobj
= Py_None
;
13245 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
;
13247 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13248 wxVisualAttributes result
;
13249 PyObject
* obj0
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "variant", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13257 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13258 if (SWIG_arg_fail(1)) SWIG_fail
;
13262 if (!wxPyCheckForApp()) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13270 wxVisualAttributes
* resultptr
;
13271 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13280 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13283 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13285 return Py_BuildValue((char *)"");
13287 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13290 int arg2
= (int) 0 ;
13291 wxSpinEvent
*result
;
13292 PyObject
* obj0
= 0 ;
13293 PyObject
* obj1
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "commandType",(char *) "winid", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13301 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13302 if (SWIG_arg_fail(1)) SWIG_fail
;
13307 arg2
= (int)(SWIG_As_int(obj1
));
13308 if (SWIG_arg_fail(2)) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13325 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13336 if (SWIG_arg_fail(1)) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_From_int((int)(result
));
13353 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13357 PyObject
* obj0
= 0 ;
13358 PyObject
* obj1
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "self",(char *) "pos", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13365 if (SWIG_arg_fail(1)) SWIG_fail
;
13367 arg2
= (int)(SWIG_As_int(obj1
));
13368 if (SWIG_arg_fail(2)) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 (arg1
)->SetPosition(arg2
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 Py_INCREF(Py_None
); resultobj
= Py_None
;
13384 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13387 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13389 return Py_BuildValue((char *)"");
13391 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13392 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13397 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13402 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13404 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13411 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13412 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13417 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13422 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13424 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13431 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxWindow
*arg1
= (wxWindow
*) 0 ;
13434 int arg2
= (int) -1 ;
13435 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13436 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13437 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13438 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13439 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13440 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13441 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13442 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13443 int arg7
= (int) 0 ;
13444 long arg8
= (long) wxRA_HORIZONTAL
;
13445 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13446 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13447 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13448 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13449 wxRadioBox
*result
;
13450 bool temp3
= false ;
13453 bool temp6
= false ;
13454 bool temp10
= false ;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 PyObject
* obj2
= 0 ;
13458 PyObject
* obj3
= 0 ;
13459 PyObject
* obj4
= 0 ;
13460 PyObject
* obj5
= 0 ;
13461 PyObject
* obj6
= 0 ;
13462 PyObject
* obj7
= 0 ;
13463 PyObject
* obj8
= 0 ;
13464 PyObject
* obj9
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13471 if (SWIG_arg_fail(1)) SWIG_fail
;
13474 arg2
= (int)(SWIG_As_int(obj1
));
13475 if (SWIG_arg_fail(2)) SWIG_fail
;
13480 arg3
= wxString_in_helper(obj2
);
13481 if (arg3
== NULL
) SWIG_fail
;
13488 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13494 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13499 if (! PySequence_Check(obj5
)) {
13500 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13503 arg6
= new wxArrayString
;
13505 int i
, len
=PySequence_Length(obj5
);
13506 for (i
=0; i
<len
; i
++) {
13507 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13509 PyObject
* str
= PyObject_Unicode(item
);
13511 PyObject
* str
= PyObject_Str(item
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13514 arg6
->Add(Py2wxString(str
));
13522 arg7
= (int)(SWIG_As_int(obj6
));
13523 if (SWIG_arg_fail(7)) SWIG_fail
;
13528 arg8
= (long)(SWIG_As_long(obj7
));
13529 if (SWIG_arg_fail(8)) SWIG_fail
;
13534 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13535 if (SWIG_arg_fail(9)) SWIG_fail
;
13536 if (arg9
== NULL
) {
13537 SWIG_null_ref("wxValidator");
13539 if (SWIG_arg_fail(9)) SWIG_fail
;
13544 arg10
= wxString_in_helper(obj9
);
13545 if (arg10
== NULL
) SWIG_fail
;
13550 if (!wxPyCheckForApp()) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 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
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13563 if (temp6
) delete arg6
;
13576 if (temp6
) delete arg6
;
13586 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
;
13588 wxRadioBox
*result
;
13589 char *kwnames
[] = {
13593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13595 if (!wxPyCheckForApp()) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (wxRadioBox
*)new wxRadioBox();
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13609 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13612 wxWindow
*arg2
= (wxWindow
*) 0 ;
13613 int arg3
= (int) -1 ;
13614 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13615 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13616 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13617 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13618 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13619 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13620 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13621 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13622 int arg8
= (int) 0 ;
13623 long arg9
= (long) wxRA_HORIZONTAL
;
13624 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13625 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13626 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13627 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13629 bool temp4
= false ;
13632 bool temp7
= false ;
13633 bool temp11
= false ;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 PyObject
* obj2
= 0 ;
13637 PyObject
* obj3
= 0 ;
13638 PyObject
* obj4
= 0 ;
13639 PyObject
* obj5
= 0 ;
13640 PyObject
* obj6
= 0 ;
13641 PyObject
* obj7
= 0 ;
13642 PyObject
* obj8
= 0 ;
13643 PyObject
* obj9
= 0 ;
13644 PyObject
* obj10
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13651 if (SWIG_arg_fail(1)) SWIG_fail
;
13652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13653 if (SWIG_arg_fail(2)) SWIG_fail
;
13656 arg3
= (int)(SWIG_As_int(obj2
));
13657 if (SWIG_arg_fail(3)) SWIG_fail
;
13662 arg4
= wxString_in_helper(obj3
);
13663 if (arg4
== NULL
) SWIG_fail
;
13670 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13676 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13681 if (! PySequence_Check(obj6
)) {
13682 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13685 arg7
= new wxArrayString
;
13687 int i
, len
=PySequence_Length(obj6
);
13688 for (i
=0; i
<len
; i
++) {
13689 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13691 PyObject
* str
= PyObject_Unicode(item
);
13693 PyObject
* str
= PyObject_Str(item
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13696 arg7
->Add(Py2wxString(str
));
13704 arg8
= (int)(SWIG_As_int(obj7
));
13705 if (SWIG_arg_fail(8)) SWIG_fail
;
13710 arg9
= (long)(SWIG_As_long(obj8
));
13711 if (SWIG_arg_fail(9)) SWIG_fail
;
13716 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13717 if (SWIG_arg_fail(10)) SWIG_fail
;
13718 if (arg10
== NULL
) {
13719 SWIG_null_ref("wxValidator");
13721 if (SWIG_arg_fail(10)) SWIG_fail
;
13726 arg11
= wxString_in_helper(obj10
);
13727 if (arg11
== NULL
) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 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
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13746 if (temp7
) delete arg7
;
13759 if (temp7
) delete arg7
;
13769 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
;
13771 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13773 PyObject
* obj0
= 0 ;
13774 PyObject
* obj1
= 0 ;
13775 char *kwnames
[] = {
13776 (char *) "self",(char *) "n", NULL
13779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13781 if (SWIG_arg_fail(1)) SWIG_fail
;
13783 arg2
= (int)(SWIG_As_int(obj1
));
13784 if (SWIG_arg_fail(2)) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 (arg1
)->SetSelection(arg2
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 Py_INCREF(Py_None
); resultobj
= Py_None
;
13800 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13811 if (SWIG_arg_fail(1)) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13820 resultobj
= SWIG_From_int((int)(result
));
13828 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13832 PyObject
* obj0
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13839 if (SWIG_arg_fail(1)) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13860 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13863 wxString
*arg2
= 0 ;
13865 bool temp2
= false ;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self",(char *) "s", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13874 if (SWIG_arg_fail(1)) SWIG_fail
;
13876 arg2
= wxString_in_helper(obj1
);
13877 if (arg2
== NULL
) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13904 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13908 PyObject
* obj0
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13915 if (SWIG_arg_fail(1)) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13924 resultobj
= SWIG_From_int((int)(result
));
13932 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13935 wxString
*arg2
= 0 ;
13937 bool temp2
= false ;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self",(char *) "s", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13946 if (SWIG_arg_fail(1)) SWIG_fail
;
13948 arg2
= wxString_in_helper(obj1
);
13949 if (arg2
== NULL
) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_From_int((int)(result
));
13976 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self",(char *) "n", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13989 if (SWIG_arg_fail(1)) SWIG_fail
;
13991 arg2
= (int)(SWIG_As_int(obj1
));
13992 if (SWIG_arg_fail(2)) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14014 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14018 wxString
*arg3
= 0 ;
14019 bool temp3
= false ;
14020 PyObject
* obj0
= 0 ;
14021 PyObject
* obj1
= 0 ;
14022 PyObject
* obj2
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self",(char *) "n",(char *) "label", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14029 if (SWIG_arg_fail(1)) SWIG_fail
;
14031 arg2
= (int)(SWIG_As_int(obj1
));
14032 if (SWIG_arg_fail(2)) SWIG_fail
;
14035 arg3
= wxString_in_helper(obj2
);
14036 if (arg3
== NULL
) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 Py_INCREF(Py_None
); resultobj
= Py_None
;
14061 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14065 bool arg3
= (bool) true ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 PyObject
* obj2
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self",(char *) "n",(char *) "enable", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail
;
14077 arg2
= (int)(SWIG_As_int(obj1
));
14078 if (SWIG_arg_fail(2)) SWIG_fail
;
14082 arg3
= (bool)(SWIG_As_bool(obj2
));
14083 if (SWIG_arg_fail(3)) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 (arg1
)->Enable(arg2
,arg3
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 Py_INCREF(Py_None
); resultobj
= Py_None
;
14100 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14104 bool arg3
= (bool) true ;
14105 PyObject
* obj0
= 0 ;
14106 PyObject
* obj1
= 0 ;
14107 PyObject
* obj2
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self",(char *) "n",(char *) "show", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14114 if (SWIG_arg_fail(1)) SWIG_fail
;
14116 arg2
= (int)(SWIG_As_int(obj1
));
14117 if (SWIG_arg_fail(2)) SWIG_fail
;
14121 arg3
= (bool)(SWIG_As_bool(obj2
));
14122 if (SWIG_arg_fail(3)) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 (arg1
)->Show(arg2
,arg3
);
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14132 Py_INCREF(Py_None
); resultobj
= Py_None
;
14139 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14150 if (SWIG_arg_fail(1)) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= SWIG_From_int((int)(result
));
14167 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14178 if (SWIG_arg_fail(1)) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= SWIG_From_int((int)(result
));
14195 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14197 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 PyObject
* obj1
= 0 ;
14204 PyObject
* obj2
= 0 ;
14205 PyObject
* obj3
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14212 if (SWIG_arg_fail(1)) SWIG_fail
;
14214 arg2
= (int)(SWIG_As_int(obj1
));
14215 if (SWIG_arg_fail(2)) SWIG_fail
;
14218 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14219 if (SWIG_arg_fail(3)) SWIG_fail
;
14222 arg4
= (long)(SWIG_As_long(obj3
));
14223 if (SWIG_arg_fail(4)) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= SWIG_From_int((int)(result
));
14241 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14244 wxVisualAttributes result
;
14245 PyObject
* obj0
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "variant", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14253 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14254 if (SWIG_arg_fail(1)) SWIG_fail
;
14258 if (!wxPyCheckForApp()) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14266 wxVisualAttributes
* resultptr
;
14267 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14276 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14279 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14281 return Py_BuildValue((char *)"");
14283 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxWindow
*arg1
= (wxWindow
*) 0 ;
14286 int arg2
= (int) -1 ;
14287 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14288 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14289 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14290 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14291 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14292 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14293 long arg6
= (long) 0 ;
14294 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14295 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14296 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14297 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14298 wxRadioButton
*result
;
14299 bool temp3
= false ;
14302 bool temp8
= false ;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 PyObject
* obj2
= 0 ;
14306 PyObject
* obj3
= 0 ;
14307 PyObject
* obj4
= 0 ;
14308 PyObject
* obj5
= 0 ;
14309 PyObject
* obj6
= 0 ;
14310 PyObject
* obj7
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14317 if (SWIG_arg_fail(1)) SWIG_fail
;
14320 arg2
= (int)(SWIG_As_int(obj1
));
14321 if (SWIG_arg_fail(2)) SWIG_fail
;
14326 arg3
= wxString_in_helper(obj2
);
14327 if (arg3
== NULL
) SWIG_fail
;
14334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14345 arg6
= (long)(SWIG_As_long(obj5
));
14346 if (SWIG_arg_fail(6)) SWIG_fail
;
14351 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14352 if (SWIG_arg_fail(7)) SWIG_fail
;
14353 if (arg7
== NULL
) {
14354 SWIG_null_ref("wxValidator");
14356 if (SWIG_arg_fail(7)) SWIG_fail
;
14361 arg8
= wxString_in_helper(obj7
);
14362 if (arg8
== NULL
) SWIG_fail
;
14367 if (!wxPyCheckForApp()) SWIG_fail
;
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14397 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxRadioButton
*result
;
14400 char *kwnames
[] = {
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14406 if (!wxPyCheckForApp()) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (wxRadioButton
*)new wxRadioButton();
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14420 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14423 wxWindow
*arg2
= (wxWindow
*) 0 ;
14424 int arg3
= (int) -1 ;
14425 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14426 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14427 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14428 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14429 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14430 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14431 long arg7
= (long) 0 ;
14432 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14433 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14434 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14435 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14437 bool temp4
= false ;
14440 bool temp9
= false ;
14441 PyObject
* obj0
= 0 ;
14442 PyObject
* obj1
= 0 ;
14443 PyObject
* obj2
= 0 ;
14444 PyObject
* obj3
= 0 ;
14445 PyObject
* obj4
= 0 ;
14446 PyObject
* obj5
= 0 ;
14447 PyObject
* obj6
= 0 ;
14448 PyObject
* obj7
= 0 ;
14449 PyObject
* obj8
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14456 if (SWIG_arg_fail(1)) SWIG_fail
;
14457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14458 if (SWIG_arg_fail(2)) SWIG_fail
;
14461 arg3
= (int)(SWIG_As_int(obj2
));
14462 if (SWIG_arg_fail(3)) SWIG_fail
;
14467 arg4
= wxString_in_helper(obj3
);
14468 if (arg4
== NULL
) SWIG_fail
;
14475 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14481 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14486 arg7
= (long)(SWIG_As_long(obj6
));
14487 if (SWIG_arg_fail(7)) SWIG_fail
;
14492 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14493 if (SWIG_arg_fail(8)) SWIG_fail
;
14494 if (arg8
== NULL
) {
14495 SWIG_null_ref("wxValidator");
14497 if (SWIG_arg_fail(8)) SWIG_fail
;
14502 arg9
= wxString_in_helper(obj8
);
14503 if (arg9
== NULL
) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14539 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14550 if (SWIG_arg_fail(1)) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (bool)(arg1
)->GetValue();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14567 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 char *kwnames
[] = {
14574 (char *) "self",(char *) "value", NULL
14577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14579 if (SWIG_arg_fail(1)) SWIG_fail
;
14581 arg2
= (bool)(SWIG_As_bool(obj1
));
14582 if (SWIG_arg_fail(2)) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 (arg1
)->SetValue(arg2
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 Py_INCREF(Py_None
); resultobj
= Py_None
;
14598 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14601 wxVisualAttributes result
;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "variant", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14610 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14611 if (SWIG_arg_fail(1)) SWIG_fail
;
14615 if (!wxPyCheckForApp()) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14623 wxVisualAttributes
* resultptr
;
14624 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14633 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14636 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14638 return Py_BuildValue((char *)"");
14640 static int _wrap_SliderNameStr_set(PyObject
*) {
14641 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14646 static PyObject
*_wrap_SliderNameStr_get(void) {
14651 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14653 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14660 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxWindow
*arg1
= (wxWindow
*) 0 ;
14663 int arg2
= (int) -1 ;
14664 int arg3
= (int) 0 ;
14665 int arg4
= (int) 0 ;
14666 int arg5
= (int) 100 ;
14667 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14668 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14669 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14670 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14671 long arg8
= (long) wxSL_HORIZONTAL
;
14672 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14673 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14674 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14675 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14679 bool temp10
= false ;
14680 PyObject
* obj0
= 0 ;
14681 PyObject
* obj1
= 0 ;
14682 PyObject
* obj2
= 0 ;
14683 PyObject
* obj3
= 0 ;
14684 PyObject
* obj4
= 0 ;
14685 PyObject
* obj5
= 0 ;
14686 PyObject
* obj6
= 0 ;
14687 PyObject
* obj7
= 0 ;
14688 PyObject
* obj8
= 0 ;
14689 PyObject
* obj9
= 0 ;
14690 char *kwnames
[] = {
14691 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14696 if (SWIG_arg_fail(1)) SWIG_fail
;
14699 arg2
= (int)(SWIG_As_int(obj1
));
14700 if (SWIG_arg_fail(2)) SWIG_fail
;
14705 arg3
= (int)(SWIG_As_int(obj2
));
14706 if (SWIG_arg_fail(3)) SWIG_fail
;
14711 arg4
= (int)(SWIG_As_int(obj3
));
14712 if (SWIG_arg_fail(4)) SWIG_fail
;
14717 arg5
= (int)(SWIG_As_int(obj4
));
14718 if (SWIG_arg_fail(5)) SWIG_fail
;
14724 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14730 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14735 arg8
= (long)(SWIG_As_long(obj7
));
14736 if (SWIG_arg_fail(8)) SWIG_fail
;
14741 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14742 if (SWIG_arg_fail(9)) SWIG_fail
;
14743 if (arg9
== NULL
) {
14744 SWIG_null_ref("wxValidator");
14746 if (SWIG_arg_fail(9)) SWIG_fail
;
14751 arg10
= wxString_in_helper(obj9
);
14752 if (arg10
== NULL
) SWIG_fail
;
14757 if (!wxPyCheckForApp()) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14779 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14782 char *kwnames
[] = {
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14788 if (!wxPyCheckForApp()) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= (wxSlider
*)new wxSlider();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14802 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
;
14804 wxSlider
*arg1
= (wxSlider
*) 0 ;
14805 wxWindow
*arg2
= (wxWindow
*) 0 ;
14806 int arg3
= (int) -1 ;
14807 int arg4
= (int) 0 ;
14808 int arg5
= (int) 0 ;
14809 int arg6
= (int) 100 ;
14810 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14811 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14812 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14813 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14814 long arg9
= (long) wxSL_HORIZONTAL
;
14815 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14816 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14817 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14818 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14822 bool temp11
= false ;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 PyObject
* obj2
= 0 ;
14826 PyObject
* obj3
= 0 ;
14827 PyObject
* obj4
= 0 ;
14828 PyObject
* obj5
= 0 ;
14829 PyObject
* obj6
= 0 ;
14830 PyObject
* obj7
= 0 ;
14831 PyObject
* obj8
= 0 ;
14832 PyObject
* obj9
= 0 ;
14833 PyObject
* obj10
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14840 if (SWIG_arg_fail(1)) SWIG_fail
;
14841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14842 if (SWIG_arg_fail(2)) SWIG_fail
;
14845 arg3
= (int)(SWIG_As_int(obj2
));
14846 if (SWIG_arg_fail(3)) SWIG_fail
;
14851 arg4
= (int)(SWIG_As_int(obj3
));
14852 if (SWIG_arg_fail(4)) SWIG_fail
;
14857 arg5
= (int)(SWIG_As_int(obj4
));
14858 if (SWIG_arg_fail(5)) SWIG_fail
;
14863 arg6
= (int)(SWIG_As_int(obj5
));
14864 if (SWIG_arg_fail(6)) SWIG_fail
;
14870 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14876 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14881 arg9
= (long)(SWIG_As_long(obj8
));
14882 if (SWIG_arg_fail(9)) SWIG_fail
;
14887 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14888 if (SWIG_arg_fail(10)) SWIG_fail
;
14889 if (arg10
== NULL
) {
14890 SWIG_null_ref("wxValidator");
14892 if (SWIG_arg_fail(10)) SWIG_fail
;
14897 arg11
= wxString_in_helper(obj10
);
14898 if (arg11
== NULL
) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14926 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxSlider
*arg1
= (wxSlider
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
14936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14937 if (SWIG_arg_fail(1)) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (int)((wxSlider
const *)arg1
)->GetValue();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14946 resultobj
= SWIG_From_int((int)(result
));
14954 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxSlider
*arg1
= (wxSlider
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 PyObject
* obj1
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self",(char *) "value", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14966 if (SWIG_arg_fail(1)) SWIG_fail
;
14968 arg2
= (int)(SWIG_As_int(obj1
));
14969 if (SWIG_arg_fail(2)) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 (arg1
)->SetValue(arg2
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 Py_INCREF(Py_None
); resultobj
= Py_None
;
14985 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxSlider
*arg1
= (wxSlider
*) 0 ;
14990 PyObject
* obj0
= 0 ;
14991 PyObject
* obj1
= 0 ;
14992 PyObject
* obj2
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14999 if (SWIG_arg_fail(1)) SWIG_fail
;
15001 arg2
= (int)(SWIG_As_int(obj1
));
15002 if (SWIG_arg_fail(2)) SWIG_fail
;
15005 arg3
= (int)(SWIG_As_int(obj2
));
15006 if (SWIG_arg_fail(3)) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 (arg1
)->SetRange(arg2
,arg3
);
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 Py_INCREF(Py_None
); resultobj
= Py_None
;
15022 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxSlider
*arg1
= (wxSlider
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15033 if (SWIG_arg_fail(1)) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= SWIG_From_int((int)(result
));
15050 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxSlider
*arg1
= (wxSlider
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15061 if (SWIG_arg_fail(1)) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= SWIG_From_int((int)(result
));
15078 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 wxSlider
*arg1
= (wxSlider
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 char *kwnames
[] = {
15085 (char *) "self",(char *) "minValue", NULL
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15090 if (SWIG_arg_fail(1)) SWIG_fail
;
15092 arg2
= (int)(SWIG_As_int(obj1
));
15093 if (SWIG_arg_fail(2)) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 (arg1
)->SetMin(arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 Py_INCREF(Py_None
); resultobj
= Py_None
;
15109 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxSlider
*arg1
= (wxSlider
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self",(char *) "maxValue", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15121 if (SWIG_arg_fail(1)) SWIG_fail
;
15123 arg2
= (int)(SWIG_As_int(obj1
));
15124 if (SWIG_arg_fail(2)) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 (arg1
)->SetMax(arg2
);
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 Py_INCREF(Py_None
); resultobj
= Py_None
;
15140 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxSlider
*arg1
= (wxSlider
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 PyObject
* obj1
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self",(char *) "lineSize", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15152 if (SWIG_arg_fail(1)) SWIG_fail
;
15154 arg2
= (int)(SWIG_As_int(obj1
));
15155 if (SWIG_arg_fail(2)) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 (arg1
)->SetLineSize(arg2
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 Py_INCREF(Py_None
); resultobj
= Py_None
;
15171 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxSlider
*arg1
= (wxSlider
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 PyObject
* obj1
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self",(char *) "pageSize", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15183 if (SWIG_arg_fail(1)) SWIG_fail
;
15185 arg2
= (int)(SWIG_As_int(obj1
));
15186 if (SWIG_arg_fail(2)) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 (arg1
)->SetPageSize(arg2
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
;
15204 wxSlider
*arg1
= (wxSlider
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "self", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15213 if (SWIG_arg_fail(1)) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= SWIG_From_int((int)(result
));
15230 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
;
15232 wxSlider
*arg1
= (wxSlider
*) 0 ;
15234 PyObject
* obj0
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15241 if (SWIG_arg_fail(1)) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15250 resultobj
= SWIG_From_int((int)(result
));
15258 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxSlider
*arg1
= (wxSlider
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 PyObject
* obj1
= 0 ;
15264 char *kwnames
[] = {
15265 (char *) "self",(char *) "lenPixels", NULL
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15270 if (SWIG_arg_fail(1)) SWIG_fail
;
15272 arg2
= (int)(SWIG_As_int(obj1
));
15273 if (SWIG_arg_fail(2)) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 (arg1
)->SetThumbLength(arg2
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 Py_INCREF(Py_None
); resultobj
= Py_None
;
15289 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxSlider
*arg1
= (wxSlider
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15300 if (SWIG_arg_fail(1)) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_From_int((int)(result
));
15317 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxSlider
*arg1
= (wxSlider
*) 0 ;
15321 int arg3
= (int) 1 ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 PyObject
* obj2
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self",(char *) "n",(char *) "pos", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15331 if (SWIG_arg_fail(1)) SWIG_fail
;
15333 arg2
= (int)(SWIG_As_int(obj1
));
15334 if (SWIG_arg_fail(2)) SWIG_fail
;
15338 arg3
= (int)(SWIG_As_int(obj2
));
15339 if (SWIG_arg_fail(3)) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 (arg1
)->SetTickFreq(arg2
,arg3
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 Py_INCREF(Py_None
); resultobj
= Py_None
;
15356 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxSlider
*arg1
= (wxSlider
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15367 if (SWIG_arg_fail(1)) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= SWIG_From_int((int)(result
));
15384 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxSlider
*arg1
= (wxSlider
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15394 if (SWIG_arg_fail(1)) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 (arg1
)->ClearTicks();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 Py_INCREF(Py_None
); resultobj
= Py_None
;
15409 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxSlider
*arg1
= (wxSlider
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 PyObject
* obj1
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "self",(char *) "tickPos", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15421 if (SWIG_arg_fail(1)) SWIG_fail
;
15423 arg2
= (int)(SWIG_As_int(obj1
));
15424 if (SWIG_arg_fail(2)) SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 (arg1
)->SetTick(arg2
);
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 Py_INCREF(Py_None
); resultobj
= Py_None
;
15440 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxSlider
*arg1
= (wxSlider
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15450 if (SWIG_arg_fail(1)) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 (arg1
)->ClearSel();
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 Py_INCREF(Py_None
); resultobj
= Py_None
;
15465 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxSlider
*arg1
= (wxSlider
*) 0 ;
15469 PyObject
* obj0
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "self", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15476 if (SWIG_arg_fail(1)) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_From_int((int)(result
));
15493 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxSlider
*arg1
= (wxSlider
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15504 if (SWIG_arg_fail(1)) SWIG_fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= SWIG_From_int((int)(result
));
15521 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15523 wxSlider
*arg1
= (wxSlider
*) 0 ;
15526 PyObject
* obj0
= 0 ;
15527 PyObject
* obj1
= 0 ;
15528 PyObject
* obj2
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self",(char *) "min",(char *) "max", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15535 if (SWIG_arg_fail(1)) SWIG_fail
;
15537 arg2
= (int)(SWIG_As_int(obj1
));
15538 if (SWIG_arg_fail(2)) SWIG_fail
;
15541 arg3
= (int)(SWIG_As_int(obj2
));
15542 if (SWIG_arg_fail(3)) SWIG_fail
;
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 (arg1
)->SetSelection(arg2
,arg3
);
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 Py_INCREF(Py_None
); resultobj
= Py_None
;
15558 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15559 PyObject
*resultobj
;
15560 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15561 wxVisualAttributes result
;
15562 PyObject
* obj0
= 0 ;
15563 char *kwnames
[] = {
15564 (char *) "variant", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15570 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15571 if (SWIG_arg_fail(1)) SWIG_fail
;
15575 if (!wxPyCheckForApp()) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15583 wxVisualAttributes
* resultptr
;
15584 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15593 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15596 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15598 return Py_BuildValue((char *)"");
15600 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15601 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15606 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15611 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15613 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15620 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxWindow
*arg1
= (wxWindow
*) 0 ;
15623 int arg2
= (int) -1 ;
15624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15626 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15627 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15628 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15629 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15630 long arg6
= (long) 0 ;
15631 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15632 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15633 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15634 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15635 wxToggleButton
*result
;
15636 bool temp3
= false ;
15639 bool temp8
= false ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 PyObject
* obj2
= 0 ;
15643 PyObject
* obj3
= 0 ;
15644 PyObject
* obj4
= 0 ;
15645 PyObject
* obj5
= 0 ;
15646 PyObject
* obj6
= 0 ;
15647 PyObject
* obj7
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15654 if (SWIG_arg_fail(1)) SWIG_fail
;
15657 arg2
= (int)(SWIG_As_int(obj1
));
15658 if (SWIG_arg_fail(2)) SWIG_fail
;
15663 arg3
= wxString_in_helper(obj2
);
15664 if (arg3
== NULL
) SWIG_fail
;
15671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15682 arg6
= (long)(SWIG_As_long(obj5
));
15683 if (SWIG_arg_fail(6)) SWIG_fail
;
15688 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15689 if (SWIG_arg_fail(7)) SWIG_fail
;
15690 if (arg7
== NULL
) {
15691 SWIG_null_ref("wxValidator");
15693 if (SWIG_arg_fail(7)) SWIG_fail
;
15698 arg8
= wxString_in_helper(obj7
);
15699 if (arg8
== NULL
) SWIG_fail
;
15704 if (!wxPyCheckForApp()) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15734 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxToggleButton
*result
;
15737 char *kwnames
[] = {
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15743 if (!wxPyCheckForApp()) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (wxToggleButton
*)new wxToggleButton();
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15757 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15760 wxWindow
*arg2
= (wxWindow
*) 0 ;
15761 int arg3
= (int) -1 ;
15762 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15763 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15764 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15765 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15766 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15767 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15768 long arg7
= (long) 0 ;
15769 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15770 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15771 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15772 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15774 bool temp4
= false ;
15777 bool temp9
= false ;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 PyObject
* obj2
= 0 ;
15781 PyObject
* obj3
= 0 ;
15782 PyObject
* obj4
= 0 ;
15783 PyObject
* obj5
= 0 ;
15784 PyObject
* obj6
= 0 ;
15785 PyObject
* obj7
= 0 ;
15786 PyObject
* obj8
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15793 if (SWIG_arg_fail(1)) SWIG_fail
;
15794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15795 if (SWIG_arg_fail(2)) SWIG_fail
;
15798 arg3
= (int)(SWIG_As_int(obj2
));
15799 if (SWIG_arg_fail(3)) SWIG_fail
;
15804 arg4
= wxString_in_helper(obj3
);
15805 if (arg4
== NULL
) SWIG_fail
;
15812 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15818 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15823 arg7
= (long)(SWIG_As_long(obj6
));
15824 if (SWIG_arg_fail(7)) SWIG_fail
;
15829 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15830 if (SWIG_arg_fail(8)) SWIG_fail
;
15831 if (arg8
== NULL
) {
15832 SWIG_null_ref("wxValidator");
15834 if (SWIG_arg_fail(8)) SWIG_fail
;
15839 arg9
= wxString_in_helper(obj8
);
15840 if (arg9
== NULL
) SWIG_fail
;
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15876 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self",(char *) "value", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15888 if (SWIG_arg_fail(1)) SWIG_fail
;
15890 arg2
= (bool)(SWIG_As_bool(obj1
));
15891 if (SWIG_arg_fail(2)) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 (arg1
)->SetValue(arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 Py_INCREF(Py_None
); resultobj
= Py_None
;
15907 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
;
15909 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "self", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15918 if (SWIG_arg_fail(1)) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15935 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15938 wxString
*arg2
= 0 ;
15939 bool temp2
= false ;
15940 PyObject
* obj0
= 0 ;
15941 PyObject
* obj1
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self",(char *) "label", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15948 if (SWIG_arg_fail(1)) SWIG_fail
;
15950 arg2
= wxString_in_helper(obj1
);
15951 if (arg2
== NULL
) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 (arg1
)->SetLabel((wxString
const &)*arg2
);
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 Py_INCREF(Py_None
); resultobj
= Py_None
;
15976 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15979 wxVisualAttributes result
;
15980 PyObject
* obj0
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "variant", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15988 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15989 if (SWIG_arg_fail(1)) SWIG_fail
;
15993 if (!wxPyCheckForApp()) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16001 wxVisualAttributes
* resultptr
;
16002 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16011 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16014 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16016 return Py_BuildValue((char *)"");
16018 static int _wrap_NotebookNameStr_set(PyObject
*) {
16019 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16024 static PyObject
*_wrap_NotebookNameStr_get(void) {
16029 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16031 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16038 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16049 if (SWIG_arg_fail(1)) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16066 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16071 PyObject
* obj0
= 0 ;
16072 PyObject
* obj1
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self",(char *) "n", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16079 if (SWIG_arg_fail(1)) SWIG_fail
;
16081 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16082 if (SWIG_arg_fail(2)) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= wxPyMake_wxObject(result
, 0);
16100 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16111 if (SWIG_arg_fail(1)) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= wxPyMake_wxObject(result
, 0);
16128 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
;
16130 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16132 PyObject
* obj0
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16139 if (SWIG_arg_fail(1)) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= SWIG_From_int((int)(result
));
16156 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16160 wxString
*arg3
= 0 ;
16162 bool temp3
= false ;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 PyObject
* obj2
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self",(char *) "n",(char *) "strText", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16172 if (SWIG_arg_fail(1)) SWIG_fail
;
16174 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16175 if (SWIG_arg_fail(2)) SWIG_fail
;
16178 arg3
= wxString_in_helper(obj2
);
16179 if (arg3
== NULL
) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16206 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "self",(char *) "n", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16219 if (SWIG_arg_fail(1)) SWIG_fail
;
16221 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16222 if (SWIG_arg_fail(2)) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16244 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16247 wxImageList
*arg2
= (wxImageList
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self",(char *) "imageList", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16256 if (SWIG_arg_fail(1)) SWIG_fail
;
16257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16258 if (SWIG_arg_fail(2)) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 (arg1
)->SetImageList(arg2
);
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 Py_INCREF(Py_None
); resultobj
= Py_None
;
16273 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16276 wxImageList
*arg2
= (wxImageList
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "imageList", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16285 if (SWIG_arg_fail(1)) SWIG_fail
;
16286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16287 if (SWIG_arg_fail(2)) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 (arg1
)->AssignImageList(arg2
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 Py_INCREF(Py_None
); resultobj
= Py_None
;
16302 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16305 wxImageList
*result
;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16313 if (SWIG_arg_fail(1)) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= wxPyMake_wxObject(result
, 0);
16330 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 PyObject
* obj1
= 0 ;
16337 char *kwnames
[] = {
16338 (char *) "self",(char *) "n", NULL
16341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16343 if (SWIG_arg_fail(1)) SWIG_fail
;
16345 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16346 if (SWIG_arg_fail(2)) SWIG_fail
;
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16356 resultobj
= SWIG_From_int((int)(result
));
16364 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 PyObject
* obj2
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self",(char *) "n",(char *) "imageId", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16379 if (SWIG_arg_fail(1)) SWIG_fail
;
16381 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16382 if (SWIG_arg_fail(2)) SWIG_fail
;
16385 arg3
= (int)(SWIG_As_int(obj2
));
16386 if (SWIG_arg_fail(3)) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16404 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self",(char *) "size", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16417 if (SWIG_arg_fail(1)) SWIG_fail
;
16420 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 Py_INCREF(Py_None
); resultobj
= Py_None
;
16436 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "sizePage", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16450 if (SWIG_arg_fail(1)) SWIG_fail
;
16453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 wxSize
* resultptr
;
16464 resultptr
= new wxSize((wxSize
&)(result
));
16465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16473 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16475 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "n", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail
;
16488 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16489 if (SWIG_arg_fail(2)) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (bool)(arg1
)->DeletePage(arg2
);
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16512 PyObject
* obj0
= 0 ;
16513 PyObject
* obj1
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self",(char *) "n", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail
;
16522 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16523 if (SWIG_arg_fail(2)) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (bool)(arg1
)->RemovePage(arg2
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16541 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16552 if (SWIG_arg_fail(1)) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (bool)(arg1
)->DeleteAllPages();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16569 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16572 wxWindow
*arg2
= (wxWindow
*) 0 ;
16573 wxString
*arg3
= 0 ;
16574 bool arg4
= (bool) false ;
16575 int arg5
= (int) -1 ;
16577 bool temp3
= false ;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 PyObject
* obj2
= 0 ;
16581 PyObject
* obj3
= 0 ;
16582 PyObject
* obj4
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16589 if (SWIG_arg_fail(1)) SWIG_fail
;
16590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16591 if (SWIG_arg_fail(2)) SWIG_fail
;
16593 arg3
= wxString_in_helper(obj2
);
16594 if (arg3
== NULL
) SWIG_fail
;
16599 arg4
= (bool)(SWIG_As_bool(obj3
));
16600 if (SWIG_arg_fail(4)) SWIG_fail
;
16605 arg5
= (int)(SWIG_As_int(obj4
));
16606 if (SWIG_arg_fail(5)) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16633 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16637 wxWindow
*arg3
= (wxWindow
*) 0 ;
16638 wxString
*arg4
= 0 ;
16639 bool arg5
= (bool) false ;
16640 int arg6
= (int) -1 ;
16642 bool temp4
= false ;
16643 PyObject
* obj0
= 0 ;
16644 PyObject
* obj1
= 0 ;
16645 PyObject
* obj2
= 0 ;
16646 PyObject
* obj3
= 0 ;
16647 PyObject
* obj4
= 0 ;
16648 PyObject
* obj5
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16655 if (SWIG_arg_fail(1)) SWIG_fail
;
16657 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16658 if (SWIG_arg_fail(2)) SWIG_fail
;
16660 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16661 if (SWIG_arg_fail(3)) SWIG_fail
;
16663 arg4
= wxString_in_helper(obj3
);
16664 if (arg4
== NULL
) SWIG_fail
;
16669 arg5
= (bool)(SWIG_As_bool(obj4
));
16670 if (SWIG_arg_fail(5)) SWIG_fail
;
16675 arg6
= (int)(SWIG_As_int(obj5
));
16676 if (SWIG_arg_fail(6)) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16703 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 PyObject
* obj1
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "self",(char *) "n", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16716 if (SWIG_arg_fail(1)) SWIG_fail
;
16718 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16719 if (SWIG_arg_fail(2)) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= (int)(arg1
)->SetSelection(arg2
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= SWIG_From_int((int)(result
));
16737 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16740 bool arg2
= (bool) true ;
16741 PyObject
* obj0
= 0 ;
16742 PyObject
* obj1
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self",(char *) "forward", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16749 if (SWIG_arg_fail(1)) SWIG_fail
;
16752 arg2
= (bool)(SWIG_As_bool(obj1
));
16753 if (SWIG_arg_fail(2)) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 (arg1
)->AdvanceSelection(arg2
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 Py_INCREF(Py_None
); resultobj
= Py_None
;
16770 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16773 wxVisualAttributes result
;
16774 PyObject
* obj0
= 0 ;
16775 char *kwnames
[] = {
16776 (char *) "variant", NULL
16779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16782 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16783 if (SWIG_arg_fail(1)) SWIG_fail
;
16787 if (!wxPyCheckForApp()) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16795 wxVisualAttributes
* resultptr
;
16796 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16805 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16808 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16810 return Py_BuildValue((char *)"");
16812 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16815 int arg2
= (int) 0 ;
16816 int arg3
= (int) -1 ;
16817 int arg4
= (int) -1 ;
16818 wxBookCtrlBaseEvent
*result
;
16819 PyObject
* obj0
= 0 ;
16820 PyObject
* obj1
= 0 ;
16821 PyObject
* obj2
= 0 ;
16822 PyObject
* obj3
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16830 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16831 if (SWIG_arg_fail(1)) SWIG_fail
;
16836 arg2
= (int)(SWIG_As_int(obj1
));
16837 if (SWIG_arg_fail(2)) SWIG_fail
;
16842 arg3
= (int)(SWIG_As_int(obj2
));
16843 if (SWIG_arg_fail(3)) SWIG_fail
;
16848 arg4
= (int)(SWIG_As_int(obj3
));
16849 if (SWIG_arg_fail(4)) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16866 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16877 if (SWIG_arg_fail(1)) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16886 resultobj
= SWIG_From_int((int)(result
));
16894 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16898 PyObject
* obj0
= 0 ;
16899 PyObject
* obj1
= 0 ;
16900 char *kwnames
[] = {
16901 (char *) "self",(char *) "nSel", NULL
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16906 if (SWIG_arg_fail(1)) SWIG_fail
;
16908 arg2
= (int)(SWIG_As_int(obj1
));
16909 if (SWIG_arg_fail(2)) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 (arg1
)->SetSelection(arg2
);
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 Py_INCREF(Py_None
); resultobj
= Py_None
;
16925 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
;
16927 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16929 PyObject
* obj0
= 0 ;
16930 char *kwnames
[] = {
16931 (char *) "self", NULL
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
16935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16936 if (SWIG_arg_fail(1)) SWIG_fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= SWIG_From_int((int)(result
));
16953 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self",(char *) "nOldSel", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16965 if (SWIG_arg_fail(1)) SWIG_fail
;
16967 arg2
= (int)(SWIG_As_int(obj1
));
16968 if (SWIG_arg_fail(2)) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 (arg1
)->SetOldSelection(arg2
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 Py_INCREF(Py_None
); resultobj
= Py_None
;
16984 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
16986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16987 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
16989 return Py_BuildValue((char *)"");
16991 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxWindow
*arg1
= (wxWindow
*) 0 ;
16994 int arg2
= (int) -1 ;
16995 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16996 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16997 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16998 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16999 long arg5
= (long) 0 ;
17000 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17001 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17002 wxNotebook
*result
;
17005 bool temp6
= false ;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 PyObject
* obj2
= 0 ;
17009 PyObject
* obj3
= 0 ;
17010 PyObject
* obj4
= 0 ;
17011 PyObject
* obj5
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17018 if (SWIG_arg_fail(1)) SWIG_fail
;
17021 arg2
= (int)(SWIG_As_int(obj1
));
17022 if (SWIG_arg_fail(2)) SWIG_fail
;
17028 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17034 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17039 arg5
= (long)(SWIG_As_long(obj4
));
17040 if (SWIG_arg_fail(5)) SWIG_fail
;
17045 arg6
= wxString_in_helper(obj5
);
17046 if (arg6
== NULL
) SWIG_fail
;
17051 if (!wxPyCheckForApp()) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17073 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17075 wxNotebook
*result
;
17076 char *kwnames
[] = {
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17082 if (!wxPyCheckForApp()) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (wxNotebook
*)new wxNotebook();
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17096 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
;
17098 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17099 wxWindow
*arg2
= (wxWindow
*) 0 ;
17100 int arg3
= (int) -1 ;
17101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17105 long arg6
= (long) 0 ;
17106 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17107 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17111 bool temp7
= false ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 PyObject
* obj2
= 0 ;
17115 PyObject
* obj3
= 0 ;
17116 PyObject
* obj4
= 0 ;
17117 PyObject
* obj5
= 0 ;
17118 PyObject
* obj6
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17125 if (SWIG_arg_fail(1)) SWIG_fail
;
17126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17127 if (SWIG_arg_fail(2)) SWIG_fail
;
17130 arg3
= (int)(SWIG_As_int(obj2
));
17131 if (SWIG_arg_fail(3)) SWIG_fail
;
17137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17143 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17148 arg6
= (long)(SWIG_As_long(obj5
));
17149 if (SWIG_arg_fail(6)) SWIG_fail
;
17154 arg7
= wxString_in_helper(obj6
);
17155 if (arg7
== NULL
) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17183 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17194 if (SWIG_arg_fail(1)) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= SWIG_From_int((int)(result
));
17211 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self",(char *) "padding", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17224 if (SWIG_arg_fail(1)) SWIG_fail
;
17227 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 Py_INCREF(Py_None
); resultobj
= Py_None
;
17243 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "self",(char *) "sz", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17256 if (SWIG_arg_fail(1)) SWIG_fail
;
17259 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 Py_INCREF(Py_None
); resultobj
= Py_None
;
17275 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17278 wxPoint
*arg2
= 0 ;
17279 long *arg3
= (long *) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 PyObject
* obj1
= 0 ;
17286 char *kwnames
[] = {
17287 (char *) "self",(char *) "pt", NULL
17290 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17293 if (SWIG_arg_fail(1)) SWIG_fail
;
17296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= SWIG_From_int((int)(result
));
17308 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17309 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17316 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self",(char *) "sizePage", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17330 if (SWIG_arg_fail(1)) SWIG_fail
;
17333 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17343 wxSize
* resultptr
;
17344 resultptr
= new wxSize((wxSize
&)(result
));
17345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17353 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17357 PyObject
* obj0
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17364 if (SWIG_arg_fail(1)) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17373 wxColour
* resultptr
;
17374 resultptr
= new wxColour((wxColour
&)(result
));
17375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17383 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17386 wxVisualAttributes result
;
17387 PyObject
* obj0
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "variant", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17395 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17396 if (SWIG_arg_fail(1)) SWIG_fail
;
17400 if (!wxPyCheckForApp()) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 wxVisualAttributes
* resultptr
;
17409 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17418 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17421 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17423 return Py_BuildValue((char *)"");
17425 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
;
17427 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17428 int arg2
= (int) 0 ;
17429 int arg3
= (int) -1 ;
17430 int arg4
= (int) -1 ;
17431 wxNotebookEvent
*result
;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 PyObject
* obj2
= 0 ;
17435 PyObject
* obj3
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17443 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17444 if (SWIG_arg_fail(1)) SWIG_fail
;
17449 arg2
= (int)(SWIG_As_int(obj1
));
17450 if (SWIG_arg_fail(2)) SWIG_fail
;
17455 arg3
= (int)(SWIG_As_int(obj2
));
17456 if (SWIG_arg_fail(3)) SWIG_fail
;
17461 arg4
= (int)(SWIG_As_int(obj3
));
17462 if (SWIG_arg_fail(4)) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17479 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17482 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17484 return Py_BuildValue((char *)"");
17486 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxWindow
*arg1
= (wxWindow
*) 0 ;
17489 int arg2
= (int) -1 ;
17490 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17491 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17492 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17493 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17494 long arg5
= (long) 0 ;
17495 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17496 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17497 wxListbook
*result
;
17500 bool temp6
= false ;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj1
= 0 ;
17503 PyObject
* obj2
= 0 ;
17504 PyObject
* obj3
= 0 ;
17505 PyObject
* obj4
= 0 ;
17506 PyObject
* obj5
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17513 if (SWIG_arg_fail(1)) SWIG_fail
;
17516 arg2
= (int)(SWIG_As_int(obj1
));
17517 if (SWIG_arg_fail(2)) SWIG_fail
;
17523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17529 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17534 arg5
= (long)(SWIG_As_long(obj4
));
17535 if (SWIG_arg_fail(5)) SWIG_fail
;
17540 arg6
= wxString_in_helper(obj5
);
17541 if (arg6
== NULL
) SWIG_fail
;
17546 if (!wxPyCheckForApp()) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17568 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxListbook
*result
;
17571 char *kwnames
[] = {
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17577 if (!wxPyCheckForApp()) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (wxListbook
*)new wxListbook();
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17591 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxListbook
*arg1
= (wxListbook
*) 0 ;
17594 wxWindow
*arg2
= (wxWindow
*) 0 ;
17595 int arg3
= (int) -1 ;
17596 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17597 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17598 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17599 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17600 long arg6
= (long) 0 ;
17601 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17602 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17606 bool temp7
= false ;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 PyObject
* obj2
= 0 ;
17610 PyObject
* obj3
= 0 ;
17611 PyObject
* obj4
= 0 ;
17612 PyObject
* obj5
= 0 ;
17613 PyObject
* obj6
= 0 ;
17614 char *kwnames
[] = {
17615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17620 if (SWIG_arg_fail(1)) SWIG_fail
;
17621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17622 if (SWIG_arg_fail(2)) SWIG_fail
;
17625 arg3
= (int)(SWIG_As_int(obj2
));
17626 if (SWIG_arg_fail(3)) SWIG_fail
;
17632 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17638 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17643 arg6
= (long)(SWIG_As_long(obj5
));
17644 if (SWIG_arg_fail(6)) SWIG_fail
;
17649 arg7
= wxString_in_helper(obj6
);
17650 if (arg7
== NULL
) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17678 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxListbook
*arg1
= (wxListbook
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17689 if (SWIG_arg_fail(1)) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17706 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxListbook
*arg1
= (wxListbook
*) 0 ;
17709 wxListView
*result
;
17710 PyObject
* obj0
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17717 if (SWIG_arg_fail(1)) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (wxListView
*)(arg1
)->GetListView();
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17732 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17735 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17737 return Py_BuildValue((char *)"");
17739 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17742 int arg2
= (int) 0 ;
17743 int arg3
= (int) -1 ;
17744 int arg4
= (int) -1 ;
17745 wxListbookEvent
*result
;
17746 PyObject
* obj0
= 0 ;
17747 PyObject
* obj1
= 0 ;
17748 PyObject
* obj2
= 0 ;
17749 PyObject
* obj3
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17757 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17758 if (SWIG_arg_fail(1)) SWIG_fail
;
17763 arg2
= (int)(SWIG_As_int(obj1
));
17764 if (SWIG_arg_fail(2)) SWIG_fail
;
17769 arg3
= (int)(SWIG_As_int(obj2
));
17770 if (SWIG_arg_fail(3)) SWIG_fail
;
17775 arg4
= (int)(SWIG_As_int(obj3
));
17776 if (SWIG_arg_fail(4)) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17793 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17796 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17798 return Py_BuildValue((char *)"");
17800 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxWindow
*arg1
= (wxWindow
*) 0 ;
17804 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17805 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17806 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17807 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17808 long arg5
= (long) 0 ;
17809 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17810 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17811 wxChoicebook
*result
;
17814 bool temp6
= false ;
17815 PyObject
* obj0
= 0 ;
17816 PyObject
* obj1
= 0 ;
17817 PyObject
* obj2
= 0 ;
17818 PyObject
* obj3
= 0 ;
17819 PyObject
* obj4
= 0 ;
17820 PyObject
* obj5
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17827 if (SWIG_arg_fail(1)) SWIG_fail
;
17829 arg2
= (int)(SWIG_As_int(obj1
));
17830 if (SWIG_arg_fail(2)) SWIG_fail
;
17835 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17841 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17846 arg5
= (long)(SWIG_As_long(obj4
));
17847 if (SWIG_arg_fail(5)) SWIG_fail
;
17852 arg6
= wxString_in_helper(obj5
);
17853 if (arg6
== NULL
) SWIG_fail
;
17858 if (!wxPyCheckForApp()) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17880 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
;
17882 wxChoicebook
*result
;
17883 char *kwnames
[] = {
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17889 if (!wxPyCheckForApp()) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (wxChoicebook
*)new wxChoicebook();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17903 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17906 wxWindow
*arg2
= (wxWindow
*) 0 ;
17908 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17909 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17910 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17911 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17912 long arg6
= (long) 0 ;
17913 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17914 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17918 bool temp7
= false ;
17919 PyObject
* obj0
= 0 ;
17920 PyObject
* obj1
= 0 ;
17921 PyObject
* obj2
= 0 ;
17922 PyObject
* obj3
= 0 ;
17923 PyObject
* obj4
= 0 ;
17924 PyObject
* obj5
= 0 ;
17925 PyObject
* obj6
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17932 if (SWIG_arg_fail(1)) SWIG_fail
;
17933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17934 if (SWIG_arg_fail(2)) SWIG_fail
;
17936 arg3
= (int)(SWIG_As_int(obj2
));
17937 if (SWIG_arg_fail(3)) SWIG_fail
;
17942 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17948 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17953 arg6
= (long)(SWIG_As_long(obj5
));
17954 if (SWIG_arg_fail(6)) SWIG_fail
;
17959 arg7
= wxString_in_helper(obj6
);
17960 if (arg7
== NULL
) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17988 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17990 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
17998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
17999 if (SWIG_arg_fail(1)) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18016 static PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
;
18018 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18020 PyObject
* obj0
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_GetChoiceCtrl",kwnames
,&obj0
)) goto fail
;
18026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18027 if (SWIG_arg_fail(1)) SWIG_fail
;
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 0);
18042 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18043 PyObject
*resultobj
;
18044 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18046 PyObject
* obj0
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18053 if (SWIG_arg_fail(1)) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 result
= (bool)(arg1
)->DeleteAllPages();
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18070 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18073 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18075 return Py_BuildValue((char *)"");
18077 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
;
18079 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18080 int arg2
= (int) 0 ;
18081 int arg3
= (int) -1 ;
18082 int arg4
= (int) -1 ;
18083 wxChoicebookEvent
*result
;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 PyObject
* obj2
= 0 ;
18087 PyObject
* obj3
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18095 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18096 if (SWIG_arg_fail(1)) SWIG_fail
;
18101 arg2
= (int)(SWIG_As_int(obj1
));
18102 if (SWIG_arg_fail(2)) SWIG_fail
;
18107 arg3
= (int)(SWIG_As_int(obj2
));
18108 if (SWIG_arg_fail(3)) SWIG_fail
;
18113 arg4
= (int)(SWIG_As_int(obj3
));
18114 if (SWIG_arg_fail(4)) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18131 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18134 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18136 return Py_BuildValue((char *)"");
18138 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18141 wxBookCtrlSizer
*result
;
18142 PyObject
* obj0
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "nb", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18149 if (SWIG_arg_fail(1)) SWIG_fail
;
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18164 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18174 if (SWIG_arg_fail(1)) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 (arg1
)->RecalcSizes();
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 Py_INCREF(Py_None
); resultobj
= Py_None
;
18189 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18200 if (SWIG_arg_fail(1)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (arg1
)->CalcMin();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 wxSize
* resultptr
;
18210 resultptr
= new wxSize((wxSize
&)(result
));
18211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18219 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
;
18221 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18222 wxBookCtrlBase
*result
;
18223 PyObject
* obj0
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18230 if (SWIG_arg_fail(1)) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18245 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18248 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18250 return Py_BuildValue((char *)"");
18252 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18255 wxNotebookSizer
*result
;
18256 PyObject
* obj0
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "nb", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18263 if (SWIG_arg_fail(1)) SWIG_fail
;
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18278 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
;
18280 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18288 if (SWIG_arg_fail(1)) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 (arg1
)->RecalcSizes();
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 Py_INCREF(Py_None
); resultobj
= Py_None
;
18303 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "self", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18314 if (SWIG_arg_fail(1)) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 result
= (arg1
)->CalcMin();
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18323 wxSize
* resultptr
;
18324 resultptr
= new wxSize((wxSize
&)(result
));
18325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18333 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18336 wxNotebook
*result
;
18337 PyObject
* obj0
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18344 if (SWIG_arg_fail(1)) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= wxPyMake_wxObject(result
, 0);
18361 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18364 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18366 return Py_BuildValue((char *)"");
18368 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "self", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18379 if (SWIG_arg_fail(1)) SWIG_fail
;
18381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 result
= (int)(arg1
)->GetId();
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= SWIG_From_int((int)(result
));
18396 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18400 PyObject
* obj0
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "self", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18407 if (SWIG_arg_fail(1)) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 result
= (wxControl
*)(arg1
)->GetControl();
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= wxPyMake_wxObject(result
, 0);
18424 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18427 wxToolBarBase
*result
;
18428 PyObject
* obj0
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18435 if (SWIG_arg_fail(1)) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= wxPyMake_wxObject(result
, 0);
18452 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 char *kwnames
[] = {
18458 (char *) "self", NULL
18461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18463 if (SWIG_arg_fail(1)) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (int)(arg1
)->IsButton();
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_From_int((int)(result
));
18480 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18491 if (SWIG_arg_fail(1)) SWIG_fail
;
18493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18494 result
= (int)(arg1
)->IsControl();
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= SWIG_From_int((int)(result
));
18508 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18512 PyObject
* obj0
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "self", NULL
18517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18519 if (SWIG_arg_fail(1)) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 result
= (int)(arg1
)->IsSeparator();
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18528 resultobj
= SWIG_From_int((int)(result
));
18536 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18547 if (SWIG_arg_fail(1)) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 result
= (int)(arg1
)->GetStyle();
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= SWIG_From_int((int)(result
));
18564 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18575 if (SWIG_arg_fail(1)) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= (wxItemKind
)(arg1
)->GetKind();
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18583 resultobj
= SWIG_From_int((result
));
18590 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18592 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18594 PyObject
* obj0
= 0 ;
18595 char *kwnames
[] = {
18596 (char *) "self", NULL
18599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18601 if (SWIG_arg_fail(1)) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 result
= (bool)(arg1
)->IsEnabled();
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18618 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18629 if (SWIG_arg_fail(1)) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 result
= (bool)(arg1
)->IsToggled();
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18646 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
;
18648 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18650 PyObject
* obj0
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18657 if (SWIG_arg_fail(1)) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= (bool)(arg1
)->CanBeToggled();
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18674 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18685 if (SWIG_arg_fail(1)) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18690 result
= (wxBitmap
*) &_result_ref
;
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18697 wxBitmap
* resultptr
= new wxBitmap(*result
);
18698 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18706 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18717 if (SWIG_arg_fail(1)) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18722 result
= (wxBitmap
*) &_result_ref
;
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 wxBitmap
* resultptr
= new wxBitmap(*result
);
18730 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18738 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18749 if (SWIG_arg_fail(1)) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (arg1
)->GetBitmap();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18758 wxBitmap
* resultptr
;
18759 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18768 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18772 PyObject
* obj0
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18779 if (SWIG_arg_fail(1)) SWIG_fail
;
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18782 result
= (arg1
)->GetLabel();
18784 wxPyEndAllowThreads(__tstate
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18800 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18804 PyObject
* obj0
= 0 ;
18805 char *kwnames
[] = {
18806 (char *) "self", NULL
18809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18811 if (SWIG_arg_fail(1)) SWIG_fail
;
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (arg1
)->GetShortHelp();
18816 wxPyEndAllowThreads(__tstate
);
18817 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18832 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18836 PyObject
* obj0
= 0 ;
18837 char *kwnames
[] = {
18838 (char *) "self", NULL
18841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18843 if (SWIG_arg_fail(1)) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 result
= (arg1
)->GetLongHelp();
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18864 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
;
18866 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self",(char *) "enable", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18877 if (SWIG_arg_fail(1)) SWIG_fail
;
18879 arg2
= (bool)(SWIG_As_bool(obj1
));
18880 if (SWIG_arg_fail(2)) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= (bool)(arg1
)->Enable(arg2
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18898 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18901 PyObject
* obj0
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18908 if (SWIG_arg_fail(1)) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18916 Py_INCREF(Py_None
); resultobj
= Py_None
;
18923 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
;
18925 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18928 PyObject
* obj0
= 0 ;
18929 PyObject
* obj1
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self",(char *) "toggle", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18936 if (SWIG_arg_fail(1)) SWIG_fail
;
18938 arg2
= (bool)(SWIG_As_bool(obj1
));
18939 if (SWIG_arg_fail(2)) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (bool)(arg1
)->SetToggle(arg2
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18957 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
;
18959 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18960 wxString
*arg2
= 0 ;
18962 bool temp2
= false ;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self",(char *) "help", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18971 if (SWIG_arg_fail(1)) SWIG_fail
;
18973 arg2
= wxString_in_helper(obj1
);
18974 if (arg2
== NULL
) SWIG_fail
;
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19001 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
;
19003 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19004 wxString
*arg2
= 0 ;
19006 bool temp2
= false ;
19007 PyObject
* obj0
= 0 ;
19008 PyObject
* obj1
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "self",(char *) "help", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19015 if (SWIG_arg_fail(1)) SWIG_fail
;
19017 arg2
= wxString_in_helper(obj1
);
19018 if (arg2
== NULL
) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19045 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19048 wxBitmap
*arg2
= 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "bmp", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19057 if (SWIG_arg_fail(1)) SWIG_fail
;
19059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19060 if (SWIG_arg_fail(2)) SWIG_fail
;
19061 if (arg2
== NULL
) {
19062 SWIG_null_ref("wxBitmap");
19064 if (SWIG_arg_fail(2)) SWIG_fail
;
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 Py_INCREF(Py_None
); resultobj
= Py_None
;
19080 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19083 wxBitmap
*arg2
= 0 ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self",(char *) "bmp", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail
;
19094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19095 if (SWIG_arg_fail(2)) SWIG_fail
;
19096 if (arg2
== NULL
) {
19097 SWIG_null_ref("wxBitmap");
19099 if (SWIG_arg_fail(2)) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 Py_INCREF(Py_None
); resultobj
= Py_None
;
19115 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
;
19117 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19118 wxString
*arg2
= 0 ;
19119 bool temp2
= false ;
19120 PyObject
* obj0
= 0 ;
19121 PyObject
* obj1
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self",(char *) "label", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19128 if (SWIG_arg_fail(1)) SWIG_fail
;
19130 arg2
= wxString_in_helper(obj1
);
19131 if (arg2
== NULL
) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 (arg1
)->SetLabel((wxString
const &)*arg2
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 Py_INCREF(Py_None
); resultobj
= Py_None
;
19156 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19159 PyObject
* obj0
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19166 if (SWIG_arg_fail(1)) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 Py_INCREF(Py_None
); resultobj
= Py_None
;
19181 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19184 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj1
= 0 ;
19187 char *kwnames
[] = {
19188 (char *) "self",(char *) "tbar", NULL
19191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19193 if (SWIG_arg_fail(1)) SWIG_fail
;
19194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19195 if (SWIG_arg_fail(2)) SWIG_fail
;
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 (arg1
)->Attach(arg2
);
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19203 Py_INCREF(Py_None
); resultobj
= Py_None
;
19210 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
;
19212 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19214 PyObject
* obj0
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19221 if (SWIG_arg_fail(1)) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= result
;
19236 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19239 PyObject
*arg2
= (PyObject
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self",(char *) "clientData", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19248 if (SWIG_arg_fail(1)) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 Py_INCREF(Py_None
); resultobj
= Py_None
;
19264 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19267 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19269 return Py_BuildValue((char *)"");
19271 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19275 wxString
*arg3
= 0 ;
19276 wxBitmap
*arg4
= 0 ;
19277 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19278 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19279 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19280 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19281 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19282 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19283 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19284 PyObject
*arg9
= (PyObject
*) NULL
;
19285 wxToolBarToolBase
*result
;
19286 bool temp3
= false ;
19287 bool temp7
= false ;
19288 bool temp8
= false ;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 PyObject
* obj2
= 0 ;
19292 PyObject
* obj3
= 0 ;
19293 PyObject
* obj4
= 0 ;
19294 PyObject
* obj5
= 0 ;
19295 PyObject
* obj6
= 0 ;
19296 PyObject
* obj7
= 0 ;
19297 PyObject
* obj8
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19304 if (SWIG_arg_fail(1)) SWIG_fail
;
19306 arg2
= (int)(SWIG_As_int(obj1
));
19307 if (SWIG_arg_fail(2)) SWIG_fail
;
19310 arg3
= wxString_in_helper(obj2
);
19311 if (arg3
== NULL
) SWIG_fail
;
19315 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19316 if (SWIG_arg_fail(4)) SWIG_fail
;
19317 if (arg4
== NULL
) {
19318 SWIG_null_ref("wxBitmap");
19320 if (SWIG_arg_fail(4)) SWIG_fail
;
19324 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19325 if (SWIG_arg_fail(5)) SWIG_fail
;
19326 if (arg5
== NULL
) {
19327 SWIG_null_ref("wxBitmap");
19329 if (SWIG_arg_fail(5)) SWIG_fail
;
19334 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19335 if (SWIG_arg_fail(6)) SWIG_fail
;
19340 arg7
= wxString_in_helper(obj6
);
19341 if (arg7
== NULL
) SWIG_fail
;
19347 arg8
= wxString_in_helper(obj7
);
19348 if (arg8
== NULL
) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19363 resultobj
= wxPyMake_wxObject(result
, 0);
19395 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19400 wxString
*arg4
= 0 ;
19401 wxBitmap
*arg5
= 0 ;
19402 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19403 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19404 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19405 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19406 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19407 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19408 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19409 PyObject
*arg10
= (PyObject
*) NULL
;
19410 wxToolBarToolBase
*result
;
19411 bool temp4
= false ;
19412 bool temp8
= false ;
19413 bool temp9
= false ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 PyObject
* obj2
= 0 ;
19417 PyObject
* obj3
= 0 ;
19418 PyObject
* obj4
= 0 ;
19419 PyObject
* obj5
= 0 ;
19420 PyObject
* obj6
= 0 ;
19421 PyObject
* obj7
= 0 ;
19422 PyObject
* obj8
= 0 ;
19423 PyObject
* obj9
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19430 if (SWIG_arg_fail(1)) SWIG_fail
;
19432 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19433 if (SWIG_arg_fail(2)) SWIG_fail
;
19436 arg3
= (int)(SWIG_As_int(obj2
));
19437 if (SWIG_arg_fail(3)) SWIG_fail
;
19440 arg4
= wxString_in_helper(obj3
);
19441 if (arg4
== NULL
) SWIG_fail
;
19445 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19446 if (SWIG_arg_fail(5)) SWIG_fail
;
19447 if (arg5
== NULL
) {
19448 SWIG_null_ref("wxBitmap");
19450 if (SWIG_arg_fail(5)) SWIG_fail
;
19454 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19455 if (SWIG_arg_fail(6)) SWIG_fail
;
19456 if (arg6
== NULL
) {
19457 SWIG_null_ref("wxBitmap");
19459 if (SWIG_arg_fail(6)) SWIG_fail
;
19464 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19465 if (SWIG_arg_fail(7)) SWIG_fail
;
19470 arg8
= wxString_in_helper(obj7
);
19471 if (arg8
== NULL
) SWIG_fail
;
19477 arg9
= wxString_in_helper(obj8
);
19478 if (arg9
== NULL
) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 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
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= wxPyMake_wxObject(result
, 0);
19525 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19528 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19529 wxToolBarToolBase
*result
;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self",(char *) "tool", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19538 if (SWIG_arg_fail(1)) SWIG_fail
;
19539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19540 if (SWIG_arg_fail(2)) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= wxPyMake_wxObject(result
, 0);
19557 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19561 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19562 wxToolBarToolBase
*result
;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 PyObject
* obj2
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self",(char *) "pos",(char *) "tool", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19572 if (SWIG_arg_fail(1)) SWIG_fail
;
19574 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19575 if (SWIG_arg_fail(2)) SWIG_fail
;
19577 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19578 if (SWIG_arg_fail(3)) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= wxPyMake_wxObject(result
, 0);
19595 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
;
19597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19598 wxControl
*arg2
= (wxControl
*) 0 ;
19599 wxToolBarToolBase
*result
;
19600 PyObject
* obj0
= 0 ;
19601 PyObject
* obj1
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self",(char *) "control", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19608 if (SWIG_arg_fail(1)) SWIG_fail
;
19609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19610 if (SWIG_arg_fail(2)) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= wxPyMake_wxObject(result
, 0);
19627 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19631 wxControl
*arg3
= (wxControl
*) 0 ;
19632 wxToolBarToolBase
*result
;
19633 PyObject
* obj0
= 0 ;
19634 PyObject
* obj1
= 0 ;
19635 PyObject
* obj2
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self",(char *) "pos",(char *) "control", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19642 if (SWIG_arg_fail(1)) SWIG_fail
;
19644 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19645 if (SWIG_arg_fail(2)) SWIG_fail
;
19647 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19648 if (SWIG_arg_fail(3)) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= wxPyMake_wxObject(result
, 0);
19665 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self",(char *) "id", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19678 if (SWIG_arg_fail(1)) SWIG_fail
;
19680 arg2
= (int)(SWIG_As_int(obj1
));
19681 if (SWIG_arg_fail(2)) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= wxPyMake_wxObject(result
, 0);
19699 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19702 wxToolBarToolBase
*result
;
19703 PyObject
* obj0
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19710 if (SWIG_arg_fail(1)) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= wxPyMake_wxObject(result
, 0);
19727 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19731 wxToolBarToolBase
*result
;
19732 PyObject
* obj0
= 0 ;
19733 PyObject
* obj1
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self",(char *) "pos", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19740 if (SWIG_arg_fail(1)) SWIG_fail
;
19742 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19743 if (SWIG_arg_fail(2)) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= wxPyMake_wxObject(result
, 0);
19761 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19765 wxToolBarToolBase
*result
;
19766 PyObject
* obj0
= 0 ;
19767 PyObject
* obj1
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self",(char *) "id", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19774 if (SWIG_arg_fail(1)) SWIG_fail
;
19776 arg2
= (int)(SWIG_As_int(obj1
));
19777 if (SWIG_arg_fail(2)) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= wxPyMake_wxObject(result
, 0);
19795 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 PyObject
* obj1
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self",(char *) "pos", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail
;
19810 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19811 if (SWIG_arg_fail(2)) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19829 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self",(char *) "id", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19842 if (SWIG_arg_fail(1)) SWIG_fail
;
19844 arg2
= (int)(SWIG_As_int(obj1
));
19845 if (SWIG_arg_fail(2)) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= (bool)(arg1
)->DeleteTool(arg2
);
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19863 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19866 PyObject
* obj0
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19873 if (SWIG_arg_fail(1)) SWIG_fail
;
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 (arg1
)->ClearTools();
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 Py_INCREF(Py_None
); resultobj
= Py_None
;
19888 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19899 if (SWIG_arg_fail(1)) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 result
= (bool)(arg1
)->Realize();
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19916 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19923 PyObject
* obj2
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self",(char *) "id",(char *) "enable", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19930 if (SWIG_arg_fail(1)) SWIG_fail
;
19932 arg2
= (int)(SWIG_As_int(obj1
));
19933 if (SWIG_arg_fail(2)) SWIG_fail
;
19936 arg3
= (bool)(SWIG_As_bool(obj2
));
19937 if (SWIG_arg_fail(3)) SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 (arg1
)->EnableTool(arg2
,arg3
);
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 Py_INCREF(Py_None
); resultobj
= Py_None
;
19953 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19960 PyObject
* obj2
= 0 ;
19961 char *kwnames
[] = {
19962 (char *) "self",(char *) "id",(char *) "toggle", NULL
19965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19967 if (SWIG_arg_fail(1)) SWIG_fail
;
19969 arg2
= (int)(SWIG_As_int(obj1
));
19970 if (SWIG_arg_fail(2)) SWIG_fail
;
19973 arg3
= (bool)(SWIG_As_bool(obj2
));
19974 if (SWIG_arg_fail(3)) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 (arg1
)->ToggleTool(arg2
,arg3
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 Py_INCREF(Py_None
); resultobj
= Py_None
;
19990 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 PyObject
* obj2
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self",(char *) "id",(char *) "toggle", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20004 if (SWIG_arg_fail(1)) SWIG_fail
;
20006 arg2
= (int)(SWIG_As_int(obj1
));
20007 if (SWIG_arg_fail(2)) SWIG_fail
;
20010 arg3
= (bool)(SWIG_As_bool(obj2
));
20011 if (SWIG_arg_fail(3)) SWIG_fail
;
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 (arg1
)->SetToggle(arg2
,arg3
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 Py_INCREF(Py_None
); resultobj
= Py_None
;
20027 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "self",(char *) "id", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20040 if (SWIG_arg_fail(1)) SWIG_fail
;
20042 arg2
= (int)(SWIG_As_int(obj1
));
20043 if (SWIG_arg_fail(2)) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= result
;
20059 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20063 PyObject
*arg3
= (PyObject
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 PyObject
* obj1
= 0 ;
20066 PyObject
* obj2
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self",(char *) "id",(char *) "clientData", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail
;
20075 arg2
= (int)(SWIG_As_int(obj1
));
20076 if (SWIG_arg_fail(2)) SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 Py_INCREF(Py_None
); resultobj
= Py_None
;
20093 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self",(char *) "id", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20106 if (SWIG_arg_fail(1)) SWIG_fail
;
20108 arg2
= (int)(SWIG_As_int(obj1
));
20109 if (SWIG_arg_fail(2)) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20119 resultobj
= SWIG_From_int((int)(result
));
20127 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20132 PyObject
* obj0
= 0 ;
20133 PyObject
* obj1
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self",(char *) "id", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20140 if (SWIG_arg_fail(1)) SWIG_fail
;
20142 arg2
= (int)(SWIG_As_int(obj1
));
20143 if (SWIG_arg_fail(2)) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 result
= (bool)(arg1
)->GetToolState(arg2
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20161 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self",(char *) "id", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20174 if (SWIG_arg_fail(1)) SWIG_fail
;
20176 arg2
= (int)(SWIG_As_int(obj1
));
20177 if (SWIG_arg_fail(2)) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20195 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20199 wxString
*arg3
= 0 ;
20200 bool temp3
= false ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 PyObject
* obj2
= 0 ;
20204 char *kwnames
[] = {
20205 (char *) "self",(char *) "id",(char *) "helpString", NULL
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20210 if (SWIG_arg_fail(1)) SWIG_fail
;
20212 arg2
= (int)(SWIG_As_int(obj1
));
20213 if (SWIG_arg_fail(2)) SWIG_fail
;
20216 arg3
= wxString_in_helper(obj2
);
20217 if (arg3
== NULL
) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 Py_INCREF(Py_None
); resultobj
= Py_None
;
20242 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 PyObject
* obj1
= 0 ;
20249 char *kwnames
[] = {
20250 (char *) "self",(char *) "id", NULL
20253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20255 if (SWIG_arg_fail(1)) SWIG_fail
;
20257 arg2
= (int)(SWIG_As_int(obj1
));
20258 if (SWIG_arg_fail(2)) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 result
= (arg1
)->GetToolShortHelp(arg2
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20280 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20284 wxString
*arg3
= 0 ;
20285 bool temp3
= false ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 PyObject
* obj2
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self",(char *) "id",(char *) "helpString", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20295 if (SWIG_arg_fail(1)) SWIG_fail
;
20297 arg2
= (int)(SWIG_As_int(obj1
));
20298 if (SWIG_arg_fail(2)) SWIG_fail
;
20301 arg3
= wxString_in_helper(obj2
);
20302 if (arg3
== NULL
) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 Py_INCREF(Py_None
); resultobj
= Py_None
;
20327 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
;
20329 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20332 PyObject
* obj0
= 0 ;
20333 PyObject
* obj1
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self",(char *) "id", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20340 if (SWIG_arg_fail(1)) SWIG_fail
;
20342 arg2
= (int)(SWIG_As_int(obj1
));
20343 if (SWIG_arg_fail(2)) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (arg1
)->GetToolLongHelp(arg2
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20365 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 PyObject
* obj2
= 0 ;
20373 char *kwnames
[] = {
20374 (char *) "self",(char *) "x",(char *) "y", NULL
20377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20379 if (SWIG_arg_fail(1)) SWIG_fail
;
20381 arg2
= (int)(SWIG_As_int(obj1
));
20382 if (SWIG_arg_fail(2)) SWIG_fail
;
20385 arg3
= (int)(SWIG_As_int(obj2
));
20386 if (SWIG_arg_fail(3)) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 (arg1
)->SetMargins(arg2
,arg3
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 Py_INCREF(Py_None
); resultobj
= Py_None
;
20402 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20407 PyObject
* obj0
= 0 ;
20408 PyObject
* obj1
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self",(char *) "size", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20415 if (SWIG_arg_fail(1)) SWIG_fail
;
20418 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 Py_INCREF(Py_None
); resultobj
= Py_None
;
20434 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self",(char *) "packing", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20446 if (SWIG_arg_fail(1)) SWIG_fail
;
20448 arg2
= (int)(SWIG_As_int(obj1
));
20449 if (SWIG_arg_fail(2)) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 (arg1
)->SetToolPacking(arg2
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 Py_INCREF(Py_None
); resultobj
= Py_None
;
20465 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self",(char *) "separation", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20477 if (SWIG_arg_fail(1)) SWIG_fail
;
20479 arg2
= (int)(SWIG_As_int(obj1
));
20480 if (SWIG_arg_fail(2)) SWIG_fail
;
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 (arg1
)->SetToolSeparation(arg2
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 Py_INCREF(Py_None
); resultobj
= Py_None
;
20496 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20500 PyObject
* obj0
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20507 if (SWIG_arg_fail(1)) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 result
= (arg1
)->GetToolMargins();
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20516 wxSize
* resultptr
;
20517 resultptr
= new wxSize((wxSize
&)(result
));
20518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20526 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20537 if (SWIG_arg_fail(1)) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= (arg1
)->GetMargins();
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 wxSize
* resultptr
;
20547 resultptr
= new wxSize((wxSize
&)(result
));
20548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20556 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20567 if (SWIG_arg_fail(1)) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (int)(arg1
)->GetToolPacking();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= SWIG_From_int((int)(result
));
20584 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20595 if (SWIG_arg_fail(1)) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (int)(arg1
)->GetToolSeparation();
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_From_int((int)(result
));
20612 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self",(char *) "nRows", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20624 if (SWIG_arg_fail(1)) SWIG_fail
;
20626 arg2
= (int)(SWIG_As_int(obj1
));
20627 if (SWIG_arg_fail(2)) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 (arg1
)->SetRows(arg2
);
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 Py_INCREF(Py_None
); resultobj
= Py_None
;
20643 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
;
20645 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 PyObject
* obj1
= 0 ;
20650 PyObject
* obj2
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self",(char *) "rows",(char *) "cols", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20657 if (SWIG_arg_fail(1)) SWIG_fail
;
20659 arg2
= (int)(SWIG_As_int(obj1
));
20660 if (SWIG_arg_fail(2)) SWIG_fail
;
20663 arg3
= (int)(SWIG_As_int(obj2
));
20664 if (SWIG_arg_fail(3)) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 Py_INCREF(Py_None
); resultobj
= Py_None
;
20680 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20691 if (SWIG_arg_fail(1)) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= (int)(arg1
)->GetMaxRows();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_From_int((int)(result
));
20708 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20712 PyObject
* obj0
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20719 if (SWIG_arg_fail(1)) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 result
= (int)(arg1
)->GetMaxCols();
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_From_int((int)(result
));
20736 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self",(char *) "size", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20749 if (SWIG_arg_fail(1)) SWIG_fail
;
20752 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 Py_INCREF(Py_None
); resultobj
= Py_None
;
20768 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20772 PyObject
* obj0
= 0 ;
20773 char *kwnames
[] = {
20774 (char *) "self", NULL
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20779 if (SWIG_arg_fail(1)) SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= (arg1
)->GetToolBitmapSize();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20788 wxSize
* resultptr
;
20789 resultptr
= new wxSize((wxSize
&)(result
));
20790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20798 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20800 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20802 PyObject
* obj0
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20809 if (SWIG_arg_fail(1)) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 result
= (arg1
)->GetToolSize();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20818 wxSize
* resultptr
;
20819 resultptr
= new wxSize((wxSize
&)(result
));
20820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20828 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20833 wxToolBarToolBase
*result
;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 PyObject
* obj2
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "self",(char *) "x",(char *) "y", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20843 if (SWIG_arg_fail(1)) SWIG_fail
;
20845 arg2
= (int)(SWIG_As_int(obj1
));
20846 if (SWIG_arg_fail(2)) SWIG_fail
;
20849 arg3
= (int)(SWIG_As_int(obj2
));
20850 if (SWIG_arg_fail(3)) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= wxPyMake_wxObject(result
, 0);
20868 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20872 wxToolBarToolBase
*result
;
20873 PyObject
* obj0
= 0 ;
20874 PyObject
* obj1
= 0 ;
20875 char *kwnames
[] = {
20876 (char *) "self",(char *) "toolid", NULL
20879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20881 if (SWIG_arg_fail(1)) SWIG_fail
;
20883 arg2
= (int)(SWIG_As_int(obj1
));
20884 if (SWIG_arg_fail(2)) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= wxPyMake_wxObject(result
, 0);
20902 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
;
20904 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20913 if (SWIG_arg_fail(1)) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (bool)(arg1
)->IsVertical();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20930 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20933 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20935 return Py_BuildValue((char *)"");
20937 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxWindow
*arg1
= (wxWindow
*) 0 ;
20940 int arg2
= (int) -1 ;
20941 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20942 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20943 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20944 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20945 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20946 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20947 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20951 bool temp6
= false ;
20952 PyObject
* obj0
= 0 ;
20953 PyObject
* obj1
= 0 ;
20954 PyObject
* obj2
= 0 ;
20955 PyObject
* obj3
= 0 ;
20956 PyObject
* obj4
= 0 ;
20957 PyObject
* obj5
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20964 if (SWIG_arg_fail(1)) SWIG_fail
;
20967 arg2
= (int)(SWIG_As_int(obj1
));
20968 if (SWIG_arg_fail(2)) SWIG_fail
;
20974 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20980 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20985 arg5
= (long)(SWIG_As_long(obj4
));
20986 if (SWIG_arg_fail(5)) SWIG_fail
;
20991 arg6
= wxString_in_helper(obj5
);
20992 if (arg6
== NULL
) SWIG_fail
;
20997 if (!wxPyCheckForApp()) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21019 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
;
21022 char *kwnames
[] = {
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21028 if (!wxPyCheckForApp()) SWIG_fail
;
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 result
= (wxToolBar
*)new wxToolBar();
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21042 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21045 wxWindow
*arg2
= (wxWindow
*) 0 ;
21046 int arg3
= (int) -1 ;
21047 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21048 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21049 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21050 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21051 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21052 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21053 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21057 bool temp7
= false ;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 PyObject
* obj2
= 0 ;
21061 PyObject
* obj3
= 0 ;
21062 PyObject
* obj4
= 0 ;
21063 PyObject
* obj5
= 0 ;
21064 PyObject
* obj6
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21071 if (SWIG_arg_fail(1)) SWIG_fail
;
21072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21073 if (SWIG_arg_fail(2)) SWIG_fail
;
21076 arg3
= (int)(SWIG_As_int(obj2
));
21077 if (SWIG_arg_fail(3)) SWIG_fail
;
21083 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21089 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21094 arg6
= (long)(SWIG_As_long(obj5
));
21095 if (SWIG_arg_fail(6)) SWIG_fail
;
21100 arg7
= wxString_in_helper(obj6
);
21101 if (arg7
== NULL
) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21129 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21134 wxToolBarToolBase
*result
;
21135 PyObject
* obj0
= 0 ;
21136 PyObject
* obj1
= 0 ;
21137 PyObject
* obj2
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self",(char *) "x",(char *) "y", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21144 if (SWIG_arg_fail(1)) SWIG_fail
;
21146 arg2
= (int)(SWIG_As_int(obj1
));
21147 if (SWIG_arg_fail(2)) SWIG_fail
;
21150 arg3
= (int)(SWIG_As_int(obj2
));
21151 if (SWIG_arg_fail(3)) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21161 resultobj
= wxPyMake_wxObject(result
, 0);
21169 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21170 PyObject
*resultobj
;
21171 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21172 wxVisualAttributes result
;
21173 PyObject
* obj0
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "variant", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21181 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21182 if (SWIG_arg_fail(1)) SWIG_fail
;
21186 if (!wxPyCheckForApp()) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21194 wxVisualAttributes
* resultptr
;
21195 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21204 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21207 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21209 return Py_BuildValue((char *)"");
21211 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21212 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21217 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21222 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21224 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21231 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21233 wxColour
const &arg1_defvalue
= wxNullColour
;
21234 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21235 wxColour
const &arg2_defvalue
= wxNullColour
;
21236 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21237 wxFont
const &arg3_defvalue
= wxNullFont
;
21238 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21239 wxListItemAttr
*result
;
21242 PyObject
* obj0
= 0 ;
21243 PyObject
* obj1
= 0 ;
21244 PyObject
* obj2
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21253 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21259 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21264 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21265 if (SWIG_arg_fail(3)) SWIG_fail
;
21266 if (arg3
== NULL
) {
21267 SWIG_null_ref("wxFont");
21269 if (SWIG_arg_fail(3)) SWIG_fail
;
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21286 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21289 wxColour
*arg2
= 0 ;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "self",(char *) "colText", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21299 if (SWIG_arg_fail(1)) SWIG_fail
;
21302 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 Py_INCREF(Py_None
); resultobj
= Py_None
;
21318 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21320 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21321 wxColour
*arg2
= 0 ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self",(char *) "colBack", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21331 if (SWIG_arg_fail(1)) SWIG_fail
;
21334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 Py_INCREF(Py_None
); resultobj
= Py_None
;
21350 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21352 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self",(char *) "font", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21362 if (SWIG_arg_fail(1)) SWIG_fail
;
21364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21365 if (SWIG_arg_fail(2)) SWIG_fail
;
21366 if (arg2
== NULL
) {
21367 SWIG_null_ref("wxFont");
21369 if (SWIG_arg_fail(2)) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 (arg1
)->SetFont((wxFont
const &)*arg2
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 Py_INCREF(Py_None
); resultobj
= Py_None
;
21385 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
;
21387 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 char *kwnames
[] = {
21391 (char *) "self", NULL
21394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21396 if (SWIG_arg_fail(1)) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (bool)(arg1
)->HasTextColour();
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21413 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21417 PyObject
* obj0
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (bool)(arg1
)->HasBackgroundColour();
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21441 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
;
21443 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 char *kwnames
[] = {
21447 (char *) "self", NULL
21450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21452 if (SWIG_arg_fail(1)) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (bool)(arg1
)->HasFont();
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21469 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21480 if (SWIG_arg_fail(1)) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (arg1
)->GetTextColour();
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21489 wxColour
* resultptr
;
21490 resultptr
= new wxColour((wxColour
&)(result
));
21491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21499 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21503 PyObject
* obj0
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21510 if (SWIG_arg_fail(1)) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (arg1
)->GetBackgroundColour();
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21519 wxColour
* resultptr
;
21520 resultptr
= new wxColour((wxColour
&)(result
));
21521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21529 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21533 PyObject
* obj0
= 0 ;
21534 char *kwnames
[] = {
21535 (char *) "self", NULL
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21540 if (SWIG_arg_fail(1)) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (arg1
)->GetFont();
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21549 wxFont
* resultptr
;
21550 resultptr
= new wxFont((wxFont
&)(result
));
21551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21559 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21562 PyObject
* obj0
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "self", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21569 if (SWIG_arg_fail(1)) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 wxListItemAttr_Destroy(arg1
);
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 Py_INCREF(Py_None
); resultobj
= Py_None
;
21584 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21587 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21589 return Py_BuildValue((char *)"");
21591 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxListItem
*result
;
21594 char *kwnames
[] = {
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= (wxListItem
*)new wxListItem();
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= wxPyMake_wxObject(result
, 1);
21615 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxListItem
*arg1
= (wxListItem
*) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 Py_INCREF(Py_None
); resultobj
= Py_None
;
21640 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxListItem
*arg1
= (wxListItem
*) 0 ;
21643 PyObject
* obj0
= 0 ;
21644 char *kwnames
[] = {
21645 (char *) "self", NULL
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21650 if (SWIG_arg_fail(1)) SWIG_fail
;
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 Py_INCREF(Py_None
); resultobj
= Py_None
;
21665 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21666 PyObject
*resultobj
;
21667 wxListItem
*arg1
= (wxListItem
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21675 if (SWIG_arg_fail(1)) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 (arg1
)->ClearAttributes();
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 Py_INCREF(Py_None
); resultobj
= Py_None
;
21690 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
;
21692 wxListItem
*arg1
= (wxListItem
*) 0 ;
21694 PyObject
* obj0
= 0 ;
21695 PyObject
* obj1
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self",(char *) "mask", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21702 if (SWIG_arg_fail(1)) SWIG_fail
;
21704 arg2
= (long)(SWIG_As_long(obj1
));
21705 if (SWIG_arg_fail(2)) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 (arg1
)->SetMask(arg2
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 Py_INCREF(Py_None
); resultobj
= Py_None
;
21721 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxListItem
*arg1
= (wxListItem
*) 0 ;
21725 PyObject
* obj0
= 0 ;
21726 PyObject
* obj1
= 0 ;
21727 char *kwnames
[] = {
21728 (char *) "self",(char *) "id", NULL
21731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21733 if (SWIG_arg_fail(1)) SWIG_fail
;
21735 arg2
= (long)(SWIG_As_long(obj1
));
21736 if (SWIG_arg_fail(2)) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 (arg1
)->SetId(arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 Py_INCREF(Py_None
); resultobj
= Py_None
;
21752 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxListItem
*arg1
= (wxListItem
*) 0 ;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self",(char *) "col", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21764 if (SWIG_arg_fail(1)) SWIG_fail
;
21766 arg2
= (int)(SWIG_As_int(obj1
));
21767 if (SWIG_arg_fail(2)) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 (arg1
)->SetColumn(arg2
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 Py_INCREF(Py_None
); resultobj
= Py_None
;
21783 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxListItem
*arg1
= (wxListItem
*) 0 ;
21787 PyObject
* obj0
= 0 ;
21788 PyObject
* obj1
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self",(char *) "state", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21795 if (SWIG_arg_fail(1)) SWIG_fail
;
21797 arg2
= (long)(SWIG_As_long(obj1
));
21798 if (SWIG_arg_fail(2)) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 (arg1
)->SetState(arg2
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 Py_INCREF(Py_None
); resultobj
= Py_None
;
21814 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxListItem
*arg1
= (wxListItem
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 PyObject
* obj1
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self",(char *) "stateMask", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21826 if (SWIG_arg_fail(1)) SWIG_fail
;
21828 arg2
= (long)(SWIG_As_long(obj1
));
21829 if (SWIG_arg_fail(2)) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->SetStateMask(arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 Py_INCREF(Py_None
); resultobj
= Py_None
;
21845 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxListItem
*arg1
= (wxListItem
*) 0 ;
21848 wxString
*arg2
= 0 ;
21849 bool temp2
= false ;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 char *kwnames
[] = {
21853 (char *) "self",(char *) "text", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21858 if (SWIG_arg_fail(1)) SWIG_fail
;
21860 arg2
= wxString_in_helper(obj1
);
21861 if (arg2
== NULL
) SWIG_fail
;
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 (arg1
)->SetText((wxString
const &)*arg2
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 Py_INCREF(Py_None
); resultobj
= Py_None
;
21886 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
;
21888 wxListItem
*arg1
= (wxListItem
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self",(char *) "image", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21898 if (SWIG_arg_fail(1)) SWIG_fail
;
21900 arg2
= (int)(SWIG_As_int(obj1
));
21901 if (SWIG_arg_fail(2)) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 (arg1
)->SetImage(arg2
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21910 Py_INCREF(Py_None
); resultobj
= Py_None
;
21917 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxListItem
*arg1
= (wxListItem
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "self",(char *) "data", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21929 if (SWIG_arg_fail(1)) SWIG_fail
;
21931 arg2
= (long)(SWIG_As_long(obj1
));
21932 if (SWIG_arg_fail(2)) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 (arg1
)->SetData(arg2
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 Py_INCREF(Py_None
); resultobj
= Py_None
;
21948 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxListItem
*arg1
= (wxListItem
*) 0 ;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 char *kwnames
[] = {
21955 (char *) "self",(char *) "width", NULL
21958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21960 if (SWIG_arg_fail(1)) SWIG_fail
;
21962 arg2
= (int)(SWIG_As_int(obj1
));
21963 if (SWIG_arg_fail(2)) SWIG_fail
;
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 (arg1
)->SetWidth(arg2
);
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21972 Py_INCREF(Py_None
); resultobj
= Py_None
;
21979 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxListItem
*arg1
= (wxListItem
*) 0 ;
21982 wxListColumnFormat arg2
;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self",(char *) "align", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
21990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21991 if (SWIG_arg_fail(1)) SWIG_fail
;
21993 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
21994 if (SWIG_arg_fail(2)) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 Py_INCREF(Py_None
); resultobj
= Py_None
;
22010 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxListItem
*arg1
= (wxListItem
*) 0 ;
22013 wxColour
*arg2
= 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "colText", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22023 if (SWIG_arg_fail(1)) SWIG_fail
;
22026 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 Py_INCREF(Py_None
); resultobj
= Py_None
;
22042 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxListItem
*arg1
= (wxListItem
*) 0 ;
22045 wxColour
*arg2
= 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "colBack", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail
;
22058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22067 Py_INCREF(Py_None
); resultobj
= Py_None
;
22074 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22075 PyObject
*resultobj
;
22076 wxListItem
*arg1
= (wxListItem
*) 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "font", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail
;
22088 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22089 if (SWIG_arg_fail(2)) SWIG_fail
;
22090 if (arg2
== NULL
) {
22091 SWIG_null_ref("wxFont");
22093 if (SWIG_arg_fail(2)) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 (arg1
)->SetFont((wxFont
const &)*arg2
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 Py_INCREF(Py_None
); resultobj
= Py_None
;
22109 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxListItem
*arg1
= (wxListItem
*) 0 ;
22113 PyObject
* obj0
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "self", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22120 if (SWIG_arg_fail(1)) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (long)(arg1
)->GetMask();
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_From_long((long)(result
));
22137 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxListItem
*arg1
= (wxListItem
*) 0 ;
22141 PyObject
* obj0
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22148 if (SWIG_arg_fail(1)) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= (long)(arg1
)->GetId();
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= SWIG_From_long((long)(result
));
22165 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxListItem
*arg1
= (wxListItem
*) 0 ;
22169 PyObject
* obj0
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22176 if (SWIG_arg_fail(1)) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= (int)(arg1
)->GetColumn();
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= SWIG_From_int((int)(result
));
22193 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxListItem
*arg1
= (wxListItem
*) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 char *kwnames
[] = {
22199 (char *) "self", NULL
22202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22204 if (SWIG_arg_fail(1)) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (long)(arg1
)->GetState();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_From_long((long)(result
));
22221 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
;
22223 wxListItem
*arg1
= (wxListItem
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22232 if (SWIG_arg_fail(1)) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 wxString
const &_result_ref
= (arg1
)->GetText();
22237 result
= (wxString
*) &_result_ref
;
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22247 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22256 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxListItem
*arg1
= (wxListItem
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22267 if (SWIG_arg_fail(1)) SWIG_fail
;
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22270 result
= (int)(arg1
)->GetImage();
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= SWIG_From_int((int)(result
));
22284 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxListItem
*arg1
= (wxListItem
*) 0 ;
22288 PyObject
* obj0
= 0 ;
22289 char *kwnames
[] = {
22290 (char *) "self", NULL
22293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22295 if (SWIG_arg_fail(1)) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= (long)(arg1
)->GetData();
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22304 resultobj
= SWIG_From_long((long)(result
));
22312 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxListItem
*arg1
= (wxListItem
*) 0 ;
22316 PyObject
* obj0
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22323 if (SWIG_arg_fail(1)) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= (int)(arg1
)->GetWidth();
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= SWIG_From_int((int)(result
));
22340 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxListItem
*arg1
= (wxListItem
*) 0 ;
22343 wxListColumnFormat result
;
22344 PyObject
* obj0
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22351 if (SWIG_arg_fail(1)) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= SWIG_From_int((result
));
22366 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxListItem
*arg1
= (wxListItem
*) 0 ;
22369 wxListItemAttr
*result
;
22370 PyObject
* obj0
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22377 if (SWIG_arg_fail(1)) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22392 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22393 PyObject
*resultobj
;
22394 wxListItem
*arg1
= (wxListItem
*) 0 ;
22396 PyObject
* obj0
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22403 if (SWIG_arg_fail(1)) SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 result
= (bool)(arg1
)->HasAttributes();
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22420 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
;
22422 wxListItem
*arg1
= (wxListItem
*) 0 ;
22424 PyObject
* obj0
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22431 if (SWIG_arg_fail(1)) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22440 wxColour
* resultptr
;
22441 resultptr
= new wxColour((wxColour
&)(result
));
22442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22450 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxListItem
*arg1
= (wxListItem
*) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22461 if (SWIG_arg_fail(1)) SWIG_fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22470 wxColour
* resultptr
;
22471 resultptr
= new wxColour((wxColour
&)(result
));
22472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22480 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxListItem
*arg1
= (wxListItem
*) 0 ;
22484 PyObject
* obj0
= 0 ;
22485 char *kwnames
[] = {
22486 (char *) "self", NULL
22489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22491 if (SWIG_arg_fail(1)) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= ((wxListItem
const *)arg1
)->GetFont();
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22500 wxFont
* resultptr
;
22501 resultptr
= new wxFont((wxFont
&)(result
));
22502 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22510 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxListItem
*arg1
= (wxListItem
*) 0 ;
22514 PyObject
* obj0
= 0 ;
22515 PyObject
* obj1
= 0 ;
22516 char *kwnames
[] = {
22517 (char *) "self",(char *) "m_mask", NULL
22520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22522 if (SWIG_arg_fail(1)) SWIG_fail
;
22524 arg2
= (long)(SWIG_As_long(obj1
));
22525 if (SWIG_arg_fail(2)) SWIG_fail
;
22527 if (arg1
) (arg1
)->m_mask
= arg2
;
22529 Py_INCREF(Py_None
); resultobj
= Py_None
;
22536 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
;
22538 wxListItem
*arg1
= (wxListItem
*) 0 ;
22540 PyObject
* obj0
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "self", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22547 if (SWIG_arg_fail(1)) SWIG_fail
;
22548 result
= (long) ((arg1
)->m_mask
);
22551 resultobj
= SWIG_From_long((long)(result
));
22559 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
;
22561 wxListItem
*arg1
= (wxListItem
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self",(char *) "m_itemId", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22571 if (SWIG_arg_fail(1)) SWIG_fail
;
22573 arg2
= (long)(SWIG_As_long(obj1
));
22574 if (SWIG_arg_fail(2)) SWIG_fail
;
22576 if (arg1
) (arg1
)->m_itemId
= arg2
;
22578 Py_INCREF(Py_None
); resultobj
= Py_None
;
22585 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxListItem
*arg1
= (wxListItem
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22596 if (SWIG_arg_fail(1)) SWIG_fail
;
22597 result
= (long) ((arg1
)->m_itemId
);
22600 resultobj
= SWIG_From_long((long)(result
));
22608 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxListItem
*arg1
= (wxListItem
*) 0 ;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "self",(char *) "m_col", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22620 if (SWIG_arg_fail(1)) SWIG_fail
;
22622 arg2
= (int)(SWIG_As_int(obj1
));
22623 if (SWIG_arg_fail(2)) SWIG_fail
;
22625 if (arg1
) (arg1
)->m_col
= arg2
;
22627 Py_INCREF(Py_None
); resultobj
= Py_None
;
22634 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22635 PyObject
*resultobj
;
22636 wxListItem
*arg1
= (wxListItem
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22645 if (SWIG_arg_fail(1)) SWIG_fail
;
22646 result
= (int) ((arg1
)->m_col
);
22649 resultobj
= SWIG_From_int((int)(result
));
22657 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22658 PyObject
*resultobj
;
22659 wxListItem
*arg1
= (wxListItem
*) 0 ;
22661 PyObject
* obj0
= 0 ;
22662 PyObject
* obj1
= 0 ;
22663 char *kwnames
[] = {
22664 (char *) "self",(char *) "m_state", NULL
22667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22669 if (SWIG_arg_fail(1)) SWIG_fail
;
22671 arg2
= (long)(SWIG_As_long(obj1
));
22672 if (SWIG_arg_fail(2)) SWIG_fail
;
22674 if (arg1
) (arg1
)->m_state
= arg2
;
22676 Py_INCREF(Py_None
); resultobj
= Py_None
;
22683 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22685 wxListItem
*arg1
= (wxListItem
*) 0 ;
22687 PyObject
* obj0
= 0 ;
22688 char *kwnames
[] = {
22689 (char *) "self", NULL
22692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22694 if (SWIG_arg_fail(1)) SWIG_fail
;
22695 result
= (long) ((arg1
)->m_state
);
22698 resultobj
= SWIG_From_long((long)(result
));
22706 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22708 wxListItem
*arg1
= (wxListItem
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 PyObject
* obj1
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self",(char *) "m_stateMask", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22718 if (SWIG_arg_fail(1)) SWIG_fail
;
22720 arg2
= (long)(SWIG_As_long(obj1
));
22721 if (SWIG_arg_fail(2)) SWIG_fail
;
22723 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22725 Py_INCREF(Py_None
); resultobj
= Py_None
;
22732 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
;
22734 wxListItem
*arg1
= (wxListItem
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22743 if (SWIG_arg_fail(1)) SWIG_fail
;
22744 result
= (long) ((arg1
)->m_stateMask
);
22747 resultobj
= SWIG_From_long((long)(result
));
22755 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22756 PyObject
*resultobj
;
22757 wxListItem
*arg1
= (wxListItem
*) 0 ;
22758 wxString
*arg2
= (wxString
*) 0 ;
22759 bool temp2
= false ;
22760 PyObject
* obj0
= 0 ;
22761 PyObject
* obj1
= 0 ;
22762 char *kwnames
[] = {
22763 (char *) "self",(char *) "m_text", NULL
22766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22768 if (SWIG_arg_fail(1)) SWIG_fail
;
22770 arg2
= wxString_in_helper(obj1
);
22771 if (arg2
== NULL
) SWIG_fail
;
22774 if (arg1
) (arg1
)->m_text
= *arg2
;
22776 Py_INCREF(Py_None
); resultobj
= Py_None
;
22791 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxListItem
*arg1
= (wxListItem
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22802 if (SWIG_arg_fail(1)) SWIG_fail
;
22803 result
= (wxString
*)& ((arg1
)->m_text
);
22807 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22809 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22818 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
;
22820 wxListItem
*arg1
= (wxListItem
*) 0 ;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "self",(char *) "m_image", NULL
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22830 if (SWIG_arg_fail(1)) SWIG_fail
;
22832 arg2
= (int)(SWIG_As_int(obj1
));
22833 if (SWIG_arg_fail(2)) SWIG_fail
;
22835 if (arg1
) (arg1
)->m_image
= arg2
;
22837 Py_INCREF(Py_None
); resultobj
= Py_None
;
22844 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxListItem
*arg1
= (wxListItem
*) 0 ;
22848 PyObject
* obj0
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22855 if (SWIG_arg_fail(1)) SWIG_fail
;
22856 result
= (int) ((arg1
)->m_image
);
22859 resultobj
= SWIG_From_int((int)(result
));
22867 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxListItem
*arg1
= (wxListItem
*) 0 ;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self",(char *) "m_data", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22879 if (SWIG_arg_fail(1)) SWIG_fail
;
22881 arg2
= (long)(SWIG_As_long(obj1
));
22882 if (SWIG_arg_fail(2)) SWIG_fail
;
22884 if (arg1
) (arg1
)->m_data
= arg2
;
22886 Py_INCREF(Py_None
); resultobj
= Py_None
;
22893 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxListItem
*arg1
= (wxListItem
*) 0 ;
22897 PyObject
* obj0
= 0 ;
22898 char *kwnames
[] = {
22899 (char *) "self", NULL
22902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22904 if (SWIG_arg_fail(1)) SWIG_fail
;
22905 result
= (long) ((arg1
)->m_data
);
22908 resultobj
= SWIG_From_long((long)(result
));
22916 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxListItem
*arg1
= (wxListItem
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self",(char *) "m_format", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22928 if (SWIG_arg_fail(1)) SWIG_fail
;
22930 arg2
= (int)(SWIG_As_int(obj1
));
22931 if (SWIG_arg_fail(2)) SWIG_fail
;
22933 if (arg1
) (arg1
)->m_format
= arg2
;
22935 Py_INCREF(Py_None
); resultobj
= Py_None
;
22942 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxListItem
*arg1
= (wxListItem
*) 0 ;
22946 PyObject
* obj0
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22953 if (SWIG_arg_fail(1)) SWIG_fail
;
22954 result
= (int) ((arg1
)->m_format
);
22957 resultobj
= SWIG_From_int((int)(result
));
22965 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxListItem
*arg1
= (wxListItem
*) 0 ;
22969 PyObject
* obj0
= 0 ;
22970 PyObject
* obj1
= 0 ;
22971 char *kwnames
[] = {
22972 (char *) "self",(char *) "m_width", NULL
22975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22977 if (SWIG_arg_fail(1)) SWIG_fail
;
22979 arg2
= (int)(SWIG_As_int(obj1
));
22980 if (SWIG_arg_fail(2)) SWIG_fail
;
22982 if (arg1
) (arg1
)->m_width
= arg2
;
22984 Py_INCREF(Py_None
); resultobj
= Py_None
;
22991 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxListItem
*arg1
= (wxListItem
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23002 if (SWIG_arg_fail(1)) SWIG_fail
;
23003 result
= (int) ((arg1
)->m_width
);
23006 resultobj
= SWIG_From_int((int)(result
));
23014 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23017 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23019 return Py_BuildValue((char *)"");
23021 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23024 int arg2
= (int) 0 ;
23025 wxListEvent
*result
;
23026 PyObject
* obj0
= 0 ;
23027 PyObject
* obj1
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "commandType",(char *) "id", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23035 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23036 if (SWIG_arg_fail(1)) SWIG_fail
;
23041 arg2
= (int)(SWIG_As_int(obj1
));
23042 if (SWIG_arg_fail(2)) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23059 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
;
23061 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23063 PyObject
* obj0
= 0 ;
23064 PyObject
* obj1
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self",(char *) "m_code", NULL
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23071 if (SWIG_arg_fail(1)) SWIG_fail
;
23073 arg2
= (int)(SWIG_As_int(obj1
));
23074 if (SWIG_arg_fail(2)) SWIG_fail
;
23076 if (arg1
) (arg1
)->m_code
= arg2
;
23078 Py_INCREF(Py_None
); resultobj
= Py_None
;
23085 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
;
23087 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23089 PyObject
* obj0
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23096 if (SWIG_arg_fail(1)) SWIG_fail
;
23097 result
= (int) ((arg1
)->m_code
);
23100 resultobj
= SWIG_From_int((int)(result
));
23108 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23112 PyObject
* obj0
= 0 ;
23113 PyObject
* obj1
= 0 ;
23114 char *kwnames
[] = {
23115 (char *) "self",(char *) "m_oldItemIndex", NULL
23118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23120 if (SWIG_arg_fail(1)) SWIG_fail
;
23122 arg2
= (long)(SWIG_As_long(obj1
));
23123 if (SWIG_arg_fail(2)) SWIG_fail
;
23125 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23127 Py_INCREF(Py_None
); resultobj
= Py_None
;
23134 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23145 if (SWIG_arg_fail(1)) SWIG_fail
;
23146 result
= (long) ((arg1
)->m_oldItemIndex
);
23149 resultobj
= SWIG_From_long((long)(result
));
23157 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self",(char *) "m_itemIndex", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23169 if (SWIG_arg_fail(1)) SWIG_fail
;
23171 arg2
= (long)(SWIG_As_long(obj1
));
23172 if (SWIG_arg_fail(2)) SWIG_fail
;
23174 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23176 Py_INCREF(Py_None
); resultobj
= Py_None
;
23183 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23185 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23187 PyObject
* obj0
= 0 ;
23188 char *kwnames
[] = {
23189 (char *) "self", NULL
23192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23194 if (SWIG_arg_fail(1)) SWIG_fail
;
23195 result
= (long) ((arg1
)->m_itemIndex
);
23198 resultobj
= SWIG_From_long((long)(result
));
23206 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
;
23208 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23210 PyObject
* obj0
= 0 ;
23211 PyObject
* obj1
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "self",(char *) "m_col", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23218 if (SWIG_arg_fail(1)) SWIG_fail
;
23220 arg2
= (int)(SWIG_As_int(obj1
));
23221 if (SWIG_arg_fail(2)) SWIG_fail
;
23223 if (arg1
) (arg1
)->m_col
= arg2
;
23225 Py_INCREF(Py_None
); resultobj
= Py_None
;
23232 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23236 PyObject
* obj0
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23243 if (SWIG_arg_fail(1)) SWIG_fail
;
23244 result
= (int) ((arg1
)->m_col
);
23247 resultobj
= SWIG_From_int((int)(result
));
23255 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
;
23257 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23258 wxPoint
*arg2
= (wxPoint
*) 0 ;
23259 PyObject
* obj0
= 0 ;
23260 PyObject
* obj1
= 0 ;
23261 char *kwnames
[] = {
23262 (char *) "self",(char *) "m_pointDrag", NULL
23265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23267 if (SWIG_arg_fail(1)) SWIG_fail
;
23268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23269 if (SWIG_arg_fail(2)) SWIG_fail
;
23270 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
23289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23290 if (SWIG_arg_fail(1)) SWIG_fail
;
23291 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23300 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23302 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23303 wxListItem
*result
;
23304 PyObject
* obj0
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail
;
23312 result
= (wxListItem
*)& ((arg1
)->m_item
);
23315 resultobj
= wxPyMake_wxObject(result
, 0);
23323 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
;
23325 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23327 PyObject
* obj0
= 0 ;
23328 char *kwnames
[] = {
23329 (char *) "self", NULL
23332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23334 if (SWIG_arg_fail(1)) SWIG_fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 result
= (int)(arg1
)->GetKeyCode();
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= SWIG_From_int((int)(result
));
23351 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
;
23353 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23355 PyObject
* obj0
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23362 if (SWIG_arg_fail(1)) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (long)(arg1
)->GetIndex();
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= SWIG_From_long((long)(result
));
23379 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23383 PyObject
* obj0
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self", NULL
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23390 if (SWIG_arg_fail(1)) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 result
= (int)(arg1
)->GetColumn();
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= SWIG_From_int((int)(result
));
23407 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23411 PyObject
* obj0
= 0 ;
23412 char *kwnames
[] = {
23413 (char *) "self", NULL
23416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23418 if (SWIG_arg_fail(1)) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 result
= (arg1
)->GetPoint();
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23427 wxPoint
* resultptr
;
23428 resultptr
= new wxPoint((wxPoint
&)(result
));
23429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23437 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23448 if (SWIG_arg_fail(1)) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 wxString
const &_result_ref
= (arg1
)->GetLabel();
23453 result
= (wxString
*) &_result_ref
;
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23463 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23472 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 char *kwnames
[] = {
23478 (char *) "self", NULL
23481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23483 if (SWIG_arg_fail(1)) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 wxString
const &_result_ref
= (arg1
)->GetText();
23488 result
= (wxString
*) &_result_ref
;
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23498 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23507 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (int)(arg1
)->GetImage();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= SWIG_From_int((int)(result
));
23535 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23539 PyObject
* obj0
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23546 if (SWIG_arg_fail(1)) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= (long)(arg1
)->GetData();
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= SWIG_From_long((long)(result
));
23563 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23565 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23574 if (SWIG_arg_fail(1)) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= (long)(arg1
)->GetMask();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_From_long((long)(result
));
23591 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23593 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23594 wxListItem
*result
;
23595 PyObject
* obj0
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23602 if (SWIG_arg_fail(1)) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23607 result
= (wxListItem
*) &_result_ref
;
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23620 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23631 if (SWIG_arg_fail(1)) SWIG_fail
;
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 result
= (long)(arg1
)->GetCacheFrom();
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_From_long((long)(result
));
23648 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
;
23650 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23652 PyObject
* obj0
= 0 ;
23653 char *kwnames
[] = {
23654 (char *) "self", NULL
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23659 if (SWIG_arg_fail(1)) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 result
= (long)(arg1
)->GetCacheTo();
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_From_long((long)(result
));
23676 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23680 PyObject
* obj0
= 0 ;
23681 char *kwnames
[] = {
23682 (char *) "self", NULL
23685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23687 if (SWIG_arg_fail(1)) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23704 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
;
23706 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 PyObject
* obj1
= 0 ;
23710 char *kwnames
[] = {
23711 (char *) "self",(char *) "editCancelled", NULL
23714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23716 if (SWIG_arg_fail(1)) SWIG_fail
;
23718 arg2
= (bool)(SWIG_As_bool(obj1
));
23719 if (SWIG_arg_fail(2)) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 (arg1
)->SetEditCanceled(arg2
);
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23728 Py_INCREF(Py_None
); resultobj
= Py_None
;
23735 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23738 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23740 return Py_BuildValue((char *)"");
23742 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
;
23744 wxWindow
*arg1
= (wxWindow
*) 0 ;
23745 int arg2
= (int) -1 ;
23746 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23747 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23748 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23749 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23750 long arg5
= (long) wxLC_ICON
;
23751 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23752 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23753 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23754 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23755 wxPyListCtrl
*result
;
23758 bool temp7
= false ;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 PyObject
* obj2
= 0 ;
23762 PyObject
* obj3
= 0 ;
23763 PyObject
* obj4
= 0 ;
23764 PyObject
* obj5
= 0 ;
23765 PyObject
* obj6
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23772 if (SWIG_arg_fail(1)) SWIG_fail
;
23775 arg2
= (int)(SWIG_As_int(obj1
));
23776 if (SWIG_arg_fail(2)) SWIG_fail
;
23782 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23788 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23793 arg5
= (long)(SWIG_As_long(obj4
));
23794 if (SWIG_arg_fail(5)) SWIG_fail
;
23799 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23800 if (SWIG_arg_fail(6)) SWIG_fail
;
23801 if (arg6
== NULL
) {
23802 SWIG_null_ref("wxValidator");
23804 if (SWIG_arg_fail(6)) SWIG_fail
;
23809 arg7
= wxString_in_helper(obj6
);
23810 if (arg7
== NULL
) SWIG_fail
;
23815 if (!wxPyCheckForApp()) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23837 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxPyListCtrl
*result
;
23840 char *kwnames
[] = {
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23846 if (!wxPyCheckForApp()) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23860 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23863 wxWindow
*arg2
= (wxWindow
*) 0 ;
23864 int arg3
= (int) -1 ;
23865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23869 long arg6
= (long) wxLC_ICON
;
23870 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23871 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23872 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23873 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23877 bool temp8
= false ;
23878 PyObject
* obj0
= 0 ;
23879 PyObject
* obj1
= 0 ;
23880 PyObject
* obj2
= 0 ;
23881 PyObject
* obj3
= 0 ;
23882 PyObject
* obj4
= 0 ;
23883 PyObject
* obj5
= 0 ;
23884 PyObject
* obj6
= 0 ;
23885 PyObject
* obj7
= 0 ;
23886 char *kwnames
[] = {
23887 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23892 if (SWIG_arg_fail(1)) SWIG_fail
;
23893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23894 if (SWIG_arg_fail(2)) SWIG_fail
;
23897 arg3
= (int)(SWIG_As_int(obj2
));
23898 if (SWIG_arg_fail(3)) SWIG_fail
;
23904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23915 arg6
= (long)(SWIG_As_long(obj5
));
23916 if (SWIG_arg_fail(6)) SWIG_fail
;
23921 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23922 if (SWIG_arg_fail(7)) SWIG_fail
;
23923 if (arg7
== NULL
) {
23924 SWIG_null_ref("wxValidator");
23926 if (SWIG_arg_fail(7)) SWIG_fail
;
23931 arg8
= wxString_in_helper(obj7
);
23932 if (arg8
== NULL
) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23960 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23963 PyObject
*arg2
= (PyObject
*) 0 ;
23964 PyObject
*arg3
= (PyObject
*) 0 ;
23965 PyObject
* obj0
= 0 ;
23966 PyObject
* obj1
= 0 ;
23967 PyObject
* obj2
= 0 ;
23968 char *kwnames
[] = {
23969 (char *) "self",(char *) "self",(char *) "_class", NULL
23972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23974 if (SWIG_arg_fail(1)) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 Py_INCREF(Py_None
); resultobj
= Py_None
;
23991 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
;
23993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23994 wxColour
*arg2
= 0 ;
23997 PyObject
* obj0
= 0 ;
23998 PyObject
* obj1
= 0 ;
23999 char *kwnames
[] = {
24000 (char *) "self",(char *) "col", NULL
24003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24005 if (SWIG_arg_fail(1)) SWIG_fail
;
24008 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24026 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24029 wxColour
*arg2
= 0 ;
24032 PyObject
* obj0
= 0 ;
24033 PyObject
* obj1
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self",(char *) "col", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24040 if (SWIG_arg_fail(1)) SWIG_fail
;
24043 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24061 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
;
24063 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24065 wxListItem
*result
;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self",(char *) "col", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24074 if (SWIG_arg_fail(1)) SWIG_fail
;
24076 arg2
= (int)(SWIG_As_int(obj1
));
24077 if (SWIG_arg_fail(2)) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= wxPyMake_wxObject(result
, 0);
24095 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24099 wxListItem
*arg3
= 0 ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 PyObject
* obj2
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self",(char *) "col",(char *) "item", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24110 if (SWIG_arg_fail(1)) SWIG_fail
;
24112 arg2
= (int)(SWIG_As_int(obj1
));
24113 if (SWIG_arg_fail(2)) SWIG_fail
;
24116 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24117 if (SWIG_arg_fail(3)) SWIG_fail
;
24118 if (arg3
== NULL
) {
24119 SWIG_null_ref("wxListItem");
24121 if (SWIG_arg_fail(3)) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24139 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
;
24141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24144 PyObject
* obj0
= 0 ;
24145 PyObject
* obj1
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "self",(char *) "col", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24152 if (SWIG_arg_fail(1)) SWIG_fail
;
24154 arg2
= (int)(SWIG_As_int(obj1
));
24155 if (SWIG_arg_fail(2)) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= SWIG_From_int((int)(result
));
24173 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
;
24175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 PyObject
* obj2
= 0 ;
24182 char *kwnames
[] = {
24183 (char *) "self",(char *) "col",(char *) "width", NULL
24186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24188 if (SWIG_arg_fail(1)) SWIG_fail
;
24190 arg2
= (int)(SWIG_As_int(obj1
));
24191 if (SWIG_arg_fail(2)) SWIG_fail
;
24194 arg3
= (int)(SWIG_As_int(obj2
));
24195 if (SWIG_arg_fail(3)) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24213 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24217 PyObject
* obj0
= 0 ;
24218 char *kwnames
[] = {
24219 (char *) "self", NULL
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24224 if (SWIG_arg_fail(1)) SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= SWIG_From_int((int)(result
));
24241 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 char *kwnames
[] = {
24247 (char *) "self", NULL
24250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24252 if (SWIG_arg_fail(1)) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24261 wxRect
* resultptr
;
24262 resultptr
= new wxRect((wxRect
&)(result
));
24263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24271 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
;
24273 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24275 int arg3
= (int) 0 ;
24276 wxListItem
*result
;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24279 PyObject
* obj2
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "itemId",(char *) "col", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24286 if (SWIG_arg_fail(1)) SWIG_fail
;
24288 arg2
= (long)(SWIG_As_long(obj1
));
24289 if (SWIG_arg_fail(2)) SWIG_fail
;
24293 arg3
= (int)(SWIG_As_int(obj2
));
24294 if (SWIG_arg_fail(3)) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= wxPyMake_wxObject(result
, 0);
24313 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
;
24315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24316 wxListItem
*arg2
= 0 ;
24318 PyObject
* obj0
= 0 ;
24319 PyObject
* obj1
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self",(char *) "info", NULL
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24326 if (SWIG_arg_fail(1)) SWIG_fail
;
24328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24329 if (SWIG_arg_fail(2)) SWIG_fail
;
24330 if (arg2
== NULL
) {
24331 SWIG_null_ref("wxListItem");
24333 if (SWIG_arg_fail(2)) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (bool)(arg1
)->SetItem(*arg2
);
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24351 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24356 wxString
*arg4
= 0 ;
24357 int arg5
= (int) -1 ;
24359 bool temp4
= false ;
24360 PyObject
* obj0
= 0 ;
24361 PyObject
* obj1
= 0 ;
24362 PyObject
* obj2
= 0 ;
24363 PyObject
* obj3
= 0 ;
24364 PyObject
* obj4
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24371 if (SWIG_arg_fail(1)) SWIG_fail
;
24373 arg2
= (long)(SWIG_As_long(obj1
));
24374 if (SWIG_arg_fail(2)) SWIG_fail
;
24377 arg3
= (int)(SWIG_As_int(obj2
));
24378 if (SWIG_arg_fail(3)) SWIG_fail
;
24381 arg4
= wxString_in_helper(obj3
);
24382 if (arg4
== NULL
) SWIG_fail
;
24387 arg5
= (int)(SWIG_As_int(obj4
));
24388 if (SWIG_arg_fail(5)) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24399 resultobj
= SWIG_From_long((long)(result
));
24415 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 PyObject
* obj2
= 0 ;
24424 char *kwnames
[] = {
24425 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24430 if (SWIG_arg_fail(1)) SWIG_fail
;
24432 arg2
= (long)(SWIG_As_long(obj1
));
24433 if (SWIG_arg_fail(2)) SWIG_fail
;
24436 arg3
= (long)(SWIG_As_long(obj2
));
24437 if (SWIG_arg_fail(3)) SWIG_fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_From_int((int)(result
));
24455 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
;
24457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 PyObject
* obj2
= 0 ;
24465 PyObject
* obj3
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24472 if (SWIG_arg_fail(1)) SWIG_fail
;
24474 arg2
= (long)(SWIG_As_long(obj1
));
24475 if (SWIG_arg_fail(2)) SWIG_fail
;
24478 arg3
= (long)(SWIG_As_long(obj2
));
24479 if (SWIG_arg_fail(3)) SWIG_fail
;
24482 arg4
= (long)(SWIG_As_long(obj3
));
24483 if (SWIG_arg_fail(4)) SWIG_fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24501 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24506 int arg4
= (int) -1 ;
24508 PyObject
* obj0
= 0 ;
24509 PyObject
* obj1
= 0 ;
24510 PyObject
* obj2
= 0 ;
24511 PyObject
* obj3
= 0 ;
24512 char *kwnames
[] = {
24513 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24518 if (SWIG_arg_fail(1)) SWIG_fail
;
24520 arg2
= (long)(SWIG_As_long(obj1
));
24521 if (SWIG_arg_fail(2)) SWIG_fail
;
24524 arg3
= (int)(SWIG_As_int(obj2
));
24525 if (SWIG_arg_fail(3)) SWIG_fail
;
24529 arg4
= (int)(SWIG_As_int(obj3
));
24530 if (SWIG_arg_fail(4)) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24549 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 PyObject
* obj1
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "self",(char *) "item", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24562 if (SWIG_arg_fail(1)) SWIG_fail
;
24564 arg2
= (long)(SWIG_As_long(obj1
));
24565 if (SWIG_arg_fail(2)) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24587 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
;
24589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24591 wxString
*arg3
= 0 ;
24592 bool temp3
= false ;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 PyObject
* obj2
= 0 ;
24596 char *kwnames
[] = {
24597 (char *) "self",(char *) "item",(char *) "str", NULL
24600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24602 if (SWIG_arg_fail(1)) SWIG_fail
;
24604 arg2
= (long)(SWIG_As_long(obj1
));
24605 if (SWIG_arg_fail(2)) SWIG_fail
;
24608 arg3
= wxString_in_helper(obj2
);
24609 if (arg3
== NULL
) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 Py_INCREF(Py_None
); resultobj
= Py_None
;
24634 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
;
24636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char *kwnames
[] = {
24642 (char *) "self",(char *) "item", NULL
24645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24647 if (SWIG_arg_fail(1)) SWIG_fail
;
24649 arg2
= (long)(SWIG_As_long(obj1
));
24650 if (SWIG_arg_fail(2)) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24660 resultobj
= SWIG_From_long((long)(result
));
24668 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 PyObject
* obj2
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "self",(char *) "item",(char *) "data", NULL
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24683 if (SWIG_arg_fail(1)) SWIG_fail
;
24685 arg2
= (long)(SWIG_As_long(obj1
));
24686 if (SWIG_arg_fail(2)) SWIG_fail
;
24689 arg3
= (long)(SWIG_As_long(obj2
));
24690 if (SWIG_arg_fail(3)) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24708 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self",(char *) "item", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24721 if (SWIG_arg_fail(1)) SWIG_fail
;
24723 arg2
= (long)(SWIG_As_long(obj1
));
24724 if (SWIG_arg_fail(2)) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24734 wxPoint
* resultptr
;
24735 resultptr
= new wxPoint((wxPoint
&)(result
));
24736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24744 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
;
24746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24748 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 PyObject
* obj2
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "self",(char *) "item",(char *) "code", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24759 if (SWIG_arg_fail(1)) SWIG_fail
;
24761 arg2
= (long)(SWIG_As_long(obj1
));
24762 if (SWIG_arg_fail(2)) SWIG_fail
;
24766 arg3
= (int)(SWIG_As_int(obj2
));
24767 if (SWIG_arg_fail(3)) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24778 wxRect
* resultptr
;
24779 resultptr
= new wxRect((wxRect
&)(result
));
24780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24788 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24792 wxPoint
*arg3
= 0 ;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 PyObject
* obj2
= 0 ;
24798 char *kwnames
[] = {
24799 (char *) "self",(char *) "item",(char *) "pos", NULL
24802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24804 if (SWIG_arg_fail(1)) SWIG_fail
;
24806 arg2
= (long)(SWIG_As_long(obj1
));
24807 if (SWIG_arg_fail(2)) SWIG_fail
;
24811 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24829 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 char *kwnames
[] = {
24835 (char *) "self", NULL
24838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24840 if (SWIG_arg_fail(1)) SWIG_fail
;
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= SWIG_From_int((int)(result
));
24857 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24861 PyObject
* obj0
= 0 ;
24862 char *kwnames
[] = {
24863 (char *) "self", NULL
24866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24868 if (SWIG_arg_fail(1)) SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_From_int((int)(result
));
24885 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24896 if (SWIG_arg_fail(1)) SWIG_fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24905 wxSize
* resultptr
;
24906 resultptr
= new wxSize((wxSize
&)(result
));
24907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24915 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24916 PyObject
*resultobj
;
24917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24919 bool arg3
= (bool) false ;
24920 PyObject
* obj0
= 0 ;
24921 PyObject
* obj1
= 0 ;
24922 PyObject
* obj2
= 0 ;
24923 char *kwnames
[] = {
24924 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24929 if (SWIG_arg_fail(1)) SWIG_fail
;
24931 arg2
= (int)(SWIG_As_int(obj1
));
24932 if (SWIG_arg_fail(2)) SWIG_fail
;
24936 arg3
= (bool)(SWIG_As_bool(obj2
));
24937 if (SWIG_arg_fail(3)) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 (arg1
)->SetItemSpacing(arg2
,arg3
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 Py_INCREF(Py_None
); resultobj
= Py_None
;
24954 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
;
24956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24958 PyObject
* obj0
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "self", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
24964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24965 if (SWIG_arg_fail(1)) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= SWIG_From_int((int)(result
));
24982 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24986 PyObject
* obj0
= 0 ;
24987 char *kwnames
[] = {
24988 (char *) "self", NULL
24991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
24992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24993 if (SWIG_arg_fail(1)) SWIG_fail
;
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25002 wxColour
* resultptr
;
25003 resultptr
= new wxColour((wxColour
&)(result
));
25004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25012 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
;
25014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25015 wxColour
*arg2
= 0 ;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self",(char *) "col", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25025 if (SWIG_arg_fail(1)) SWIG_fail
;
25028 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 Py_INCREF(Py_None
); resultobj
= Py_None
;
25044 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 char *kwnames
[] = {
25050 (char *) "self", NULL
25053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25055 if (SWIG_arg_fail(1)) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25064 resultobj
= SWIG_From_long((long)(result
));
25072 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25073 PyObject
*resultobj
;
25074 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25076 bool arg3
= (bool) true ;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 PyObject
* obj2
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self",(char *) "style",(char *) "add", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25086 if (SWIG_arg_fail(1)) SWIG_fail
;
25088 arg2
= (long)(SWIG_As_long(obj1
));
25089 if (SWIG_arg_fail(2)) SWIG_fail
;
25093 arg3
= (bool)(SWIG_As_bool(obj2
));
25094 if (SWIG_arg_fail(3)) SWIG_fail
;
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 (arg1
)->SetSingleStyle(arg2
,arg3
);
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 Py_INCREF(Py_None
); resultobj
= Py_None
;
25111 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
;
25113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self",(char *) "style", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25123 if (SWIG_arg_fail(1)) SWIG_fail
;
25125 arg2
= (long)(SWIG_As_long(obj1
));
25126 if (SWIG_arg_fail(2)) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 (arg1
)->SetWindowStyleFlag(arg2
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 Py_INCREF(Py_None
); resultobj
= Py_None
;
25142 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25146 int arg3
= (int) wxLIST_NEXT_ALL
;
25147 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25149 PyObject
* obj0
= 0 ;
25150 PyObject
* obj1
= 0 ;
25151 PyObject
* obj2
= 0 ;
25152 PyObject
* obj3
= 0 ;
25153 char *kwnames
[] = {
25154 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25159 if (SWIG_arg_fail(1)) SWIG_fail
;
25161 arg2
= (long)(SWIG_As_long(obj1
));
25162 if (SWIG_arg_fail(2)) SWIG_fail
;
25166 arg3
= (int)(SWIG_As_int(obj2
));
25167 if (SWIG_arg_fail(3)) SWIG_fail
;
25172 arg4
= (int)(SWIG_As_int(obj3
));
25173 if (SWIG_arg_fail(4)) SWIG_fail
;
25177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= SWIG_From_long((long)(result
));
25192 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
;
25194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25196 wxImageList
*result
;
25197 PyObject
* obj0
= 0 ;
25198 PyObject
* obj1
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "self",(char *) "which", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25205 if (SWIG_arg_fail(1)) SWIG_fail
;
25207 arg2
= (int)(SWIG_As_int(obj1
));
25208 if (SWIG_arg_fail(2)) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= wxPyMake_wxObject(result
, 0);
25226 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25229 wxImageList
*arg2
= (wxImageList
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 PyObject
* obj2
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self",(char *) "imageList",(char *) "which", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25240 if (SWIG_arg_fail(1)) SWIG_fail
;
25241 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25242 if (SWIG_arg_fail(2)) SWIG_fail
;
25244 arg3
= (int)(SWIG_As_int(obj2
));
25245 if (SWIG_arg_fail(3)) SWIG_fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 (arg1
)->SetImageList(arg2
,arg3
);
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 Py_INCREF(Py_None
); resultobj
= Py_None
;
25261 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25264 wxImageList
*arg2
= (wxImageList
*) 0 ;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 PyObject
* obj2
= 0 ;
25269 char *kwnames
[] = {
25270 (char *) "self",(char *) "imageList",(char *) "which", NULL
25273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25275 if (SWIG_arg_fail(1)) SWIG_fail
;
25276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25277 if (SWIG_arg_fail(2)) SWIG_fail
;
25279 arg3
= (int)(SWIG_As_int(obj2
));
25280 if (SWIG_arg_fail(3)) SWIG_fail
;
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 (arg1
)->AssignImageList(arg2
,arg3
);
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25300 PyObject
* obj0
= 0 ;
25301 char *kwnames
[] = {
25302 (char *) "self", NULL
25305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25307 if (SWIG_arg_fail(1)) SWIG_fail
;
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25324 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25325 PyObject
*resultobj
;
25326 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25328 PyObject
* obj0
= 0 ;
25329 char *kwnames
[] = {
25330 (char *) "self", NULL
25333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25335 if (SWIG_arg_fail(1)) SWIG_fail
;
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25352 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25353 PyObject
*resultobj
;
25354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25356 PyObject
* obj0
= 0 ;
25357 PyObject
* obj1
= 0 ;
25358 char *kwnames
[] = {
25359 (char *) "self",(char *) "item", NULL
25362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25364 if (SWIG_arg_fail(1)) SWIG_fail
;
25366 arg2
= (long)(SWIG_As_long(obj1
));
25367 if (SWIG_arg_fail(2)) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 (arg1
)->RefreshItem(arg2
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 Py_INCREF(Py_None
); resultobj
= Py_None
;
25383 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 PyObject
* obj2
= 0 ;
25391 char *kwnames
[] = {
25392 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25397 if (SWIG_arg_fail(1)) SWIG_fail
;
25399 arg2
= (long)(SWIG_As_long(obj1
));
25400 if (SWIG_arg_fail(2)) SWIG_fail
;
25403 arg3
= (long)(SWIG_As_long(obj2
));
25404 if (SWIG_arg_fail(3)) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 (arg1
)->RefreshItems(arg2
,arg3
);
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 Py_INCREF(Py_None
); resultobj
= Py_None
;
25420 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25423 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self",(char *) "flag", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25433 if (SWIG_arg_fail(1)) SWIG_fail
;
25436 arg2
= (int)(SWIG_As_int(obj1
));
25437 if (SWIG_arg_fail(2)) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (bool)(arg1
)->Arrange(arg2
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25456 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 char *kwnames
[] = {
25464 (char *) "self",(char *) "item", NULL
25467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25469 if (SWIG_arg_fail(1)) SWIG_fail
;
25471 arg2
= (long)(SWIG_As_long(obj1
));
25472 if (SWIG_arg_fail(2)) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 result
= (bool)(arg1
)->DeleteItem(arg2
);
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25490 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25494 PyObject
* obj0
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25501 if (SWIG_arg_fail(1)) SWIG_fail
;
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 result
= (bool)(arg1
)->DeleteAllItems();
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25518 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 PyObject
* obj1
= 0 ;
25525 char *kwnames
[] = {
25526 (char *) "self",(char *) "col", NULL
25529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25531 if (SWIG_arg_fail(1)) SWIG_fail
;
25533 arg2
= (int)(SWIG_As_int(obj1
));
25534 if (SWIG_arg_fail(2)) SWIG_fail
;
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25552 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
;
25554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25556 PyObject
* obj0
= 0 ;
25557 char *kwnames
[] = {
25558 (char *) "self", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25563 if (SWIG_arg_fail(1)) SWIG_fail
;
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= (bool)(arg1
)->DeleteAllColumns();
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25580 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
;
25582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25583 PyObject
* obj0
= 0 ;
25584 char *kwnames
[] = {
25585 (char *) "self", NULL
25588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25590 if (SWIG_arg_fail(1)) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 (arg1
)->ClearAll();
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 Py_INCREF(Py_None
); resultobj
= Py_None
;
25605 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25606 PyObject
*resultobj
;
25607 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25609 PyObject
* obj0
= 0 ;
25610 PyObject
* obj1
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self",(char *) "item", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25617 if (SWIG_arg_fail(1)) SWIG_fail
;
25619 arg2
= (long)(SWIG_As_long(obj1
));
25620 if (SWIG_arg_fail(2)) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 (arg1
)->EditLabel(arg2
);
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 Py_INCREF(Py_None
); resultobj
= Py_None
;
25636 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25641 PyObject
* obj0
= 0 ;
25642 PyObject
* obj1
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self",(char *) "item", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25649 if (SWIG_arg_fail(1)) SWIG_fail
;
25651 arg2
= (long)(SWIG_As_long(obj1
));
25652 if (SWIG_arg_fail(2)) SWIG_fail
;
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25670 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
;
25672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25674 wxString
*arg3
= 0 ;
25675 bool arg4
= (bool) false ;
25677 bool temp3
= false ;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 PyObject
* obj2
= 0 ;
25681 PyObject
* obj3
= 0 ;
25682 char *kwnames
[] = {
25683 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25688 if (SWIG_arg_fail(1)) SWIG_fail
;
25690 arg2
= (long)(SWIG_As_long(obj1
));
25691 if (SWIG_arg_fail(2)) SWIG_fail
;
25694 arg3
= wxString_in_helper(obj2
);
25695 if (arg3
== NULL
) SWIG_fail
;
25700 arg4
= (bool)(SWIG_As_bool(obj3
));
25701 if (SWIG_arg_fail(4)) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= SWIG_From_long((long)(result
));
25728 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
;
25730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25734 PyObject
* obj0
= 0 ;
25735 PyObject
* obj1
= 0 ;
25736 PyObject
* obj2
= 0 ;
25737 char *kwnames
[] = {
25738 (char *) "self",(char *) "start",(char *) "data", NULL
25741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25743 if (SWIG_arg_fail(1)) SWIG_fail
;
25745 arg2
= (long)(SWIG_As_long(obj1
));
25746 if (SWIG_arg_fail(2)) SWIG_fail
;
25749 arg3
= (long)(SWIG_As_long(obj2
));
25750 if (SWIG_arg_fail(3)) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_From_long((long)(result
));
25768 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25772 wxPoint
*arg3
= 0 ;
25776 PyObject
* obj0
= 0 ;
25777 PyObject
* obj1
= 0 ;
25778 PyObject
* obj2
= 0 ;
25779 PyObject
* obj3
= 0 ;
25780 char *kwnames
[] = {
25781 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25786 if (SWIG_arg_fail(1)) SWIG_fail
;
25788 arg2
= (long)(SWIG_As_long(obj1
));
25789 if (SWIG_arg_fail(2)) SWIG_fail
;
25793 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25796 arg4
= (int)(SWIG_As_int(obj3
));
25797 if (SWIG_arg_fail(4)) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25807 resultobj
= SWIG_From_long((long)(result
));
25815 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
;
25817 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25818 wxPoint
*arg2
= 0 ;
25824 PyObject
* obj0
= 0 ;
25825 PyObject
* obj1
= 0 ;
25826 char *kwnames
[] = {
25827 (char *) "self",(char *) "point", NULL
25830 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25833 if (SWIG_arg_fail(1)) SWIG_fail
;
25836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_From_long((long)(result
));
25848 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25849 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25856 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25859 wxListItem
*arg2
= 0 ;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self",(char *) "info", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25869 if (SWIG_arg_fail(1)) SWIG_fail
;
25871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25872 if (SWIG_arg_fail(2)) SWIG_fail
;
25873 if (arg2
== NULL
) {
25874 SWIG_null_ref("wxListItem");
25876 if (SWIG_arg_fail(2)) SWIG_fail
;
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 result
= (long)(arg1
)->InsertItem(*arg2
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25886 resultobj
= SWIG_From_long((long)(result
));
25894 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25898 wxString
*arg3
= 0 ;
25900 bool temp3
= false ;
25901 PyObject
* obj0
= 0 ;
25902 PyObject
* obj1
= 0 ;
25903 PyObject
* obj2
= 0 ;
25904 char *kwnames
[] = {
25905 (char *) "self",(char *) "index",(char *) "label", NULL
25908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25910 if (SWIG_arg_fail(1)) SWIG_fail
;
25912 arg2
= (long)(SWIG_As_long(obj1
));
25913 if (SWIG_arg_fail(2)) SWIG_fail
;
25916 arg3
= wxString_in_helper(obj2
);
25917 if (arg3
== NULL
) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_From_long((long)(result
));
25944 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25950 PyObject
* obj0
= 0 ;
25951 PyObject
* obj1
= 0 ;
25952 PyObject
* obj2
= 0 ;
25953 char *kwnames
[] = {
25954 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25959 if (SWIG_arg_fail(1)) SWIG_fail
;
25961 arg2
= (long)(SWIG_As_long(obj1
));
25962 if (SWIG_arg_fail(2)) SWIG_fail
;
25965 arg3
= (int)(SWIG_As_int(obj2
));
25966 if (SWIG_arg_fail(3)) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= SWIG_From_long((long)(result
));
25984 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
;
25986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25988 wxString
*arg3
= 0 ;
25991 bool temp3
= false ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 PyObject
* obj2
= 0 ;
25995 PyObject
* obj3
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26002 if (SWIG_arg_fail(1)) SWIG_fail
;
26004 arg2
= (long)(SWIG_As_long(obj1
));
26005 if (SWIG_arg_fail(2)) SWIG_fail
;
26008 arg3
= wxString_in_helper(obj2
);
26009 if (arg3
== NULL
) SWIG_fail
;
26013 arg4
= (int)(SWIG_As_int(obj3
));
26014 if (SWIG_arg_fail(4)) SWIG_fail
;
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= SWIG_From_long((long)(result
));
26040 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26044 wxListItem
*arg3
= 0 ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 PyObject
* obj2
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self",(char *) "col",(char *) "info", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26055 if (SWIG_arg_fail(1)) SWIG_fail
;
26057 arg2
= (long)(SWIG_As_long(obj1
));
26058 if (SWIG_arg_fail(2)) SWIG_fail
;
26061 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26062 if (SWIG_arg_fail(3)) SWIG_fail
;
26063 if (arg3
== NULL
) {
26064 SWIG_null_ref("wxListItem");
26066 if (SWIG_arg_fail(3)) SWIG_fail
;
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_From_long((long)(result
));
26084 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26088 wxString
*arg3
= 0 ;
26089 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26090 int arg5
= (int) -1 ;
26092 bool temp3
= false ;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 PyObject
* obj2
= 0 ;
26096 PyObject
* obj3
= 0 ;
26097 PyObject
* obj4
= 0 ;
26098 char *kwnames
[] = {
26099 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26104 if (SWIG_arg_fail(1)) SWIG_fail
;
26106 arg2
= (long)(SWIG_As_long(obj1
));
26107 if (SWIG_arg_fail(2)) SWIG_fail
;
26110 arg3
= wxString_in_helper(obj2
);
26111 if (arg3
== NULL
) SWIG_fail
;
26116 arg4
= (int)(SWIG_As_int(obj3
));
26117 if (SWIG_arg_fail(4)) SWIG_fail
;
26122 arg5
= (int)(SWIG_As_int(obj4
));
26123 if (SWIG_arg_fail(5)) SWIG_fail
;
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= SWIG_From_long((long)(result
));
26150 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self",(char *) "count", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26162 if (SWIG_arg_fail(1)) SWIG_fail
;
26164 arg2
= (long)(SWIG_As_long(obj1
));
26165 if (SWIG_arg_fail(2)) SWIG_fail
;
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 (arg1
)->SetItemCount(arg2
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 Py_INCREF(Py_None
); resultobj
= Py_None
;
26181 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 PyObject
* obj2
= 0 ;
26190 char *kwnames
[] = {
26191 (char *) "self",(char *) "dx",(char *) "dy", NULL
26194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26196 if (SWIG_arg_fail(1)) SWIG_fail
;
26198 arg2
= (int)(SWIG_As_int(obj1
));
26199 if (SWIG_arg_fail(2)) SWIG_fail
;
26202 arg3
= (int)(SWIG_As_int(obj2
));
26203 if (SWIG_arg_fail(3)) SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26221 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26225 wxColour
*arg3
= 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 PyObject
* obj2
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "item",(char *) "col", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26236 if (SWIG_arg_fail(1)) SWIG_fail
;
26238 arg2
= (long)(SWIG_As_long(obj1
));
26239 if (SWIG_arg_fail(2)) SWIG_fail
;
26243 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26247 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 Py_INCREF(Py_None
); resultobj
= Py_None
;
26259 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26260 PyObject
*resultobj
;
26261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 char *kwnames
[] = {
26267 (char *) "self",(char *) "item", NULL
26270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26272 if (SWIG_arg_fail(1)) SWIG_fail
;
26274 arg2
= (long)(SWIG_As_long(obj1
));
26275 if (SWIG_arg_fail(2)) SWIG_fail
;
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26285 wxColour
* resultptr
;
26286 resultptr
= new wxColour((wxColour
&)(result
));
26287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26295 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
;
26297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26299 wxColour
*arg3
= 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 PyObject
* obj2
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self",(char *) "item",(char *) "col", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26310 if (SWIG_arg_fail(1)) SWIG_fail
;
26312 arg2
= (long)(SWIG_As_long(obj1
));
26313 if (SWIG_arg_fail(2)) SWIG_fail
;
26317 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26326 Py_INCREF(Py_None
); resultobj
= Py_None
;
26333 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
;
26335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26338 PyObject
* obj0
= 0 ;
26339 PyObject
* obj1
= 0 ;
26340 char *kwnames
[] = {
26341 (char *) "self",(char *) "item", NULL
26344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26346 if (SWIG_arg_fail(1)) SWIG_fail
;
26348 arg2
= (long)(SWIG_As_long(obj1
));
26349 if (SWIG_arg_fail(2)) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26359 wxColour
* resultptr
;
26360 resultptr
= new wxColour((wxColour
&)(result
));
26361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26369 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
;
26371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26372 PyObject
*arg2
= (PyObject
*) 0 ;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self",(char *) "func", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26382 if (SWIG_arg_fail(1)) SWIG_fail
;
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26400 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
;
26402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26404 PyObject
* obj0
= 0 ;
26405 char *kwnames
[] = {
26406 (char *) "self", NULL
26409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26411 if (SWIG_arg_fail(1)) SWIG_fail
;
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= wxPyMake_wxObject(result
, 0);
26428 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
;
26430 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26431 wxVisualAttributes result
;
26432 PyObject
* obj0
= 0 ;
26433 char *kwnames
[] = {
26434 (char *) "variant", NULL
26437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26440 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26441 if (SWIG_arg_fail(1)) SWIG_fail
;
26445 if (!wxPyCheckForApp()) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26453 wxVisualAttributes
* resultptr
;
26454 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26463 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26466 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26468 return Py_BuildValue((char *)"");
26470 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26471 PyObject
*resultobj
;
26472 wxWindow
*arg1
= (wxWindow
*) 0 ;
26473 int arg2
= (int) -1 ;
26474 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26475 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26476 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26477 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26478 long arg5
= (long) wxLC_REPORT
;
26479 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26480 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26481 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26482 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26483 wxListView
*result
;
26486 bool temp7
= false ;
26487 PyObject
* obj0
= 0 ;
26488 PyObject
* obj1
= 0 ;
26489 PyObject
* obj2
= 0 ;
26490 PyObject
* obj3
= 0 ;
26491 PyObject
* obj4
= 0 ;
26492 PyObject
* obj5
= 0 ;
26493 PyObject
* obj6
= 0 ;
26494 char *kwnames
[] = {
26495 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26500 if (SWIG_arg_fail(1)) SWIG_fail
;
26503 arg2
= (int)(SWIG_As_int(obj1
));
26504 if (SWIG_arg_fail(2)) SWIG_fail
;
26510 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26516 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26521 arg5
= (long)(SWIG_As_long(obj4
));
26522 if (SWIG_arg_fail(5)) SWIG_fail
;
26527 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26528 if (SWIG_arg_fail(6)) SWIG_fail
;
26529 if (arg6
== NULL
) {
26530 SWIG_null_ref("wxValidator");
26532 if (SWIG_arg_fail(6)) SWIG_fail
;
26537 arg7
= wxString_in_helper(obj6
);
26538 if (arg7
== NULL
) SWIG_fail
;
26543 if (!wxPyCheckForApp()) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26565 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxListView
*result
;
26568 char *kwnames
[] = {
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26574 if (!wxPyCheckForApp()) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= (wxListView
*)new wxListView();
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26588 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
;
26590 wxListView
*arg1
= (wxListView
*) 0 ;
26591 wxWindow
*arg2
= (wxWindow
*) 0 ;
26592 int arg3
= (int) -1 ;
26593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26597 long arg6
= (long) wxLC_REPORT
;
26598 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26599 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26600 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26601 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26605 bool temp8
= false ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 PyObject
* obj2
= 0 ;
26609 PyObject
* obj3
= 0 ;
26610 PyObject
* obj4
= 0 ;
26611 PyObject
* obj5
= 0 ;
26612 PyObject
* obj6
= 0 ;
26613 PyObject
* obj7
= 0 ;
26614 char *kwnames
[] = {
26615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26620 if (SWIG_arg_fail(1)) SWIG_fail
;
26621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26622 if (SWIG_arg_fail(2)) SWIG_fail
;
26625 arg3
= (int)(SWIG_As_int(obj2
));
26626 if (SWIG_arg_fail(3)) SWIG_fail
;
26632 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26638 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26643 arg6
= (long)(SWIG_As_long(obj5
));
26644 if (SWIG_arg_fail(6)) SWIG_fail
;
26649 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26650 if (SWIG_arg_fail(7)) SWIG_fail
;
26651 if (arg7
== NULL
) {
26652 SWIG_null_ref("wxValidator");
26654 if (SWIG_arg_fail(7)) SWIG_fail
;
26659 arg8
= wxString_in_helper(obj7
);
26660 if (arg8
== NULL
) SWIG_fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26688 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxListView
*arg1
= (wxListView
*) 0 ;
26692 bool arg3
= (bool) true ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 PyObject
* obj2
= 0 ;
26696 char *kwnames
[] = {
26697 (char *) "self",(char *) "n",(char *) "on", NULL
26700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26702 if (SWIG_arg_fail(1)) SWIG_fail
;
26704 arg2
= (long)(SWIG_As_long(obj1
));
26705 if (SWIG_arg_fail(2)) SWIG_fail
;
26709 arg3
= (bool)(SWIG_As_bool(obj2
));
26710 if (SWIG_arg_fail(3)) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 (arg1
)->Select(arg2
,arg3
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 Py_INCREF(Py_None
); resultobj
= Py_None
;
26727 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxListView
*arg1
= (wxListView
*) 0 ;
26731 PyObject
* obj0
= 0 ;
26732 PyObject
* obj1
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self",(char *) "index", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26739 if (SWIG_arg_fail(1)) SWIG_fail
;
26741 arg2
= (long)(SWIG_As_long(obj1
));
26742 if (SWIG_arg_fail(2)) SWIG_fail
;
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 (arg1
)->Focus(arg2
);
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 Py_INCREF(Py_None
); resultobj
= Py_None
;
26758 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
;
26760 wxListView
*arg1
= (wxListView
*) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26769 if (SWIG_arg_fail(1)) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_From_long((long)(result
));
26786 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxListView
*arg1
= (wxListView
*) 0 ;
26791 PyObject
* obj0
= 0 ;
26792 PyObject
* obj1
= 0 ;
26793 char *kwnames
[] = {
26794 (char *) "self",(char *) "item", NULL
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26799 if (SWIG_arg_fail(1)) SWIG_fail
;
26801 arg2
= (long)(SWIG_As_long(obj1
));
26802 if (SWIG_arg_fail(2)) SWIG_fail
;
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= SWIG_From_long((long)(result
));
26820 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxListView
*arg1
= (wxListView
*) 0 ;
26824 PyObject
* obj0
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26831 if (SWIG_arg_fail(1)) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= SWIG_From_long((long)(result
));
26848 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxListView
*arg1
= (wxListView
*) 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 char *kwnames
[] = {
26856 (char *) "self",(char *) "index", NULL
26859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26861 if (SWIG_arg_fail(1)) SWIG_fail
;
26863 arg2
= (long)(SWIG_As_long(obj1
));
26864 if (SWIG_arg_fail(2)) SWIG_fail
;
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 result
= (bool)(arg1
)->IsSelected(arg2
);
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26882 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
;
26884 wxListView
*arg1
= (wxListView
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 PyObject
* obj2
= 0 ;
26890 char *kwnames
[] = {
26891 (char *) "self",(char *) "col",(char *) "image", NULL
26894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26896 if (SWIG_arg_fail(1)) SWIG_fail
;
26898 arg2
= (int)(SWIG_As_int(obj1
));
26899 if (SWIG_arg_fail(2)) SWIG_fail
;
26902 arg3
= (int)(SWIG_As_int(obj2
));
26903 if (SWIG_arg_fail(3)) SWIG_fail
;
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 (arg1
)->SetColumnImage(arg2
,arg3
);
26909 wxPyEndAllowThreads(__tstate
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26912 Py_INCREF(Py_None
); resultobj
= Py_None
;
26919 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
;
26921 wxListView
*arg1
= (wxListView
*) 0 ;
26923 PyObject
* obj0
= 0 ;
26924 PyObject
* obj1
= 0 ;
26925 char *kwnames
[] = {
26926 (char *) "self",(char *) "col", NULL
26929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26931 if (SWIG_arg_fail(1)) SWIG_fail
;
26933 arg2
= (int)(SWIG_As_int(obj1
));
26934 if (SWIG_arg_fail(2)) SWIG_fail
;
26937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 (arg1
)->ClearColumnImage(arg2
);
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26943 Py_INCREF(Py_None
); resultobj
= Py_None
;
26950 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26953 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26955 return Py_BuildValue((char *)"");
26957 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
26958 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
26963 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
26968 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26970 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
26977 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxTreeItemId
*result
;
26980 char *kwnames
[] = {
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 result
= (wxTreeItemId
*)new wxTreeItemId();
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
26999 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27000 PyObject
*resultobj
;
27001 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27002 PyObject
* obj0
= 0 ;
27003 char *kwnames
[] = {
27004 (char *) "self", NULL
27007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27009 if (SWIG_arg_fail(1)) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 Py_INCREF(Py_None
); resultobj
= Py_None
;
27024 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
;
27026 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 char *kwnames
[] = {
27030 (char *) "self", NULL
27033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27035 if (SWIG_arg_fail(1)) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27052 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27055 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "self",(char *) "other", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27065 if (SWIG_arg_fail(1)) SWIG_fail
;
27066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27067 if (SWIG_arg_fail(2)) SWIG_fail
;
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27084 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27087 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 char *kwnames
[] = {
27092 (char *) "self",(char *) "other", NULL
27095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27097 if (SWIG_arg_fail(1)) SWIG_fail
;
27098 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27099 if (SWIG_arg_fail(2)) SWIG_fail
;
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27116 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
;
27118 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27119 void *arg2
= (void *) 0 ;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self",(char *) "m_pItem", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27128 if (SWIG_arg_fail(1)) SWIG_fail
;
27130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27131 SWIG_arg_fail(2);SWIG_fail
;
27134 if (arg1
) (arg1
)->m_pItem
= arg2
;
27136 Py_INCREF(Py_None
); resultobj
= Py_None
;
27143 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27147 PyObject
* obj0
= 0 ;
27148 char *kwnames
[] = {
27149 (char *) "self", NULL
27152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27154 if (SWIG_arg_fail(1)) SWIG_fail
;
27155 result
= (void *) ((arg1
)->m_pItem
);
27157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27164 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27167 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27169 return Py_BuildValue((char *)"");
27171 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27172 PyObject
*resultobj
;
27173 PyObject
*arg1
= (PyObject
*) NULL
;
27174 wxPyTreeItemData
*result
;
27175 PyObject
* obj0
= 0 ;
27176 char *kwnames
[] = {
27177 (char *) "obj", NULL
27180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27198 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
;
27200 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27202 PyObject
* obj0
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail
;
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 result
= (PyObject
*)(arg1
)->GetData();
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= result
;
27224 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
;
27226 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27227 PyObject
*arg2
= (PyObject
*) 0 ;
27228 PyObject
* obj0
= 0 ;
27229 PyObject
* obj1
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self",(char *) "obj", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27236 if (SWIG_arg_fail(1)) SWIG_fail
;
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 (arg1
)->SetData(arg2
);
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 Py_INCREF(Py_None
); resultobj
= Py_None
;
27252 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27255 wxTreeItemId
*result
;
27256 PyObject
* obj0
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27263 if (SWIG_arg_fail(1)) SWIG_fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27268 result
= (wxTreeItemId
*) &_result_ref
;
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27281 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27284 wxTreeItemId
*arg2
= 0 ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self",(char *) "id", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27293 if (SWIG_arg_fail(1)) SWIG_fail
;
27295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27296 if (SWIG_arg_fail(2)) SWIG_fail
;
27297 if (arg2
== NULL
) {
27298 SWIG_null_ref("wxTreeItemId");
27300 if (SWIG_arg_fail(2)) SWIG_fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 Py_INCREF(Py_None
); resultobj
= Py_None
;
27316 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27319 PyObject
* obj0
= 0 ;
27320 char *kwnames
[] = {
27321 (char *) "self", NULL
27324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27326 if (SWIG_arg_fail(1)) SWIG_fail
;
27328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 wxPyTreeItemData_Destroy(arg1
);
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 Py_INCREF(Py_None
); resultobj
= Py_None
;
27341 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27344 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27346 return Py_BuildValue((char *)"");
27348 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27349 PyObject
*resultobj
;
27350 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27351 int arg2
= (int) 0 ;
27352 wxTreeEvent
*result
;
27353 PyObject
* obj0
= 0 ;
27354 PyObject
* obj1
= 0 ;
27355 char *kwnames
[] = {
27356 (char *) "commandType",(char *) "id", NULL
27359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27362 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27363 if (SWIG_arg_fail(1)) SWIG_fail
;
27368 arg2
= (int)(SWIG_As_int(obj1
));
27369 if (SWIG_arg_fail(2)) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27386 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
;
27388 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27389 wxTreeItemId result
;
27390 PyObject
* obj0
= 0 ;
27391 char *kwnames
[] = {
27392 (char *) "self", NULL
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27397 if (SWIG_arg_fail(1)) SWIG_fail
;
27399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27400 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27406 wxTreeItemId
* resultptr
;
27407 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27416 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27417 PyObject
*resultobj
;
27418 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27419 wxTreeItemId
*arg2
= 0 ;
27420 PyObject
* obj0
= 0 ;
27421 PyObject
* obj1
= 0 ;
27422 char *kwnames
[] = {
27423 (char *) "self",(char *) "item", NULL
27426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27428 if (SWIG_arg_fail(1)) SWIG_fail
;
27430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27431 if (SWIG_arg_fail(2)) SWIG_fail
;
27432 if (arg2
== NULL
) {
27433 SWIG_null_ref("wxTreeItemId");
27435 if (SWIG_arg_fail(2)) SWIG_fail
;
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27444 Py_INCREF(Py_None
); resultobj
= Py_None
;
27451 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27452 PyObject
*resultobj
;
27453 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27454 wxTreeItemId result
;
27455 PyObject
* obj0
= 0 ;
27456 char *kwnames
[] = {
27457 (char *) "self", NULL
27460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27462 if (SWIG_arg_fail(1)) SWIG_fail
;
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27471 wxTreeItemId
* resultptr
;
27472 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27481 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
;
27483 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27484 wxTreeItemId
*arg2
= 0 ;
27485 PyObject
* obj0
= 0 ;
27486 PyObject
* obj1
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self",(char *) "item", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27493 if (SWIG_arg_fail(1)) SWIG_fail
;
27495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27496 if (SWIG_arg_fail(2)) SWIG_fail
;
27497 if (arg2
== NULL
) {
27498 SWIG_null_ref("wxTreeItemId");
27500 if (SWIG_arg_fail(2)) SWIG_fail
;
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 Py_INCREF(Py_None
); resultobj
= Py_None
;
27516 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27520 PyObject
* obj0
= 0 ;
27521 char *kwnames
[] = {
27522 (char *) "self", NULL
27525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27527 if (SWIG_arg_fail(1)) SWIG_fail
;
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27530 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27536 wxPoint
* resultptr
;
27537 resultptr
= new wxPoint((wxPoint
&)(result
));
27538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27546 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27547 PyObject
*resultobj
;
27548 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27549 wxPoint
*arg2
= 0 ;
27551 PyObject
* obj0
= 0 ;
27552 PyObject
* obj1
= 0 ;
27553 char *kwnames
[] = {
27554 (char *) "self",(char *) "pt", NULL
27557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27559 if (SWIG_arg_fail(1)) SWIG_fail
;
27562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 Py_INCREF(Py_None
); resultobj
= Py_None
;
27578 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
;
27580 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27581 wxKeyEvent
*result
;
27582 PyObject
* obj0
= 0 ;
27583 char *kwnames
[] = {
27584 (char *) "self", NULL
27587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27589 if (SWIG_arg_fail(1)) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27594 result
= (wxKeyEvent
*) &_result_ref
;
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27607 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
;
27609 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27611 PyObject
* obj0
= 0 ;
27612 char *kwnames
[] = {
27613 (char *) "self", NULL
27616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27618 if (SWIG_arg_fail(1)) SWIG_fail
;
27620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27627 resultobj
= SWIG_From_int((int)(result
));
27635 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
;
27637 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27638 wxKeyEvent
*arg2
= 0 ;
27639 PyObject
* obj0
= 0 ;
27640 PyObject
* obj1
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self",(char *) "evt", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27647 if (SWIG_arg_fail(1)) SWIG_fail
;
27649 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27650 if (SWIG_arg_fail(2)) SWIG_fail
;
27651 if (arg2
== NULL
) {
27652 SWIG_null_ref("wxKeyEvent");
27654 if (SWIG_arg_fail(2)) SWIG_fail
;
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27663 Py_INCREF(Py_None
); resultobj
= Py_None
;
27670 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27674 PyObject
* obj0
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27681 if (SWIG_arg_fail(1)) SWIG_fail
;
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27686 result
= (wxString
*) &_result_ref
;
27689 wxPyEndAllowThreads(__tstate
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27696 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27705 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27708 wxString
*arg2
= 0 ;
27709 bool temp2
= false ;
27710 PyObject
* obj0
= 0 ;
27711 PyObject
* obj1
= 0 ;
27712 char *kwnames
[] = {
27713 (char *) "self",(char *) "label", NULL
27716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27718 if (SWIG_arg_fail(1)) SWIG_fail
;
27720 arg2
= wxString_in_helper(obj1
);
27721 if (arg2
== NULL
) SWIG_fail
;
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 (arg1
)->SetLabel((wxString
const &)*arg2
);
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 Py_INCREF(Py_None
); resultobj
= Py_None
;
27746 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27747 PyObject
*resultobj
;
27748 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27750 PyObject
* obj0
= 0 ;
27751 char *kwnames
[] = {
27752 (char *) "self", NULL
27755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27757 if (SWIG_arg_fail(1)) SWIG_fail
;
27759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27760 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27762 wxPyEndAllowThreads(__tstate
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27774 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
;
27776 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27778 PyObject
* obj0
= 0 ;
27779 PyObject
* obj1
= 0 ;
27780 char *kwnames
[] = {
27781 (char *) "self",(char *) "editCancelled", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27786 if (SWIG_arg_fail(1)) SWIG_fail
;
27788 arg2
= (bool)(SWIG_As_bool(obj1
));
27789 if (SWIG_arg_fail(2)) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 (arg1
)->SetEditCanceled(arg2
);
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 Py_INCREF(Py_None
); resultobj
= Py_None
;
27805 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
;
27807 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27808 wxString
*arg2
= 0 ;
27809 bool temp2
= false ;
27810 PyObject
* obj0
= 0 ;
27811 PyObject
* obj1
= 0 ;
27812 char *kwnames
[] = {
27813 (char *) "self",(char *) "toolTip", NULL
27816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27818 if (SWIG_arg_fail(1)) SWIG_fail
;
27820 arg2
= wxString_in_helper(obj1
);
27821 if (arg2
== NULL
) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 Py_INCREF(Py_None
); resultobj
= Py_None
;
27846 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
;
27848 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "self", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27857 if (SWIG_arg_fail(1)) SWIG_fail
;
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 result
= (arg1
)->GetToolTip();
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27878 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27881 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27883 return Py_BuildValue((char *)"");
27885 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
;
27887 wxWindow
*arg1
= (wxWindow
*) 0 ;
27888 int arg2
= (int) -1 ;
27889 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27890 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27891 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27892 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27893 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27894 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27895 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27896 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27897 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27898 wxPyTreeCtrl
*result
;
27901 bool temp7
= false ;
27902 PyObject
* obj0
= 0 ;
27903 PyObject
* obj1
= 0 ;
27904 PyObject
* obj2
= 0 ;
27905 PyObject
* obj3
= 0 ;
27906 PyObject
* obj4
= 0 ;
27907 PyObject
* obj5
= 0 ;
27908 PyObject
* obj6
= 0 ;
27909 char *kwnames
[] = {
27910 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27915 if (SWIG_arg_fail(1)) SWIG_fail
;
27918 arg2
= (int)(SWIG_As_int(obj1
));
27919 if (SWIG_arg_fail(2)) SWIG_fail
;
27925 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27931 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27936 arg5
= (long)(SWIG_As_long(obj4
));
27937 if (SWIG_arg_fail(5)) SWIG_fail
;
27942 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27943 if (SWIG_arg_fail(6)) SWIG_fail
;
27944 if (arg6
== NULL
) {
27945 SWIG_null_ref("wxValidator");
27947 if (SWIG_arg_fail(6)) SWIG_fail
;
27952 arg7
= wxString_in_helper(obj6
);
27953 if (arg7
== NULL
) SWIG_fail
;
27958 if (!wxPyCheckForApp()) SWIG_fail
;
27959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27960 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
27980 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
;
27982 wxPyTreeCtrl
*result
;
27983 char *kwnames
[] = {
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
27989 if (!wxPyCheckForApp()) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28003 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
;
28005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28006 wxWindow
*arg2
= (wxWindow
*) 0 ;
28007 int arg3
= (int) -1 ;
28008 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28009 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28010 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28011 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28012 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28013 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28014 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28015 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28016 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28020 bool temp8
= false ;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 PyObject
* obj2
= 0 ;
28024 PyObject
* obj3
= 0 ;
28025 PyObject
* obj4
= 0 ;
28026 PyObject
* obj5
= 0 ;
28027 PyObject
* obj6
= 0 ;
28028 PyObject
* obj7
= 0 ;
28029 char *kwnames
[] = {
28030 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28035 if (SWIG_arg_fail(1)) SWIG_fail
;
28036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28037 if (SWIG_arg_fail(2)) SWIG_fail
;
28040 arg3
= (int)(SWIG_As_int(obj2
));
28041 if (SWIG_arg_fail(3)) SWIG_fail
;
28047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28058 arg6
= (long)(SWIG_As_long(obj5
));
28059 if (SWIG_arg_fail(6)) SWIG_fail
;
28064 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28065 if (SWIG_arg_fail(7)) SWIG_fail
;
28066 if (arg7
== NULL
) {
28067 SWIG_null_ref("wxValidator");
28069 if (SWIG_arg_fail(7)) SWIG_fail
;
28074 arg8
= wxString_in_helper(obj7
);
28075 if (arg8
== NULL
) SWIG_fail
;
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28083 wxPyEndAllowThreads(__tstate
);
28084 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28103 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28106 PyObject
*arg2
= (PyObject
*) 0 ;
28107 PyObject
*arg3
= (PyObject
*) 0 ;
28108 PyObject
* obj0
= 0 ;
28109 PyObject
* obj1
= 0 ;
28110 PyObject
* obj2
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "self",(char *) "self",(char *) "_class", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28117 if (SWIG_arg_fail(1)) SWIG_fail
;
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 Py_INCREF(Py_None
); resultobj
= Py_None
;
28134 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28138 PyObject
* obj0
= 0 ;
28139 char *kwnames
[] = {
28140 (char *) "self", NULL
28143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28145 if (SWIG_arg_fail(1)) SWIG_fail
;
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28162 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
;
28164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28165 unsigned int result
;
28166 PyObject
* obj0
= 0 ;
28167 char *kwnames
[] = {
28168 (char *) "self", NULL
28171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28173 if (SWIG_arg_fail(1)) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28190 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
;
28192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28193 unsigned int arg2
;
28194 PyObject
* obj0
= 0 ;
28195 PyObject
* obj1
= 0 ;
28196 char *kwnames
[] = {
28197 (char *) "self",(char *) "indent", NULL
28200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28202 if (SWIG_arg_fail(1)) SWIG_fail
;
28204 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28205 if (SWIG_arg_fail(2)) SWIG_fail
;
28208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28209 (arg1
)->SetIndent(arg2
);
28211 wxPyEndAllowThreads(__tstate
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28214 Py_INCREF(Py_None
); resultobj
= Py_None
;
28221 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
;
28223 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28224 unsigned int result
;
28225 PyObject
* obj0
= 0 ;
28226 char *kwnames
[] = {
28227 (char *) "self", NULL
28230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28232 if (SWIG_arg_fail(1)) SWIG_fail
;
28234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28235 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28241 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28249 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28250 PyObject
*resultobj
;
28251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28252 unsigned int arg2
;
28253 PyObject
* obj0
= 0 ;
28254 PyObject
* obj1
= 0 ;
28255 char *kwnames
[] = {
28256 (char *) "self",(char *) "spacing", NULL
28259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28261 if (SWIG_arg_fail(1)) SWIG_fail
;
28263 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28264 if (SWIG_arg_fail(2)) SWIG_fail
;
28267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28268 (arg1
)->SetSpacing(arg2
);
28270 wxPyEndAllowThreads(__tstate
);
28271 if (PyErr_Occurred()) SWIG_fail
;
28273 Py_INCREF(Py_None
); resultobj
= Py_None
;
28280 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28281 PyObject
*resultobj
;
28282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28283 wxImageList
*result
;
28284 PyObject
* obj0
= 0 ;
28285 char *kwnames
[] = {
28286 (char *) "self", NULL
28289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28291 if (SWIG_arg_fail(1)) SWIG_fail
;
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28296 wxPyEndAllowThreads(__tstate
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= wxPyMake_wxObject(result
, 0);
28308 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
;
28310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28311 wxImageList
*result
;
28312 PyObject
* obj0
= 0 ;
28313 char *kwnames
[] = {
28314 (char *) "self", NULL
28317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28319 if (SWIG_arg_fail(1)) SWIG_fail
;
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28322 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28324 wxPyEndAllowThreads(__tstate
);
28325 if (PyErr_Occurred()) SWIG_fail
;
28328 resultobj
= wxPyMake_wxObject(result
, 0);
28336 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28337 PyObject
*resultobj
;
28338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28339 wxImageList
*arg2
= (wxImageList
*) 0 ;
28340 PyObject
* obj0
= 0 ;
28341 PyObject
* obj1
= 0 ;
28342 char *kwnames
[] = {
28343 (char *) "self",(char *) "imageList", NULL
28346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28348 if (SWIG_arg_fail(1)) SWIG_fail
;
28349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28350 if (SWIG_arg_fail(2)) SWIG_fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 (arg1
)->SetImageList(arg2
);
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28358 Py_INCREF(Py_None
); resultobj
= Py_None
;
28365 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
;
28367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28368 wxImageList
*arg2
= (wxImageList
*) 0 ;
28369 PyObject
* obj0
= 0 ;
28370 PyObject
* obj1
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self",(char *) "imageList", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28377 if (SWIG_arg_fail(1)) SWIG_fail
;
28378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28379 if (SWIG_arg_fail(2)) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 (arg1
)->SetStateImageList(arg2
);
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 Py_INCREF(Py_None
); resultobj
= Py_None
;
28394 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
;
28396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28397 wxImageList
*arg2
= (wxImageList
*) 0 ;
28398 PyObject
* obj0
= 0 ;
28399 PyObject
* obj1
= 0 ;
28400 char *kwnames
[] = {
28401 (char *) "self",(char *) "imageList", NULL
28404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28406 if (SWIG_arg_fail(1)) SWIG_fail
;
28407 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28408 if (SWIG_arg_fail(2)) SWIG_fail
;
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 (arg1
)->AssignImageList(arg2
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 Py_INCREF(Py_None
); resultobj
= Py_None
;
28423 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
;
28425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28426 wxImageList
*arg2
= (wxImageList
*) 0 ;
28427 PyObject
* obj0
= 0 ;
28428 PyObject
* obj1
= 0 ;
28429 char *kwnames
[] = {
28430 (char *) "self",(char *) "imageList", NULL
28433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28435 if (SWIG_arg_fail(1)) SWIG_fail
;
28436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28437 if (SWIG_arg_fail(2)) SWIG_fail
;
28439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28440 (arg1
)->AssignStateImageList(arg2
);
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28445 Py_INCREF(Py_None
); resultobj
= Py_None
;
28452 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28453 PyObject
*resultobj
;
28454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28455 wxTreeItemId
*arg2
= 0 ;
28457 PyObject
* obj0
= 0 ;
28458 PyObject
* obj1
= 0 ;
28459 char *kwnames
[] = {
28460 (char *) "self",(char *) "item", NULL
28463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
28464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28465 if (SWIG_arg_fail(1)) SWIG_fail
;
28467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28468 if (SWIG_arg_fail(2)) SWIG_fail
;
28469 if (arg2
== NULL
) {
28470 SWIG_null_ref("wxTreeItemId");
28472 if (SWIG_arg_fail(2)) SWIG_fail
;
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28494 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
;
28496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28497 wxTreeItemId
*arg2
= 0 ;
28498 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 PyObject
* obj2
= 0 ;
28503 char *kwnames
[] = {
28504 (char *) "self",(char *) "item",(char *) "which", NULL
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28509 if (SWIG_arg_fail(1)) SWIG_fail
;
28511 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28512 if (SWIG_arg_fail(2)) SWIG_fail
;
28513 if (arg2
== NULL
) {
28514 SWIG_null_ref("wxTreeItemId");
28516 if (SWIG_arg_fail(2)) SWIG_fail
;
28520 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28521 if (SWIG_arg_fail(3)) SWIG_fail
;
28525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28526 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28528 wxPyEndAllowThreads(__tstate
);
28529 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= SWIG_From_int((int)(result
));
28540 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28543 wxTreeItemId
*arg2
= 0 ;
28544 wxPyTreeItemData
*result
;
28545 PyObject
* obj0
= 0 ;
28546 PyObject
* obj1
= 0 ;
28547 char *kwnames
[] = {
28548 (char *) "self",(char *) "item", NULL
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28553 if (SWIG_arg_fail(1)) SWIG_fail
;
28555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28556 if (SWIG_arg_fail(2)) SWIG_fail
;
28557 if (arg2
== NULL
) {
28558 SWIG_null_ref("wxTreeItemId");
28560 if (SWIG_arg_fail(2)) SWIG_fail
;
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28566 wxPyEndAllowThreads(__tstate
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28576 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28577 PyObject
*resultobj
;
28578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28579 wxTreeItemId
*arg2
= 0 ;
28581 PyObject
* obj0
= 0 ;
28582 PyObject
* obj1
= 0 ;
28583 char *kwnames
[] = {
28584 (char *) "self",(char *) "item", NULL
28587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28589 if (SWIG_arg_fail(1)) SWIG_fail
;
28591 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28592 if (SWIG_arg_fail(2)) SWIG_fail
;
28593 if (arg2
== NULL
) {
28594 SWIG_null_ref("wxTreeItemId");
28596 if (SWIG_arg_fail(2)) SWIG_fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28605 resultobj
= result
;
28612 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
;
28614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28615 wxTreeItemId
*arg2
= 0 ;
28617 PyObject
* obj0
= 0 ;
28618 PyObject
* obj1
= 0 ;
28619 char *kwnames
[] = {
28620 (char *) "self",(char *) "item", NULL
28623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28625 if (SWIG_arg_fail(1)) SWIG_fail
;
28627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28628 if (SWIG_arg_fail(2)) SWIG_fail
;
28629 if (arg2
== NULL
) {
28630 SWIG_null_ref("wxTreeItemId");
28632 if (SWIG_arg_fail(2)) SWIG_fail
;
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28642 wxColour
* resultptr
;
28643 resultptr
= new wxColour((wxColour
&)(result
));
28644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28652 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
;
28654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28655 wxTreeItemId
*arg2
= 0 ;
28657 PyObject
* obj0
= 0 ;
28658 PyObject
* obj1
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self",(char *) "item", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28665 if (SWIG_arg_fail(1)) SWIG_fail
;
28667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28668 if (SWIG_arg_fail(2)) SWIG_fail
;
28669 if (arg2
== NULL
) {
28670 SWIG_null_ref("wxTreeItemId");
28672 if (SWIG_arg_fail(2)) SWIG_fail
;
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28682 wxColour
* resultptr
;
28683 resultptr
= new wxColour((wxColour
&)(result
));
28684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28692 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
;
28694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28695 wxTreeItemId
*arg2
= 0 ;
28697 PyObject
* obj0
= 0 ;
28698 PyObject
* obj1
= 0 ;
28699 char *kwnames
[] = {
28700 (char *) "self",(char *) "item", NULL
28703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28705 if (SWIG_arg_fail(1)) SWIG_fail
;
28707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28708 if (SWIG_arg_fail(2)) SWIG_fail
;
28709 if (arg2
== NULL
) {
28710 SWIG_null_ref("wxTreeItemId");
28712 if (SWIG_arg_fail(2)) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28722 wxFont
* resultptr
;
28723 resultptr
= new wxFont((wxFont
&)(result
));
28724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28732 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
;
28734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28735 wxTreeItemId
*arg2
= 0 ;
28736 wxString
*arg3
= 0 ;
28737 bool temp3
= false ;
28738 PyObject
* obj0
= 0 ;
28739 PyObject
* obj1
= 0 ;
28740 PyObject
* obj2
= 0 ;
28741 char *kwnames
[] = {
28742 (char *) "self",(char *) "item",(char *) "text", NULL
28745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28747 if (SWIG_arg_fail(1)) SWIG_fail
;
28749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(2)) SWIG_fail
;
28751 if (arg2
== NULL
) {
28752 SWIG_null_ref("wxTreeItemId");
28754 if (SWIG_arg_fail(2)) SWIG_fail
;
28757 arg3
= wxString_in_helper(obj2
);
28758 if (arg3
== NULL
) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 Py_INCREF(Py_None
); resultobj
= Py_None
;
28783 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28784 PyObject
*resultobj
;
28785 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28786 wxTreeItemId
*arg2
= 0 ;
28788 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28789 PyObject
* obj0
= 0 ;
28790 PyObject
* obj1
= 0 ;
28791 PyObject
* obj2
= 0 ;
28792 PyObject
* obj3
= 0 ;
28793 char *kwnames
[] = {
28794 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28799 if (SWIG_arg_fail(1)) SWIG_fail
;
28801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28802 if (SWIG_arg_fail(2)) SWIG_fail
;
28803 if (arg2
== NULL
) {
28804 SWIG_null_ref("wxTreeItemId");
28806 if (SWIG_arg_fail(2)) SWIG_fail
;
28809 arg3
= (int)(SWIG_As_int(obj2
));
28810 if (SWIG_arg_fail(3)) SWIG_fail
;
28814 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28815 if (SWIG_arg_fail(4)) SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 Py_INCREF(Py_None
); resultobj
= Py_None
;
28832 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
;
28834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28835 wxTreeItemId
*arg2
= 0 ;
28836 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28837 PyObject
* obj0
= 0 ;
28838 PyObject
* obj1
= 0 ;
28839 PyObject
* obj2
= 0 ;
28840 char *kwnames
[] = {
28841 (char *) "self",(char *) "item",(char *) "data", NULL
28844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28846 if (SWIG_arg_fail(1)) SWIG_fail
;
28848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28849 if (SWIG_arg_fail(2)) SWIG_fail
;
28850 if (arg2
== NULL
) {
28851 SWIG_null_ref("wxTreeItemId");
28853 if (SWIG_arg_fail(2)) SWIG_fail
;
28855 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28856 if (SWIG_arg_fail(3)) SWIG_fail
;
28858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28859 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28861 wxPyEndAllowThreads(__tstate
);
28862 if (PyErr_Occurred()) SWIG_fail
;
28864 Py_INCREF(Py_None
); resultobj
= Py_None
;
28871 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28872 PyObject
*resultobj
;
28873 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28874 wxTreeItemId
*arg2
= 0 ;
28875 PyObject
*arg3
= (PyObject
*) 0 ;
28876 PyObject
* obj0
= 0 ;
28877 PyObject
* obj1
= 0 ;
28878 PyObject
* obj2
= 0 ;
28879 char *kwnames
[] = {
28880 (char *) "self",(char *) "item",(char *) "obj", NULL
28883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28885 if (SWIG_arg_fail(1)) SWIG_fail
;
28887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28888 if (SWIG_arg_fail(2)) SWIG_fail
;
28889 if (arg2
== NULL
) {
28890 SWIG_null_ref("wxTreeItemId");
28892 if (SWIG_arg_fail(2)) SWIG_fail
;
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 Py_INCREF(Py_None
); resultobj
= Py_None
;
28909 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
;
28911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28912 wxTreeItemId
*arg2
= 0 ;
28913 bool arg3
= (bool) true ;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 PyObject
* obj2
= 0 ;
28917 char *kwnames
[] = {
28918 (char *) "self",(char *) "item",(char *) "has", NULL
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28923 if (SWIG_arg_fail(1)) SWIG_fail
;
28925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28926 if (SWIG_arg_fail(2)) SWIG_fail
;
28927 if (arg2
== NULL
) {
28928 SWIG_null_ref("wxTreeItemId");
28930 if (SWIG_arg_fail(2)) SWIG_fail
;
28934 arg3
= (bool)(SWIG_As_bool(obj2
));
28935 if (SWIG_arg_fail(3)) SWIG_fail
;
28939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28940 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 Py_INCREF(Py_None
); resultobj
= Py_None
;
28952 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
;
28954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28955 wxTreeItemId
*arg2
= 0 ;
28956 bool arg3
= (bool) true ;
28957 PyObject
* obj0
= 0 ;
28958 PyObject
* obj1
= 0 ;
28959 PyObject
* obj2
= 0 ;
28960 char *kwnames
[] = {
28961 (char *) "self",(char *) "item",(char *) "bold", NULL
28964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28966 if (SWIG_arg_fail(1)) SWIG_fail
;
28968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28969 if (SWIG_arg_fail(2)) SWIG_fail
;
28970 if (arg2
== NULL
) {
28971 SWIG_null_ref("wxTreeItemId");
28973 if (SWIG_arg_fail(2)) SWIG_fail
;
28977 arg3
= (bool)(SWIG_As_bool(obj2
));
28978 if (SWIG_arg_fail(3)) SWIG_fail
;
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 Py_INCREF(Py_None
); resultobj
= Py_None
;
28995 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28998 wxTreeItemId
*arg2
= 0 ;
28999 bool arg3
= (bool) true ;
29000 PyObject
* obj0
= 0 ;
29001 PyObject
* obj1
= 0 ;
29002 PyObject
* obj2
= 0 ;
29003 char *kwnames
[] = {
29004 (char *) "self",(char *) "item",(char *) "highlight", NULL
29007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29009 if (SWIG_arg_fail(1)) SWIG_fail
;
29011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29012 if (SWIG_arg_fail(2)) SWIG_fail
;
29013 if (arg2
== NULL
) {
29014 SWIG_null_ref("wxTreeItemId");
29016 if (SWIG_arg_fail(2)) SWIG_fail
;
29020 arg3
= (bool)(SWIG_As_bool(obj2
));
29021 if (SWIG_arg_fail(3)) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 Py_INCREF(Py_None
); resultobj
= Py_None
;
29038 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
;
29040 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29041 wxTreeItemId
*arg2
= 0 ;
29042 wxColour
*arg3
= 0 ;
29044 PyObject
* obj0
= 0 ;
29045 PyObject
* obj1
= 0 ;
29046 PyObject
* obj2
= 0 ;
29047 char *kwnames
[] = {
29048 (char *) "self",(char *) "item",(char *) "col", NULL
29051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29053 if (SWIG_arg_fail(1)) SWIG_fail
;
29055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29056 if (SWIG_arg_fail(2)) SWIG_fail
;
29057 if (arg2
== NULL
) {
29058 SWIG_null_ref("wxTreeItemId");
29060 if (SWIG_arg_fail(2)) SWIG_fail
;
29064 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29068 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29070 wxPyEndAllowThreads(__tstate
);
29071 if (PyErr_Occurred()) SWIG_fail
;
29073 Py_INCREF(Py_None
); resultobj
= Py_None
;
29080 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
;
29082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29083 wxTreeItemId
*arg2
= 0 ;
29084 wxColour
*arg3
= 0 ;
29086 PyObject
* obj0
= 0 ;
29087 PyObject
* obj1
= 0 ;
29088 PyObject
* obj2
= 0 ;
29089 char *kwnames
[] = {
29090 (char *) "self",(char *) "item",(char *) "col", NULL
29093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29095 if (SWIG_arg_fail(1)) SWIG_fail
;
29097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29098 if (SWIG_arg_fail(2)) SWIG_fail
;
29099 if (arg2
== NULL
) {
29100 SWIG_null_ref("wxTreeItemId");
29102 if (SWIG_arg_fail(2)) SWIG_fail
;
29106 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 Py_INCREF(Py_None
); resultobj
= Py_None
;
29122 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29123 PyObject
*resultobj
;
29124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29125 wxTreeItemId
*arg2
= 0 ;
29127 PyObject
* obj0
= 0 ;
29128 PyObject
* obj1
= 0 ;
29129 PyObject
* obj2
= 0 ;
29130 char *kwnames
[] = {
29131 (char *) "self",(char *) "item",(char *) "font", NULL
29134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29136 if (SWIG_arg_fail(1)) SWIG_fail
;
29138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29139 if (SWIG_arg_fail(2)) SWIG_fail
;
29140 if (arg2
== NULL
) {
29141 SWIG_null_ref("wxTreeItemId");
29143 if (SWIG_arg_fail(2)) SWIG_fail
;
29146 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29147 if (SWIG_arg_fail(3)) SWIG_fail
;
29148 if (arg3
== NULL
) {
29149 SWIG_null_ref("wxFont");
29151 if (SWIG_arg_fail(3)) SWIG_fail
;
29154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29155 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29157 wxPyEndAllowThreads(__tstate
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 Py_INCREF(Py_None
); resultobj
= Py_None
;
29167 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29168 PyObject
*resultobj
;
29169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29170 wxTreeItemId
*arg2
= 0 ;
29172 PyObject
* obj0
= 0 ;
29173 PyObject
* obj1
= 0 ;
29174 char *kwnames
[] = {
29175 (char *) "self",(char *) "item", NULL
29178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29180 if (SWIG_arg_fail(1)) SWIG_fail
;
29182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29183 if (SWIG_arg_fail(2)) SWIG_fail
;
29184 if (arg2
== NULL
) {
29185 SWIG_null_ref("wxTreeItemId");
29187 if (SWIG_arg_fail(2)) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29205 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29208 wxTreeItemId
*arg2
= 0 ;
29210 PyObject
* obj0
= 0 ;
29211 PyObject
* obj1
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "self",(char *) "item", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29218 if (SWIG_arg_fail(1)) SWIG_fail
;
29220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29221 if (SWIG_arg_fail(2)) SWIG_fail
;
29222 if (arg2
== NULL
) {
29223 SWIG_null_ref("wxTreeItemId");
29225 if (SWIG_arg_fail(2)) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29243 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29244 PyObject
*resultobj
;
29245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29246 wxTreeItemId
*arg2
= 0 ;
29248 PyObject
* obj0
= 0 ;
29249 PyObject
* obj1
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "self",(char *) "item", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29256 if (SWIG_arg_fail(1)) SWIG_fail
;
29258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29259 if (SWIG_arg_fail(2)) SWIG_fail
;
29260 if (arg2
== NULL
) {
29261 SWIG_null_ref("wxTreeItemId");
29263 if (SWIG_arg_fail(2)) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29281 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
;
29283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29284 wxTreeItemId
*arg2
= 0 ;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 char *kwnames
[] = {
29289 (char *) "self",(char *) "item", NULL
29292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29294 if (SWIG_arg_fail(1)) SWIG_fail
;
29296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29297 if (SWIG_arg_fail(2)) SWIG_fail
;
29298 if (arg2
== NULL
) {
29299 SWIG_null_ref("wxTreeItemId");
29301 if (SWIG_arg_fail(2)) SWIG_fail
;
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29319 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
;
29321 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29322 wxTreeItemId
*arg2
= 0 ;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 char *kwnames
[] = {
29327 (char *) "self",(char *) "item", NULL
29330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29332 if (SWIG_arg_fail(1)) SWIG_fail
;
29334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29335 if (SWIG_arg_fail(2)) SWIG_fail
;
29336 if (arg2
== NULL
) {
29337 SWIG_null_ref("wxTreeItemId");
29339 if (SWIG_arg_fail(2)) SWIG_fail
;
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29357 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
;
29359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29360 wxTreeItemId
*arg2
= 0 ;
29361 bool arg3
= (bool) true ;
29363 PyObject
* obj0
= 0 ;
29364 PyObject
* obj1
= 0 ;
29365 PyObject
* obj2
= 0 ;
29366 char *kwnames
[] = {
29367 (char *) "self",(char *) "item",(char *) "recursively", NULL
29370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29372 if (SWIG_arg_fail(1)) SWIG_fail
;
29374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29375 if (SWIG_arg_fail(2)) SWIG_fail
;
29376 if (arg2
== NULL
) {
29377 SWIG_null_ref("wxTreeItemId");
29379 if (SWIG_arg_fail(2)) SWIG_fail
;
29383 arg3
= (bool)(SWIG_As_bool(obj2
));
29384 if (SWIG_arg_fail(3)) SWIG_fail
;
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29403 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29404 PyObject
*resultobj
;
29405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29406 wxTreeItemId result
;
29407 PyObject
* obj0
= 0 ;
29408 char *kwnames
[] = {
29409 (char *) "self", NULL
29412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29414 if (SWIG_arg_fail(1)) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29423 wxTreeItemId
* resultptr
;
29424 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29433 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29434 PyObject
*resultobj
;
29435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29436 wxTreeItemId result
;
29437 PyObject
* obj0
= 0 ;
29438 char *kwnames
[] = {
29439 (char *) "self", NULL
29442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29444 if (SWIG_arg_fail(1)) SWIG_fail
;
29446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29447 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29453 wxTreeItemId
* resultptr
;
29454 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29463 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
;
29465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29467 PyObject
* obj0
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self", NULL
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29474 if (SWIG_arg_fail(1)) SWIG_fail
;
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= result
;
29489 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29490 PyObject
*resultobj
;
29491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29492 wxTreeItemId
*arg2
= 0 ;
29493 wxTreeItemId result
;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "self",(char *) "item", NULL
29500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29502 if (SWIG_arg_fail(1)) SWIG_fail
;
29504 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29505 if (SWIG_arg_fail(2)) SWIG_fail
;
29506 if (arg2
== NULL
) {
29507 SWIG_null_ref("wxTreeItemId");
29509 if (SWIG_arg_fail(2)) SWIG_fail
;
29512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29513 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29519 wxTreeItemId
* resultptr
;
29520 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29529 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29530 PyObject
*resultobj
;
29531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29532 wxTreeItemId
*arg2
= 0 ;
29534 PyObject
* obj0
= 0 ;
29535 PyObject
* obj1
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self",(char *) "item", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29542 if (SWIG_arg_fail(1)) SWIG_fail
;
29544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29545 if (SWIG_arg_fail(2)) SWIG_fail
;
29546 if (arg2
== NULL
) {
29547 SWIG_null_ref("wxTreeItemId");
29549 if (SWIG_arg_fail(2)) SWIG_fail
;
29552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29555 wxPyEndAllowThreads(__tstate
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29558 resultobj
= result
;
29565 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29566 PyObject
*resultobj
;
29567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29568 wxTreeItemId
*arg2
= 0 ;
29569 void *arg3
= (void *) 0 ;
29571 PyObject
* obj0
= 0 ;
29572 PyObject
* obj1
= 0 ;
29573 PyObject
* obj2
= 0 ;
29574 char *kwnames
[] = {
29575 (char *) "self",(char *) "item",(char *) "cookie", NULL
29578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29580 if (SWIG_arg_fail(1)) SWIG_fail
;
29582 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29583 if (SWIG_arg_fail(2)) SWIG_fail
;
29584 if (arg2
== NULL
) {
29585 SWIG_null_ref("wxTreeItemId");
29587 if (SWIG_arg_fail(2)) SWIG_fail
;
29590 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29591 SWIG_arg_fail(3);SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29601 resultobj
= result
;
29608 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
;
29610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29611 wxTreeItemId
*arg2
= 0 ;
29612 wxTreeItemId result
;
29613 PyObject
* obj0
= 0 ;
29614 PyObject
* obj1
= 0 ;
29615 char *kwnames
[] = {
29616 (char *) "self",(char *) "item", NULL
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29621 if (SWIG_arg_fail(1)) SWIG_fail
;
29623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29624 if (SWIG_arg_fail(2)) SWIG_fail
;
29625 if (arg2
== NULL
) {
29626 SWIG_null_ref("wxTreeItemId");
29628 if (SWIG_arg_fail(2)) SWIG_fail
;
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29638 wxTreeItemId
* resultptr
;
29639 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29648 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
;
29650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29651 wxTreeItemId
*arg2
= 0 ;
29652 wxTreeItemId result
;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "self",(char *) "item", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29661 if (SWIG_arg_fail(1)) SWIG_fail
;
29663 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29664 if (SWIG_arg_fail(2)) SWIG_fail
;
29665 if (arg2
== NULL
) {
29666 SWIG_null_ref("wxTreeItemId");
29668 if (SWIG_arg_fail(2)) SWIG_fail
;
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29678 wxTreeItemId
* resultptr
;
29679 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29688 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29691 wxTreeItemId
*arg2
= 0 ;
29692 wxTreeItemId result
;
29693 PyObject
* obj0
= 0 ;
29694 PyObject
* obj1
= 0 ;
29695 char *kwnames
[] = {
29696 (char *) "self",(char *) "item", NULL
29699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29701 if (SWIG_arg_fail(1)) SWIG_fail
;
29703 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29704 if (SWIG_arg_fail(2)) SWIG_fail
;
29705 if (arg2
== NULL
) {
29706 SWIG_null_ref("wxTreeItemId");
29708 if (SWIG_arg_fail(2)) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29718 wxTreeItemId
* resultptr
;
29719 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29728 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29729 PyObject
*resultobj
;
29730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29731 wxTreeItemId result
;
29732 PyObject
* obj0
= 0 ;
29733 char *kwnames
[] = {
29734 (char *) "self", NULL
29737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29739 if (SWIG_arg_fail(1)) SWIG_fail
;
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29744 wxPyEndAllowThreads(__tstate
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29748 wxTreeItemId
* resultptr
;
29749 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29758 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
;
29760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29761 wxTreeItemId
*arg2
= 0 ;
29762 wxTreeItemId result
;
29763 PyObject
* obj0
= 0 ;
29764 PyObject
* obj1
= 0 ;
29765 char *kwnames
[] = {
29766 (char *) "self",(char *) "item", NULL
29769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29771 if (SWIG_arg_fail(1)) SWIG_fail
;
29773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29774 if (SWIG_arg_fail(2)) SWIG_fail
;
29775 if (arg2
== NULL
) {
29776 SWIG_null_ref("wxTreeItemId");
29778 if (SWIG_arg_fail(2)) SWIG_fail
;
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29788 wxTreeItemId
* resultptr
;
29789 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29798 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
;
29800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29801 wxTreeItemId
*arg2
= 0 ;
29802 wxTreeItemId result
;
29803 PyObject
* obj0
= 0 ;
29804 PyObject
* obj1
= 0 ;
29805 char *kwnames
[] = {
29806 (char *) "self",(char *) "item", NULL
29809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29811 if (SWIG_arg_fail(1)) SWIG_fail
;
29813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29814 if (SWIG_arg_fail(2)) SWIG_fail
;
29815 if (arg2
== NULL
) {
29816 SWIG_null_ref("wxTreeItemId");
29818 if (SWIG_arg_fail(2)) SWIG_fail
;
29821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29822 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29824 wxPyEndAllowThreads(__tstate
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29828 wxTreeItemId
* resultptr
;
29829 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29838 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29839 PyObject
*resultobj
;
29840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29841 wxString
*arg2
= 0 ;
29842 int arg3
= (int) -1 ;
29843 int arg4
= (int) -1 ;
29844 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29845 wxTreeItemId result
;
29846 bool temp2
= false ;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 PyObject
* obj2
= 0 ;
29850 PyObject
* obj3
= 0 ;
29851 PyObject
* obj4
= 0 ;
29852 char *kwnames
[] = {
29853 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29858 if (SWIG_arg_fail(1)) SWIG_fail
;
29860 arg2
= wxString_in_helper(obj1
);
29861 if (arg2
== NULL
) SWIG_fail
;
29866 arg3
= (int)(SWIG_As_int(obj2
));
29867 if (SWIG_arg_fail(3)) SWIG_fail
;
29872 arg4
= (int)(SWIG_As_int(obj3
));
29873 if (SWIG_arg_fail(4)) SWIG_fail
;
29877 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29878 if (SWIG_arg_fail(5)) SWIG_fail
;
29881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29882 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29884 wxPyEndAllowThreads(__tstate
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29888 wxTreeItemId
* resultptr
;
29889 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29906 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
;
29908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29909 wxTreeItemId
*arg2
= 0 ;
29910 wxString
*arg3
= 0 ;
29911 int arg4
= (int) -1 ;
29912 int arg5
= (int) -1 ;
29913 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29914 wxTreeItemId result
;
29915 bool temp3
= false ;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 PyObject
* obj3
= 0 ;
29920 PyObject
* obj4
= 0 ;
29921 PyObject
* obj5
= 0 ;
29922 char *kwnames
[] = {
29923 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29928 if (SWIG_arg_fail(1)) SWIG_fail
;
29930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29931 if (SWIG_arg_fail(2)) SWIG_fail
;
29932 if (arg2
== NULL
) {
29933 SWIG_null_ref("wxTreeItemId");
29935 if (SWIG_arg_fail(2)) SWIG_fail
;
29938 arg3
= wxString_in_helper(obj2
);
29939 if (arg3
== NULL
) SWIG_fail
;
29944 arg4
= (int)(SWIG_As_int(obj3
));
29945 if (SWIG_arg_fail(4)) SWIG_fail
;
29950 arg5
= (int)(SWIG_As_int(obj4
));
29951 if (SWIG_arg_fail(5)) SWIG_fail
;
29955 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29956 if (SWIG_arg_fail(6)) SWIG_fail
;
29959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29960 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
29962 wxPyEndAllowThreads(__tstate
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29966 wxTreeItemId
* resultptr
;
29967 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29984 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29985 PyObject
*resultobj
;
29986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29987 wxTreeItemId
*arg2
= 0 ;
29988 wxTreeItemId
*arg3
= 0 ;
29989 wxString
*arg4
= 0 ;
29990 int arg5
= (int) -1 ;
29991 int arg6
= (int) -1 ;
29992 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
29993 wxTreeItemId result
;
29994 bool temp4
= false ;
29995 PyObject
* obj0
= 0 ;
29996 PyObject
* obj1
= 0 ;
29997 PyObject
* obj2
= 0 ;
29998 PyObject
* obj3
= 0 ;
29999 PyObject
* obj4
= 0 ;
30000 PyObject
* obj5
= 0 ;
30001 PyObject
* obj6
= 0 ;
30002 char *kwnames
[] = {
30003 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30008 if (SWIG_arg_fail(1)) SWIG_fail
;
30010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30011 if (SWIG_arg_fail(2)) SWIG_fail
;
30012 if (arg2
== NULL
) {
30013 SWIG_null_ref("wxTreeItemId");
30015 if (SWIG_arg_fail(2)) SWIG_fail
;
30018 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30019 if (SWIG_arg_fail(3)) SWIG_fail
;
30020 if (arg3
== NULL
) {
30021 SWIG_null_ref("wxTreeItemId");
30023 if (SWIG_arg_fail(3)) SWIG_fail
;
30026 arg4
= wxString_in_helper(obj3
);
30027 if (arg4
== NULL
) SWIG_fail
;
30032 arg5
= (int)(SWIG_As_int(obj4
));
30033 if (SWIG_arg_fail(5)) SWIG_fail
;
30038 arg6
= (int)(SWIG_As_int(obj5
));
30039 if (SWIG_arg_fail(6)) SWIG_fail
;
30043 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30044 if (SWIG_arg_fail(7)) SWIG_fail
;
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30054 wxTreeItemId
* resultptr
;
30055 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30072 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
;
30074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30075 wxTreeItemId
*arg2
= 0 ;
30077 wxString
*arg4
= 0 ;
30078 int arg5
= (int) -1 ;
30079 int arg6
= (int) -1 ;
30080 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30081 wxTreeItemId result
;
30082 bool temp4
= false ;
30083 PyObject
* obj0
= 0 ;
30084 PyObject
* obj1
= 0 ;
30085 PyObject
* obj2
= 0 ;
30086 PyObject
* obj3
= 0 ;
30087 PyObject
* obj4
= 0 ;
30088 PyObject
* obj5
= 0 ;
30089 PyObject
* obj6
= 0 ;
30090 char *kwnames
[] = {
30091 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30096 if (SWIG_arg_fail(1)) SWIG_fail
;
30098 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30099 if (SWIG_arg_fail(2)) SWIG_fail
;
30100 if (arg2
== NULL
) {
30101 SWIG_null_ref("wxTreeItemId");
30103 if (SWIG_arg_fail(2)) SWIG_fail
;
30106 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30107 if (SWIG_arg_fail(3)) SWIG_fail
;
30110 arg4
= wxString_in_helper(obj3
);
30111 if (arg4
== NULL
) SWIG_fail
;
30116 arg5
= (int)(SWIG_As_int(obj4
));
30117 if (SWIG_arg_fail(5)) SWIG_fail
;
30122 arg6
= (int)(SWIG_As_int(obj5
));
30123 if (SWIG_arg_fail(6)) SWIG_fail
;
30127 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30128 if (SWIG_arg_fail(7)) SWIG_fail
;
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30138 wxTreeItemId
* resultptr
;
30139 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30156 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30157 PyObject
*resultobj
;
30158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30159 wxTreeItemId
*arg2
= 0 ;
30160 wxString
*arg3
= 0 ;
30161 int arg4
= (int) -1 ;
30162 int arg5
= (int) -1 ;
30163 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30164 wxTreeItemId result
;
30165 bool temp3
= false ;
30166 PyObject
* obj0
= 0 ;
30167 PyObject
* obj1
= 0 ;
30168 PyObject
* obj2
= 0 ;
30169 PyObject
* obj3
= 0 ;
30170 PyObject
* obj4
= 0 ;
30171 PyObject
* obj5
= 0 ;
30172 char *kwnames
[] = {
30173 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30178 if (SWIG_arg_fail(1)) SWIG_fail
;
30180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30181 if (SWIG_arg_fail(2)) SWIG_fail
;
30182 if (arg2
== NULL
) {
30183 SWIG_null_ref("wxTreeItemId");
30185 if (SWIG_arg_fail(2)) SWIG_fail
;
30188 arg3
= wxString_in_helper(obj2
);
30189 if (arg3
== NULL
) SWIG_fail
;
30194 arg4
= (int)(SWIG_As_int(obj3
));
30195 if (SWIG_arg_fail(4)) SWIG_fail
;
30200 arg5
= (int)(SWIG_As_int(obj4
));
30201 if (SWIG_arg_fail(5)) SWIG_fail
;
30205 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30206 if (SWIG_arg_fail(6)) SWIG_fail
;
30209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30210 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30216 wxTreeItemId
* resultptr
;
30217 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30234 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
;
30236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30237 wxTreeItemId
*arg2
= 0 ;
30238 PyObject
* obj0
= 0 ;
30239 PyObject
* obj1
= 0 ;
30240 char *kwnames
[] = {
30241 (char *) "self",(char *) "item", NULL
30244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30246 if (SWIG_arg_fail(1)) SWIG_fail
;
30248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30249 if (SWIG_arg_fail(2)) SWIG_fail
;
30250 if (arg2
== NULL
) {
30251 SWIG_null_ref("wxTreeItemId");
30253 if (SWIG_arg_fail(2)) SWIG_fail
;
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 Py_INCREF(Py_None
); resultobj
= Py_None
;
30269 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30270 PyObject
*resultobj
;
30271 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30272 wxTreeItemId
*arg2
= 0 ;
30273 PyObject
* obj0
= 0 ;
30274 PyObject
* obj1
= 0 ;
30275 char *kwnames
[] = {
30276 (char *) "self",(char *) "item", NULL
30279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30281 if (SWIG_arg_fail(1)) SWIG_fail
;
30283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30284 if (SWIG_arg_fail(2)) SWIG_fail
;
30285 if (arg2
== NULL
) {
30286 SWIG_null_ref("wxTreeItemId");
30288 if (SWIG_arg_fail(2)) SWIG_fail
;
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 Py_INCREF(Py_None
); resultobj
= Py_None
;
30304 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
;
30306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30307 PyObject
* obj0
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self", NULL
30312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30314 if (SWIG_arg_fail(1)) SWIG_fail
;
30316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30317 (arg1
)->DeleteAllItems();
30319 wxPyEndAllowThreads(__tstate
);
30320 if (PyErr_Occurred()) SWIG_fail
;
30322 Py_INCREF(Py_None
); resultobj
= Py_None
;
30329 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30330 PyObject
*resultobj
;
30331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30332 wxTreeItemId
*arg2
= 0 ;
30333 PyObject
* obj0
= 0 ;
30334 PyObject
* obj1
= 0 ;
30335 char *kwnames
[] = {
30336 (char *) "self",(char *) "item", NULL
30339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30341 if (SWIG_arg_fail(1)) SWIG_fail
;
30343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30344 if (SWIG_arg_fail(2)) SWIG_fail
;
30345 if (arg2
== NULL
) {
30346 SWIG_null_ref("wxTreeItemId");
30348 if (SWIG_arg_fail(2)) SWIG_fail
;
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30354 wxPyEndAllowThreads(__tstate
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30357 Py_INCREF(Py_None
); resultobj
= Py_None
;
30364 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30365 PyObject
*resultobj
;
30366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30367 wxTreeItemId
*arg2
= 0 ;
30368 PyObject
* obj0
= 0 ;
30369 PyObject
* obj1
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "self",(char *) "item", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30376 if (SWIG_arg_fail(1)) SWIG_fail
;
30378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30379 if (SWIG_arg_fail(2)) SWIG_fail
;
30380 if (arg2
== NULL
) {
30381 SWIG_null_ref("wxTreeItemId");
30383 if (SWIG_arg_fail(2)) SWIG_fail
;
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30392 Py_INCREF(Py_None
); resultobj
= Py_None
;
30399 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30400 PyObject
*resultobj
;
30401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30402 wxTreeItemId
*arg2
= 0 ;
30403 PyObject
* obj0
= 0 ;
30404 PyObject
* obj1
= 0 ;
30405 char *kwnames
[] = {
30406 (char *) "self",(char *) "item", NULL
30409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30411 if (SWIG_arg_fail(1)) SWIG_fail
;
30413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30414 if (SWIG_arg_fail(2)) SWIG_fail
;
30415 if (arg2
== NULL
) {
30416 SWIG_null_ref("wxTreeItemId");
30418 if (SWIG_arg_fail(2)) SWIG_fail
;
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30427 Py_INCREF(Py_None
); resultobj
= Py_None
;
30434 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30435 PyObject
*resultobj
;
30436 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30437 wxTreeItemId
*arg2
= 0 ;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 char *kwnames
[] = {
30441 (char *) "self",(char *) "item", NULL
30444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30446 if (SWIG_arg_fail(1)) SWIG_fail
;
30448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30449 if (SWIG_arg_fail(2)) SWIG_fail
;
30450 if (arg2
== NULL
) {
30451 SWIG_null_ref("wxTreeItemId");
30453 if (SWIG_arg_fail(2)) SWIG_fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 Py_INCREF(Py_None
); resultobj
= Py_None
;
30469 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
;
30471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30472 PyObject
* obj0
= 0 ;
30473 char *kwnames
[] = {
30474 (char *) "self", NULL
30477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30479 if (SWIG_arg_fail(1)) SWIG_fail
;
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 (arg1
)->Unselect();
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30487 Py_INCREF(Py_None
); resultobj
= Py_None
;
30494 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30495 PyObject
*resultobj
;
30496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30497 wxTreeItemId
*arg2
= 0 ;
30498 PyObject
* obj0
= 0 ;
30499 PyObject
* obj1
= 0 ;
30500 char *kwnames
[] = {
30501 (char *) "self",(char *) "item", NULL
30504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30506 if (SWIG_arg_fail(1)) SWIG_fail
;
30508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30509 if (SWIG_arg_fail(2)) SWIG_fail
;
30510 if (arg2
== NULL
) {
30511 SWIG_null_ref("wxTreeItemId");
30513 if (SWIG_arg_fail(2)) SWIG_fail
;
30516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30517 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30519 wxPyEndAllowThreads(__tstate
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 Py_INCREF(Py_None
); resultobj
= Py_None
;
30529 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
;
30531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30532 PyObject
* obj0
= 0 ;
30533 char *kwnames
[] = {
30534 (char *) "self", NULL
30537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30539 if (SWIG_arg_fail(1)) SWIG_fail
;
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 (arg1
)->UnselectAll();
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 Py_INCREF(Py_None
); resultobj
= Py_None
;
30554 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
;
30556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30557 wxTreeItemId
*arg2
= 0 ;
30558 bool arg3
= (bool) true ;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 PyObject
* obj2
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "self",(char *) "item",(char *) "select", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30568 if (SWIG_arg_fail(1)) SWIG_fail
;
30570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30571 if (SWIG_arg_fail(2)) SWIG_fail
;
30572 if (arg2
== NULL
) {
30573 SWIG_null_ref("wxTreeItemId");
30575 if (SWIG_arg_fail(2)) SWIG_fail
;
30579 arg3
= (bool)(SWIG_As_bool(obj2
));
30580 if (SWIG_arg_fail(3)) SWIG_fail
;
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30587 wxPyEndAllowThreads(__tstate
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 Py_INCREF(Py_None
); resultobj
= Py_None
;
30597 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30598 PyObject
*resultobj
;
30599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30600 wxTreeItemId
*arg2
= 0 ;
30601 PyObject
* obj0
= 0 ;
30602 PyObject
* obj1
= 0 ;
30603 char *kwnames
[] = {
30604 (char *) "self",(char *) "item", NULL
30607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30609 if (SWIG_arg_fail(1)) SWIG_fail
;
30611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30612 if (SWIG_arg_fail(2)) SWIG_fail
;
30613 if (arg2
== NULL
) {
30614 SWIG_null_ref("wxTreeItemId");
30616 if (SWIG_arg_fail(2)) SWIG_fail
;
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 Py_INCREF(Py_None
); resultobj
= Py_None
;
30632 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30635 wxTreeItemId
*arg2
= 0 ;
30636 PyObject
* obj0
= 0 ;
30637 PyObject
* obj1
= 0 ;
30638 char *kwnames
[] = {
30639 (char *) "self",(char *) "item", NULL
30642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30644 if (SWIG_arg_fail(1)) SWIG_fail
;
30646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30647 if (SWIG_arg_fail(2)) SWIG_fail
;
30648 if (arg2
== NULL
) {
30649 SWIG_null_ref("wxTreeItemId");
30651 if (SWIG_arg_fail(2)) SWIG_fail
;
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30660 Py_INCREF(Py_None
); resultobj
= Py_None
;
30667 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30668 PyObject
*resultobj
;
30669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30670 wxTreeItemId
*arg2
= 0 ;
30671 PyObject
* obj0
= 0 ;
30672 PyObject
* obj1
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "self",(char *) "item", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30679 if (SWIG_arg_fail(1)) SWIG_fail
;
30681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30682 if (SWIG_arg_fail(2)) SWIG_fail
;
30683 if (arg2
== NULL
) {
30684 SWIG_null_ref("wxTreeItemId");
30686 if (SWIG_arg_fail(2)) SWIG_fail
;
30689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30695 Py_INCREF(Py_None
); resultobj
= Py_None
;
30702 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30703 PyObject
*resultobj
;
30704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30705 wxTreeItemId
*arg2
= 0 ;
30706 PyObject
* obj0
= 0 ;
30707 PyObject
* obj1
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "self",(char *) "item", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30714 if (SWIG_arg_fail(1)) SWIG_fail
;
30716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30717 if (SWIG_arg_fail(2)) SWIG_fail
;
30718 if (arg2
== NULL
) {
30719 SWIG_null_ref("wxTreeItemId");
30721 if (SWIG_arg_fail(2)) SWIG_fail
;
30724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30727 wxPyEndAllowThreads(__tstate
);
30728 if (PyErr_Occurred()) SWIG_fail
;
30730 Py_INCREF(Py_None
); resultobj
= Py_None
;
30737 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
;
30739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30740 wxTextCtrl
*result
;
30741 PyObject
* obj0
= 0 ;
30742 char *kwnames
[] = {
30743 (char *) "self", NULL
30746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30748 if (SWIG_arg_fail(1)) SWIG_fail
;
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30753 wxPyEndAllowThreads(__tstate
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30757 resultobj
= wxPyMake_wxObject(result
, 0);
30765 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30766 PyObject
*resultobj
;
30767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30768 wxTreeItemId
*arg2
= 0 ;
30769 PyObject
* obj0
= 0 ;
30770 PyObject
* obj1
= 0 ;
30771 char *kwnames
[] = {
30772 (char *) "self",(char *) "item", NULL
30775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30777 if (SWIG_arg_fail(1)) SWIG_fail
;
30779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30780 if (SWIG_arg_fail(2)) SWIG_fail
;
30781 if (arg2
== NULL
) {
30782 SWIG_null_ref("wxTreeItemId");
30784 if (SWIG_arg_fail(2)) SWIG_fail
;
30787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30788 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30793 Py_INCREF(Py_None
); resultobj
= Py_None
;
30800 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30801 PyObject
*resultobj
;
30802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30803 wxPoint
*arg2
= 0 ;
30805 wxTreeItemId result
;
30809 PyObject
* obj0
= 0 ;
30810 PyObject
* obj1
= 0 ;
30811 char *kwnames
[] = {
30812 (char *) "self",(char *) "point", NULL
30815 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30818 if (SWIG_arg_fail(1)) SWIG_fail
;
30821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30831 wxTreeItemId
* resultptr
;
30832 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30835 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30836 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30843 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
;
30845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30846 wxTreeItemId
*arg2
= 0 ;
30847 bool arg3
= (bool) false ;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 PyObject
* obj2
= 0 ;
30852 char *kwnames
[] = {
30853 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30858 if (SWIG_arg_fail(1)) SWIG_fail
;
30860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30861 if (SWIG_arg_fail(2)) SWIG_fail
;
30862 if (arg2
== NULL
) {
30863 SWIG_null_ref("wxTreeItemId");
30865 if (SWIG_arg_fail(2)) SWIG_fail
;
30869 arg3
= (bool)(SWIG_As_bool(obj2
));
30870 if (SWIG_arg_fail(3)) SWIG_fail
;
30874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30880 resultobj
= result
;
30887 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
;
30889 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30890 wxVisualAttributes result
;
30891 PyObject
* obj0
= 0 ;
30892 char *kwnames
[] = {
30893 (char *) "variant", NULL
30896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30899 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30900 if (SWIG_arg_fail(1)) SWIG_fail
;
30904 if (!wxPyCheckForApp()) SWIG_fail
;
30905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30906 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30912 wxVisualAttributes
* resultptr
;
30913 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30922 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30925 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30927 return Py_BuildValue((char *)"");
30929 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30930 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30935 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30940 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30942 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30949 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30950 PyObject
*resultobj
;
30951 wxWindow
*arg1
= (wxWindow
*) 0 ;
30952 int arg2
= (int) (int)-1 ;
30953 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30954 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30955 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30956 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30957 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30958 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30959 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
30960 wxString
const &arg7_defvalue
= wxPyEmptyString
;
30961 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30962 int arg8
= (int) 0 ;
30963 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
30964 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
30965 wxGenericDirCtrl
*result
;
30966 bool temp3
= false ;
30969 bool temp7
= false ;
30970 bool temp9
= false ;
30971 PyObject
* obj0
= 0 ;
30972 PyObject
* obj1
= 0 ;
30973 PyObject
* obj2
= 0 ;
30974 PyObject
* obj3
= 0 ;
30975 PyObject
* obj4
= 0 ;
30976 PyObject
* obj5
= 0 ;
30977 PyObject
* obj6
= 0 ;
30978 PyObject
* obj7
= 0 ;
30979 PyObject
* obj8
= 0 ;
30980 char *kwnames
[] = {
30981 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
30985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30986 if (SWIG_arg_fail(1)) SWIG_fail
;
30989 arg2
= (int const)(SWIG_As_int(obj1
));
30990 if (SWIG_arg_fail(2)) SWIG_fail
;
30995 arg3
= wxString_in_helper(obj2
);
30996 if (arg3
== NULL
) SWIG_fail
;
31003 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31009 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31014 arg6
= (long)(SWIG_As_long(obj5
));
31015 if (SWIG_arg_fail(6)) SWIG_fail
;
31020 arg7
= wxString_in_helper(obj6
);
31021 if (arg7
== NULL
) SWIG_fail
;
31027 arg8
= (int)(SWIG_As_int(obj7
));
31028 if (SWIG_arg_fail(8)) SWIG_fail
;
31033 arg9
= wxString_in_helper(obj8
);
31034 if (arg9
== NULL
) SWIG_fail
;
31039 if (!wxPyCheckForApp()) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31077 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31078 PyObject
*resultobj
;
31079 wxGenericDirCtrl
*result
;
31080 char *kwnames
[] = {
31084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31086 if (!wxPyCheckForApp()) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31100 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
;
31102 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31103 wxWindow
*arg2
= (wxWindow
*) 0 ;
31104 int arg3
= (int) (int)-1 ;
31105 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31106 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31107 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31108 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31109 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31110 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31111 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31112 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31113 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31114 int arg9
= (int) 0 ;
31115 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31116 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31118 bool temp4
= false ;
31121 bool temp8
= false ;
31122 bool temp10
= false ;
31123 PyObject
* obj0
= 0 ;
31124 PyObject
* obj1
= 0 ;
31125 PyObject
* obj2
= 0 ;
31126 PyObject
* obj3
= 0 ;
31127 PyObject
* obj4
= 0 ;
31128 PyObject
* obj5
= 0 ;
31129 PyObject
* obj6
= 0 ;
31130 PyObject
* obj7
= 0 ;
31131 PyObject
* obj8
= 0 ;
31132 PyObject
* obj9
= 0 ;
31133 char *kwnames
[] = {
31134 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31139 if (SWIG_arg_fail(1)) SWIG_fail
;
31140 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31141 if (SWIG_arg_fail(2)) SWIG_fail
;
31144 arg3
= (int const)(SWIG_As_int(obj2
));
31145 if (SWIG_arg_fail(3)) SWIG_fail
;
31150 arg4
= wxString_in_helper(obj3
);
31151 if (arg4
== NULL
) SWIG_fail
;
31158 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31164 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31169 arg7
= (long)(SWIG_As_long(obj6
));
31170 if (SWIG_arg_fail(7)) SWIG_fail
;
31175 arg8
= wxString_in_helper(obj7
);
31176 if (arg8
== NULL
) SWIG_fail
;
31182 arg9
= (int)(SWIG_As_int(obj8
));
31183 if (SWIG_arg_fail(9)) SWIG_fail
;
31188 arg10
= wxString_in_helper(obj9
);
31189 if (arg10
== NULL
) SWIG_fail
;
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31233 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
;
31235 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31236 wxString
*arg2
= 0 ;
31238 bool temp2
= false ;
31239 PyObject
* obj0
= 0 ;
31240 PyObject
* obj1
= 0 ;
31241 char *kwnames
[] = {
31242 (char *) "self",(char *) "path", NULL
31245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31247 if (SWIG_arg_fail(1)) SWIG_fail
;
31249 arg2
= wxString_in_helper(obj1
);
31250 if (arg2
== NULL
) SWIG_fail
;
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31255 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31257 wxPyEndAllowThreads(__tstate
);
31258 if (PyErr_Occurred()) SWIG_fail
;
31261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31277 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
;
31279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31281 PyObject
* obj0
= 0 ;
31282 char *kwnames
[] = {
31283 (char *) "self", NULL
31286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31288 if (SWIG_arg_fail(1)) SWIG_fail
;
31290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31291 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31293 wxPyEndAllowThreads(__tstate
);
31294 if (PyErr_Occurred()) SWIG_fail
;
31298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31309 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31310 PyObject
*resultobj
;
31311 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31312 wxString
*arg2
= 0 ;
31313 bool temp2
= false ;
31314 PyObject
* obj0
= 0 ;
31315 PyObject
* obj1
= 0 ;
31316 char *kwnames
[] = {
31317 (char *) "self",(char *) "path", NULL
31320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31322 if (SWIG_arg_fail(1)) SWIG_fail
;
31324 arg2
= wxString_in_helper(obj1
);
31325 if (arg2
== NULL
) SWIG_fail
;
31329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31330 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31332 wxPyEndAllowThreads(__tstate
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31335 Py_INCREF(Py_None
); resultobj
= Py_None
;
31350 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
;
31352 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 char *kwnames
[] = {
31356 (char *) "self", NULL
31359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31361 if (SWIG_arg_fail(1)) SWIG_fail
;
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31382 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
;
31384 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31386 PyObject
* obj0
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31393 if (SWIG_arg_fail(1)) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31398 wxPyEndAllowThreads(__tstate
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31414 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31415 PyObject
*resultobj
;
31416 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31417 wxString
*arg2
= 0 ;
31418 bool temp2
= false ;
31419 PyObject
* obj0
= 0 ;
31420 PyObject
* obj1
= 0 ;
31421 char *kwnames
[] = {
31422 (char *) "self",(char *) "path", NULL
31425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31427 if (SWIG_arg_fail(1)) SWIG_fail
;
31429 arg2
= wxString_in_helper(obj1
);
31430 if (arg2
== NULL
) SWIG_fail
;
31434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31435 (arg1
)->SetPath((wxString
const &)*arg2
);
31437 wxPyEndAllowThreads(__tstate
);
31438 if (PyErr_Occurred()) SWIG_fail
;
31440 Py_INCREF(Py_None
); resultobj
= Py_None
;
31455 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31456 PyObject
*resultobj
;
31457 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31459 PyObject
* obj0
= 0 ;
31460 PyObject
* obj1
= 0 ;
31461 char *kwnames
[] = {
31462 (char *) "self",(char *) "show", NULL
31465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31467 if (SWIG_arg_fail(1)) SWIG_fail
;
31469 arg2
= (bool)(SWIG_As_bool(obj1
));
31470 if (SWIG_arg_fail(2)) SWIG_fail
;
31473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31474 (arg1
)->ShowHidden(arg2
);
31476 wxPyEndAllowThreads(__tstate
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31479 Py_INCREF(Py_None
); resultobj
= Py_None
;
31486 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31487 PyObject
*resultobj
;
31488 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31490 PyObject
* obj0
= 0 ;
31491 char *kwnames
[] = {
31492 (char *) "self", NULL
31495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31497 if (SWIG_arg_fail(1)) SWIG_fail
;
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 result
= (bool)(arg1
)->GetShowHidden();
31502 wxPyEndAllowThreads(__tstate
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31514 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
;
31516 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31518 PyObject
* obj0
= 0 ;
31519 char *kwnames
[] = {
31520 (char *) "self", NULL
31523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31525 if (SWIG_arg_fail(1)) SWIG_fail
;
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31530 wxPyEndAllowThreads(__tstate
);
31531 if (PyErr_Occurred()) SWIG_fail
;
31535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31546 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31547 PyObject
*resultobj
;
31548 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31549 wxString
*arg2
= 0 ;
31550 bool temp2
= false ;
31551 PyObject
* obj0
= 0 ;
31552 PyObject
* obj1
= 0 ;
31553 char *kwnames
[] = {
31554 (char *) "self",(char *) "filter", NULL
31557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31559 if (SWIG_arg_fail(1)) SWIG_fail
;
31561 arg2
= wxString_in_helper(obj1
);
31562 if (arg2
== NULL
) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 (arg1
)->SetFilter((wxString
const &)*arg2
);
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31572 Py_INCREF(Py_None
); resultobj
= Py_None
;
31587 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
;
31589 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31591 PyObject
* obj0
= 0 ;
31592 char *kwnames
[] = {
31593 (char *) "self", NULL
31596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31598 if (SWIG_arg_fail(1)) SWIG_fail
;
31600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31601 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31603 wxPyEndAllowThreads(__tstate
);
31604 if (PyErr_Occurred()) SWIG_fail
;
31607 resultobj
= SWIG_From_int((int)(result
));
31615 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31616 PyObject
*resultobj
;
31617 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31619 PyObject
* obj0
= 0 ;
31620 PyObject
* obj1
= 0 ;
31621 char *kwnames
[] = {
31622 (char *) "self",(char *) "n", NULL
31625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31627 if (SWIG_arg_fail(1)) SWIG_fail
;
31629 arg2
= (int)(SWIG_As_int(obj1
));
31630 if (SWIG_arg_fail(2)) SWIG_fail
;
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 (arg1
)->SetFilterIndex(arg2
);
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 Py_INCREF(Py_None
); resultobj
= Py_None
;
31646 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31647 PyObject
*resultobj
;
31648 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31649 wxTreeItemId result
;
31650 PyObject
* obj0
= 0 ;
31651 char *kwnames
[] = {
31652 (char *) "self", NULL
31655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31657 if (SWIG_arg_fail(1)) SWIG_fail
;
31659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31660 result
= (arg1
)->GetRootId();
31662 wxPyEndAllowThreads(__tstate
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31666 wxTreeItemId
* resultptr
;
31667 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31676 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31677 PyObject
*resultobj
;
31678 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31679 wxPyTreeCtrl
*result
;
31680 PyObject
* obj0
= 0 ;
31681 char *kwnames
[] = {
31682 (char *) "self", NULL
31685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31687 if (SWIG_arg_fail(1)) SWIG_fail
;
31689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31690 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31692 wxPyEndAllowThreads(__tstate
);
31693 if (PyErr_Occurred()) SWIG_fail
;
31696 resultobj
= wxPyMake_wxObject(result
, 0);
31704 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31705 PyObject
*resultobj
;
31706 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31707 wxDirFilterListCtrl
*result
;
31708 PyObject
* obj0
= 0 ;
31709 char *kwnames
[] = {
31710 (char *) "self", NULL
31713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31715 if (SWIG_arg_fail(1)) SWIG_fail
;
31717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31718 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31720 wxPyEndAllowThreads(__tstate
);
31721 if (PyErr_Occurred()) SWIG_fail
;
31723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31730 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31731 PyObject
*resultobj
;
31732 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31733 wxTreeItemId arg2
;
31734 wxString
*arg3
= 0 ;
31736 wxTreeItemId result
;
31737 bool temp3
= false ;
31740 PyObject
* obj0
= 0 ;
31741 PyObject
* obj1
= 0 ;
31742 PyObject
* obj2
= 0 ;
31743 char *kwnames
[] = {
31744 (char *) "self",(char *) "parentId",(char *) "path", NULL
31747 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31750 if (SWIG_arg_fail(1)) SWIG_fail
;
31752 wxTreeItemId
* argp
;
31753 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31754 if (SWIG_arg_fail(2)) SWIG_fail
;
31755 if (argp
== NULL
) {
31756 SWIG_null_ref("wxTreeItemId");
31758 if (SWIG_arg_fail(2)) SWIG_fail
;
31762 arg3
= wxString_in_helper(obj2
);
31763 if (arg3
== NULL
) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31774 wxTreeItemId
* resultptr
;
31775 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31778 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31779 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31794 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
;
31796 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31797 PyObject
* obj0
= 0 ;
31798 char *kwnames
[] = {
31799 (char *) "self", NULL
31802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31804 if (SWIG_arg_fail(1)) SWIG_fail
;
31806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31807 (arg1
)->DoResize();
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 Py_INCREF(Py_None
); resultobj
= Py_None
;
31819 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
;
31821 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31822 PyObject
* obj0
= 0 ;
31823 char *kwnames
[] = {
31824 (char *) "self", NULL
31827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31829 if (SWIG_arg_fail(1)) SWIG_fail
;
31831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 (arg1
)->ReCreateTree();
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31837 Py_INCREF(Py_None
); resultobj
= Py_None
;
31844 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31847 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31849 return Py_BuildValue((char *)"");
31851 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
;
31853 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31854 int arg2
= (int) (int)-1 ;
31855 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31856 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31857 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31858 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31859 long arg5
= (long) 0 ;
31860 wxDirFilterListCtrl
*result
;
31863 PyObject
* obj0
= 0 ;
31864 PyObject
* obj1
= 0 ;
31865 PyObject
* obj2
= 0 ;
31866 PyObject
* obj3
= 0 ;
31867 PyObject
* obj4
= 0 ;
31868 char *kwnames
[] = {
31869 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31874 if (SWIG_arg_fail(1)) SWIG_fail
;
31877 arg2
= (int const)(SWIG_As_int(obj1
));
31878 if (SWIG_arg_fail(2)) SWIG_fail
;
31884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31890 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31895 arg5
= (long)(SWIG_As_long(obj4
));
31896 if (SWIG_arg_fail(5)) SWIG_fail
;
31900 if (!wxPyCheckForApp()) SWIG_fail
;
31901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31902 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31914 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
;
31916 wxDirFilterListCtrl
*result
;
31917 char *kwnames
[] = {
31921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31923 if (!wxPyCheckForApp()) SWIG_fail
;
31924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31937 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31938 PyObject
*resultobj
;
31939 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31940 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31941 int arg3
= (int) (int)-1 ;
31942 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31943 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31944 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31945 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31946 long arg6
= (long) 0 ;
31950 PyObject
* obj0
= 0 ;
31951 PyObject
* obj1
= 0 ;
31952 PyObject
* obj2
= 0 ;
31953 PyObject
* obj3
= 0 ;
31954 PyObject
* obj4
= 0 ;
31955 PyObject
* obj5
= 0 ;
31956 char *kwnames
[] = {
31957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31962 if (SWIG_arg_fail(1)) SWIG_fail
;
31963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31964 if (SWIG_arg_fail(2)) SWIG_fail
;
31967 arg3
= (int const)(SWIG_As_int(obj2
));
31968 if (SWIG_arg_fail(3)) SWIG_fail
;
31974 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31980 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31985 arg6
= (long)(SWIG_As_long(obj5
));
31986 if (SWIG_arg_fail(6)) SWIG_fail
;
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31991 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32005 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32006 PyObject
*resultobj
;
32007 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32008 wxString
*arg2
= 0 ;
32010 bool temp2
= false ;
32011 PyObject
* obj0
= 0 ;
32012 PyObject
* obj1
= 0 ;
32013 PyObject
* obj2
= 0 ;
32014 char *kwnames
[] = {
32015 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32020 if (SWIG_arg_fail(1)) SWIG_fail
;
32022 arg2
= wxString_in_helper(obj1
);
32023 if (arg2
== NULL
) SWIG_fail
;
32027 arg3
= (int)(SWIG_As_int(obj2
));
32028 if (SWIG_arg_fail(3)) SWIG_fail
;
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 Py_INCREF(Py_None
); resultobj
= Py_None
;
32052 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32055 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32057 return Py_BuildValue((char *)"");
32059 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32060 PyObject
*resultobj
;
32061 wxWindow
*arg1
= (wxWindow
*) 0 ;
32062 int arg2
= (int) (int)-1 ;
32063 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32064 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32065 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32066 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32067 long arg5
= (long) 0 ;
32068 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32069 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32070 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32071 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32072 wxPyControl
*result
;
32075 bool temp7
= false ;
32076 PyObject
* obj0
= 0 ;
32077 PyObject
* obj1
= 0 ;
32078 PyObject
* obj2
= 0 ;
32079 PyObject
* obj3
= 0 ;
32080 PyObject
* obj4
= 0 ;
32081 PyObject
* obj5
= 0 ;
32082 PyObject
* obj6
= 0 ;
32083 char *kwnames
[] = {
32084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32089 if (SWIG_arg_fail(1)) SWIG_fail
;
32092 arg2
= (int const)(SWIG_As_int(obj1
));
32093 if (SWIG_arg_fail(2)) SWIG_fail
;
32099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32105 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32110 arg5
= (long)(SWIG_As_long(obj4
));
32111 if (SWIG_arg_fail(5)) SWIG_fail
;
32116 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32117 if (SWIG_arg_fail(6)) SWIG_fail
;
32118 if (arg6
== NULL
) {
32119 SWIG_null_ref("wxValidator");
32121 if (SWIG_arg_fail(6)) SWIG_fail
;
32126 arg7
= wxString_in_helper(obj6
);
32127 if (arg7
== NULL
) SWIG_fail
;
32132 if (!wxPyCheckForApp()) SWIG_fail
;
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32154 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32155 PyObject
*resultobj
;
32156 wxPyControl
*result
;
32157 char *kwnames
[] = {
32161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32163 if (!wxPyCheckForApp()) SWIG_fail
;
32164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32165 result
= (wxPyControl
*)new wxPyControl();
32167 wxPyEndAllowThreads(__tstate
);
32168 if (PyErr_Occurred()) SWIG_fail
;
32170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32177 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32178 PyObject
*resultobj
;
32179 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32180 PyObject
*arg2
= (PyObject
*) 0 ;
32181 PyObject
*arg3
= (PyObject
*) 0 ;
32182 PyObject
* obj0
= 0 ;
32183 PyObject
* obj1
= 0 ;
32184 PyObject
* obj2
= 0 ;
32185 char *kwnames
[] = {
32186 (char *) "self",(char *) "self",(char *) "_class", NULL
32189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32191 if (SWIG_arg_fail(1)) SWIG_fail
;
32195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32198 wxPyEndAllowThreads(__tstate
);
32199 if (PyErr_Occurred()) SWIG_fail
;
32201 Py_INCREF(Py_None
); resultobj
= Py_None
;
32208 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32209 PyObject
*resultobj
;
32210 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32213 PyObject
* obj0
= 0 ;
32214 PyObject
* obj1
= 0 ;
32215 char *kwnames
[] = {
32216 (char *) "self",(char *) "size", NULL
32219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32221 if (SWIG_arg_fail(1)) SWIG_fail
;
32224 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32228 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32230 wxPyEndAllowThreads(__tstate
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32233 Py_INCREF(Py_None
); resultobj
= Py_None
;
32240 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32241 PyObject
*resultobj
;
32242 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32247 PyObject
* obj0
= 0 ;
32248 PyObject
* obj1
= 0 ;
32249 PyObject
* obj2
= 0 ;
32250 PyObject
* obj3
= 0 ;
32251 PyObject
* obj4
= 0 ;
32252 char *kwnames
[] = {
32253 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32258 if (SWIG_arg_fail(1)) SWIG_fail
;
32260 arg2
= (int)(SWIG_As_int(obj1
));
32261 if (SWIG_arg_fail(2)) SWIG_fail
;
32264 arg3
= (int)(SWIG_As_int(obj2
));
32265 if (SWIG_arg_fail(3)) SWIG_fail
;
32268 arg4
= (int)(SWIG_As_int(obj3
));
32269 if (SWIG_arg_fail(4)) SWIG_fail
;
32272 arg5
= (int)(SWIG_As_int(obj4
));
32273 if (SWIG_arg_fail(5)) SWIG_fail
;
32276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32277 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32279 wxPyEndAllowThreads(__tstate
);
32280 if (PyErr_Occurred()) SWIG_fail
;
32282 Py_INCREF(Py_None
); resultobj
= Py_None
;
32289 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32290 PyObject
*resultobj
;
32291 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32296 int arg6
= (int) wxSIZE_AUTO
;
32297 PyObject
* obj0
= 0 ;
32298 PyObject
* obj1
= 0 ;
32299 PyObject
* obj2
= 0 ;
32300 PyObject
* obj3
= 0 ;
32301 PyObject
* obj4
= 0 ;
32302 PyObject
* obj5
= 0 ;
32303 char *kwnames
[] = {
32304 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32309 if (SWIG_arg_fail(1)) SWIG_fail
;
32311 arg2
= (int)(SWIG_As_int(obj1
));
32312 if (SWIG_arg_fail(2)) SWIG_fail
;
32315 arg3
= (int)(SWIG_As_int(obj2
));
32316 if (SWIG_arg_fail(3)) SWIG_fail
;
32319 arg4
= (int)(SWIG_As_int(obj3
));
32320 if (SWIG_arg_fail(4)) SWIG_fail
;
32323 arg5
= (int)(SWIG_As_int(obj4
));
32324 if (SWIG_arg_fail(5)) SWIG_fail
;
32328 arg6
= (int)(SWIG_As_int(obj5
));
32329 if (SWIG_arg_fail(6)) SWIG_fail
;
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32336 wxPyEndAllowThreads(__tstate
);
32337 if (PyErr_Occurred()) SWIG_fail
;
32339 Py_INCREF(Py_None
); resultobj
= Py_None
;
32346 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32347 PyObject
*resultobj
;
32348 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32351 PyObject
* obj0
= 0 ;
32352 PyObject
* obj1
= 0 ;
32353 PyObject
* obj2
= 0 ;
32354 char *kwnames
[] = {
32355 (char *) "self",(char *) "width",(char *) "height", NULL
32358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32360 if (SWIG_arg_fail(1)) SWIG_fail
;
32362 arg2
= (int)(SWIG_As_int(obj1
));
32363 if (SWIG_arg_fail(2)) SWIG_fail
;
32366 arg3
= (int)(SWIG_As_int(obj2
));
32367 if (SWIG_arg_fail(3)) SWIG_fail
;
32370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32376 Py_INCREF(Py_None
); resultobj
= Py_None
;
32383 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32384 PyObject
*resultobj
;
32385 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32388 PyObject
* obj0
= 0 ;
32389 PyObject
* obj1
= 0 ;
32390 PyObject
* obj2
= 0 ;
32391 char *kwnames
[] = {
32392 (char *) "self",(char *) "x",(char *) "y", NULL
32395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32397 if (SWIG_arg_fail(1)) SWIG_fail
;
32399 arg2
= (int)(SWIG_As_int(obj1
));
32400 if (SWIG_arg_fail(2)) SWIG_fail
;
32403 arg3
= (int)(SWIG_As_int(obj2
));
32404 if (SWIG_arg_fail(3)) SWIG_fail
;
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32413 Py_INCREF(Py_None
); resultobj
= Py_None
;
32420 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32421 PyObject
*resultobj
;
32422 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32423 int *arg2
= (int *) 0 ;
32424 int *arg3
= (int *) 0 ;
32429 PyObject
* obj0
= 0 ;
32430 char *kwnames
[] = {
32431 (char *) "self", NULL
32434 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32435 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32438 if (SWIG_arg_fail(1)) SWIG_fail
;
32440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32441 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32443 wxPyEndAllowThreads(__tstate
);
32444 if (PyErr_Occurred()) SWIG_fail
;
32446 Py_INCREF(Py_None
); resultobj
= Py_None
;
32447 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32448 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32449 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32450 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32457 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32458 PyObject
*resultobj
;
32459 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32460 int *arg2
= (int *) 0 ;
32461 int *arg3
= (int *) 0 ;
32466 PyObject
* obj0
= 0 ;
32467 char *kwnames
[] = {
32468 (char *) "self", NULL
32471 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32472 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32475 if (SWIG_arg_fail(1)) SWIG_fail
;
32477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32478 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32480 wxPyEndAllowThreads(__tstate
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32483 Py_INCREF(Py_None
); resultobj
= Py_None
;
32484 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32485 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32486 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32487 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32494 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32495 PyObject
*resultobj
;
32496 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32497 int *arg2
= (int *) 0 ;
32498 int *arg3
= (int *) 0 ;
32503 PyObject
* obj0
= 0 ;
32504 char *kwnames
[] = {
32505 (char *) "self", NULL
32508 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32509 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32512 if (SWIG_arg_fail(1)) SWIG_fail
;
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32517 wxPyEndAllowThreads(__tstate
);
32518 if (PyErr_Occurred()) SWIG_fail
;
32520 Py_INCREF(Py_None
); resultobj
= Py_None
;
32521 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32522 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32523 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32524 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32531 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32532 PyObject
*resultobj
;
32533 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32535 PyObject
* obj0
= 0 ;
32536 char *kwnames
[] = {
32537 (char *) "self", NULL
32540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32542 if (SWIG_arg_fail(1)) SWIG_fail
;
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32547 wxPyEndAllowThreads(__tstate
);
32548 if (PyErr_Occurred()) SWIG_fail
;
32551 wxSize
* resultptr
;
32552 resultptr
= new wxSize((wxSize
&)(result
));
32553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32561 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
;
32563 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32565 PyObject
* obj0
= 0 ;
32566 char *kwnames
[] = {
32567 (char *) "self", NULL
32570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32572 if (SWIG_arg_fail(1)) SWIG_fail
;
32574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32575 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32581 wxSize
* resultptr
;
32582 resultptr
= new wxSize((wxSize
&)(result
));
32583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32591 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32592 PyObject
*resultobj
;
32593 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32594 PyObject
* obj0
= 0 ;
32595 char *kwnames
[] = {
32596 (char *) "self", NULL
32599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32601 if (SWIG_arg_fail(1)) SWIG_fail
;
32603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32604 (arg1
)->base_InitDialog();
32606 wxPyEndAllowThreads(__tstate
);
32607 if (PyErr_Occurred()) SWIG_fail
;
32609 Py_INCREF(Py_None
); resultobj
= Py_None
;
32616 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32617 PyObject
*resultobj
;
32618 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32620 PyObject
* obj0
= 0 ;
32621 char *kwnames
[] = {
32622 (char *) "self", NULL
32625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32627 if (SWIG_arg_fail(1)) SWIG_fail
;
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 result
= (bool)(arg1
)->base_TransferDataToWindow();
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32644 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
;
32646 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32648 PyObject
* obj0
= 0 ;
32649 char *kwnames
[] = {
32650 (char *) "self", NULL
32653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32655 if (SWIG_arg_fail(1)) SWIG_fail
;
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32660 wxPyEndAllowThreads(__tstate
);
32661 if (PyErr_Occurred()) SWIG_fail
;
32664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32672 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32673 PyObject
*resultobj
;
32674 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32676 PyObject
* obj0
= 0 ;
32677 char *kwnames
[] = {
32678 (char *) "self", NULL
32681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32683 if (SWIG_arg_fail(1)) SWIG_fail
;
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 result
= (bool)(arg1
)->base_Validate();
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32700 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32701 PyObject
*resultobj
;
32702 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32704 PyObject
* obj0
= 0 ;
32705 char *kwnames
[] = {
32706 (char *) "self", NULL
32709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32711 if (SWIG_arg_fail(1)) SWIG_fail
;
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32728 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32729 PyObject
*resultobj
;
32730 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32732 PyObject
* obj0
= 0 ;
32733 char *kwnames
[] = {
32734 (char *) "self", NULL
32737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32739 if (SWIG_arg_fail(1)) SWIG_fail
;
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32744 wxPyEndAllowThreads(__tstate
);
32745 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32756 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32757 PyObject
*resultobj
;
32758 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32760 PyObject
* obj0
= 0 ;
32761 char *kwnames
[] = {
32762 (char *) "self", NULL
32765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32767 if (SWIG_arg_fail(1)) SWIG_fail
;
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32772 wxPyEndAllowThreads(__tstate
);
32773 if (PyErr_Occurred()) SWIG_fail
;
32776 wxSize
* resultptr
;
32777 resultptr
= new wxSize((wxSize
&)(result
));
32778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32786 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32787 PyObject
*resultobj
;
32788 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32789 wxWindow
*arg2
= (wxWindow
*) 0 ;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 char *kwnames
[] = {
32793 (char *) "self",(char *) "child", NULL
32796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32798 if (SWIG_arg_fail(1)) SWIG_fail
;
32799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32800 if (SWIG_arg_fail(2)) SWIG_fail
;
32802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32803 (arg1
)->base_AddChild(arg2
);
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32808 Py_INCREF(Py_None
); resultobj
= Py_None
;
32815 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32816 PyObject
*resultobj
;
32817 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32818 wxWindow
*arg2
= (wxWindow
*) 0 ;
32819 PyObject
* obj0
= 0 ;
32820 PyObject
* obj1
= 0 ;
32821 char *kwnames
[] = {
32822 (char *) "self",(char *) "child", NULL
32825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32827 if (SWIG_arg_fail(1)) SWIG_fail
;
32828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32829 if (SWIG_arg_fail(2)) SWIG_fail
;
32831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32832 (arg1
)->base_RemoveChild(arg2
);
32834 wxPyEndAllowThreads(__tstate
);
32835 if (PyErr_Occurred()) SWIG_fail
;
32837 Py_INCREF(Py_None
); resultobj
= Py_None
;
32844 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32845 PyObject
*resultobj
;
32846 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32848 PyObject
* obj0
= 0 ;
32849 char *kwnames
[] = {
32850 (char *) "self", NULL
32853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32855 if (SWIG_arg_fail(1)) SWIG_fail
;
32857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32858 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32860 wxPyEndAllowThreads(__tstate
);
32861 if (PyErr_Occurred()) SWIG_fail
;
32864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32872 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32873 PyObject
*resultobj
;
32874 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32875 wxVisualAttributes result
;
32876 PyObject
* obj0
= 0 ;
32877 char *kwnames
[] = {
32878 (char *) "self", NULL
32881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32883 if (SWIG_arg_fail(1)) SWIG_fail
;
32885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32886 result
= (arg1
)->base_GetDefaultAttributes();
32888 wxPyEndAllowThreads(__tstate
);
32889 if (PyErr_Occurred()) SWIG_fail
;
32892 wxVisualAttributes
* resultptr
;
32893 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32902 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32905 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32907 return Py_BuildValue((char *)"");
32909 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32910 PyObject
*resultobj
;
32911 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32912 int arg2
= (int) 0 ;
32913 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32914 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32915 wxHelpEvent
*result
;
32917 PyObject
* obj0
= 0 ;
32918 PyObject
* obj1
= 0 ;
32919 PyObject
* obj2
= 0 ;
32920 char *kwnames
[] = {
32921 (char *) "type",(char *) "winid",(char *) "pt", NULL
32924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32927 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
32928 if (SWIG_arg_fail(1)) SWIG_fail
;
32933 arg2
= (int)(SWIG_As_int(obj1
));
32934 if (SWIG_arg_fail(2)) SWIG_fail
;
32940 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
32947 wxPyEndAllowThreads(__tstate
);
32948 if (PyErr_Occurred()) SWIG_fail
;
32950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
32957 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32958 PyObject
*resultobj
;
32959 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32961 PyObject
* obj0
= 0 ;
32962 char *kwnames
[] = {
32963 (char *) "self", NULL
32966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
32967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
32968 if (SWIG_arg_fail(1)) SWIG_fail
;
32970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32977 wxPoint
* resultptr
;
32978 resultptr
= new wxPoint((wxPoint
const &)(result
));
32979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
32987 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32988 PyObject
*resultobj
;
32989 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
32990 wxPoint
*arg2
= 0 ;
32992 PyObject
* obj0
= 0 ;
32993 PyObject
* obj1
= 0 ;
32994 char *kwnames
[] = {
32995 (char *) "self",(char *) "pos", NULL
32998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
32999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33000 if (SWIG_arg_fail(1)) SWIG_fail
;
33003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33007 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33009 wxPyEndAllowThreads(__tstate
);
33010 if (PyErr_Occurred()) SWIG_fail
;
33012 Py_INCREF(Py_None
); resultobj
= Py_None
;
33019 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33020 PyObject
*resultobj
;
33021 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33023 PyObject
* obj0
= 0 ;
33024 char *kwnames
[] = {
33025 (char *) "self", NULL
33028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
33029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33030 if (SWIG_arg_fail(1)) SWIG_fail
;
33032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33034 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
33035 result
= (wxString
*) &_result_ref
;
33038 wxPyEndAllowThreads(__tstate
);
33039 if (PyErr_Occurred()) SWIG_fail
;
33043 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33045 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33054 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33055 PyObject
*resultobj
;
33056 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33057 wxString
*arg2
= 0 ;
33058 bool temp2
= false ;
33059 PyObject
* obj0
= 0 ;
33060 PyObject
* obj1
= 0 ;
33061 char *kwnames
[] = {
33062 (char *) "self",(char *) "link", NULL
33065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
33066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33067 if (SWIG_arg_fail(1)) SWIG_fail
;
33069 arg2
= wxString_in_helper(obj1
);
33070 if (arg2
== NULL
) SWIG_fail
;
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 (arg1
)->SetLink((wxString
const &)*arg2
);
33077 wxPyEndAllowThreads(__tstate
);
33078 if (PyErr_Occurred()) SWIG_fail
;
33080 Py_INCREF(Py_None
); resultobj
= Py_None
;
33095 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33096 PyObject
*resultobj
;
33097 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33099 PyObject
* obj0
= 0 ;
33100 char *kwnames
[] = {
33101 (char *) "self", NULL
33104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33106 if (SWIG_arg_fail(1)) SWIG_fail
;
33108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33110 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33111 result
= (wxString
*) &_result_ref
;
33114 wxPyEndAllowThreads(__tstate
);
33115 if (PyErr_Occurred()) SWIG_fail
;
33119 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33121 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33130 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33131 PyObject
*resultobj
;
33132 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33133 wxString
*arg2
= 0 ;
33134 bool temp2
= false ;
33135 PyObject
* obj0
= 0 ;
33136 PyObject
* obj1
= 0 ;
33137 char *kwnames
[] = {
33138 (char *) "self",(char *) "target", NULL
33141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33143 if (SWIG_arg_fail(1)) SWIG_fail
;
33145 arg2
= wxString_in_helper(obj1
);
33146 if (arg2
== NULL
) SWIG_fail
;
33150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33151 (arg1
)->SetTarget((wxString
const &)*arg2
);
33153 wxPyEndAllowThreads(__tstate
);
33154 if (PyErr_Occurred()) SWIG_fail
;
33156 Py_INCREF(Py_None
); resultobj
= Py_None
;
33171 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33174 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33176 return Py_BuildValue((char *)"");
33178 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
;
33180 wxWindow
*arg1
= (wxWindow
*) NULL
;
33181 bool arg2
= (bool) true ;
33182 wxContextHelp
*result
;
33183 PyObject
* obj0
= 0 ;
33184 PyObject
* obj1
= 0 ;
33185 char *kwnames
[] = {
33186 (char *) "window",(char *) "doNow", NULL
33189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33192 if (SWIG_arg_fail(1)) SWIG_fail
;
33196 arg2
= (bool)(SWIG_As_bool(obj1
));
33197 if (SWIG_arg_fail(2)) SWIG_fail
;
33201 if (!wxPyCheckForApp()) SWIG_fail
;
33202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33203 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33215 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33216 PyObject
*resultobj
;
33217 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33218 PyObject
* obj0
= 0 ;
33219 char *kwnames
[] = {
33220 (char *) "self", NULL
33223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33225 if (SWIG_arg_fail(1)) SWIG_fail
;
33227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33233 Py_INCREF(Py_None
); resultobj
= Py_None
;
33240 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33241 PyObject
*resultobj
;
33242 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33243 wxWindow
*arg2
= (wxWindow
*) NULL
;
33245 PyObject
* obj0
= 0 ;
33246 PyObject
* obj1
= 0 ;
33247 char *kwnames
[] = {
33248 (char *) "self",(char *) "window", NULL
33251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33253 if (SWIG_arg_fail(1)) SWIG_fail
;
33255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33256 if (SWIG_arg_fail(2)) SWIG_fail
;
33259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33260 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33262 wxPyEndAllowThreads(__tstate
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33274 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33275 PyObject
*resultobj
;
33276 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33278 PyObject
* obj0
= 0 ;
33279 char *kwnames
[] = {
33280 (char *) "self", NULL
33283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33285 if (SWIG_arg_fail(1)) SWIG_fail
;
33287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33288 result
= (bool)(arg1
)->EndContextHelp();
33290 wxPyEndAllowThreads(__tstate
);
33291 if (PyErr_Occurred()) SWIG_fail
;
33294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33302 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33305 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33307 return Py_BuildValue((char *)"");
33309 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33310 PyObject
*resultobj
;
33311 wxWindow
*arg1
= (wxWindow
*) 0 ;
33312 int arg2
= (int) wxID_CONTEXT_HELP
;
33313 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33314 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33315 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33316 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33317 long arg5
= (long) wxBU_AUTODRAW
;
33318 wxContextHelpButton
*result
;
33321 PyObject
* obj0
= 0 ;
33322 PyObject
* obj1
= 0 ;
33323 PyObject
* obj2
= 0 ;
33324 PyObject
* obj3
= 0 ;
33325 PyObject
* obj4
= 0 ;
33326 char *kwnames
[] = {
33327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33332 if (SWIG_arg_fail(1)) SWIG_fail
;
33335 arg2
= (int)(SWIG_As_int(obj1
));
33336 if (SWIG_arg_fail(2)) SWIG_fail
;
33342 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33348 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33353 arg5
= (long)(SWIG_As_long(obj4
));
33354 if (SWIG_arg_fail(5)) SWIG_fail
;
33358 if (!wxPyCheckForApp()) SWIG_fail
;
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33362 wxPyEndAllowThreads(__tstate
);
33363 if (PyErr_Occurred()) SWIG_fail
;
33365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33372 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33375 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33377 return Py_BuildValue((char *)"");
33379 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33380 PyObject
*resultobj
;
33381 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33382 wxHelpProvider
*result
;
33383 PyObject
* obj0
= 0 ;
33384 char *kwnames
[] = {
33385 (char *) "helpProvider", NULL
33388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33390 if (SWIG_arg_fail(1)) SWIG_fail
;
33392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33395 wxPyEndAllowThreads(__tstate
);
33396 if (PyErr_Occurred()) SWIG_fail
;
33398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33405 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33406 PyObject
*resultobj
;
33407 wxHelpProvider
*result
;
33408 char *kwnames
[] = {
33412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33415 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33417 wxPyEndAllowThreads(__tstate
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33427 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33428 PyObject
*resultobj
;
33429 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33430 wxWindow
*arg2
= (wxWindow
*) 0 ;
33432 PyObject
* obj0
= 0 ;
33433 PyObject
* obj1
= 0 ;
33434 char *kwnames
[] = {
33435 (char *) "self",(char *) "window", NULL
33438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33440 if (SWIG_arg_fail(1)) SWIG_fail
;
33441 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33442 if (SWIG_arg_fail(2)) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33463 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33464 PyObject
*resultobj
;
33465 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33466 wxWindow
*arg2
= (wxWindow
*) 0 ;
33468 PyObject
* obj0
= 0 ;
33469 PyObject
* obj1
= 0 ;
33470 char *kwnames
[] = {
33471 (char *) "self",(char *) "window", NULL
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33476 if (SWIG_arg_fail(1)) SWIG_fail
;
33477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33478 if (SWIG_arg_fail(2)) SWIG_fail
;
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 result
= (bool)(arg1
)->ShowHelp(arg2
);
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33495 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33496 PyObject
*resultobj
;
33497 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33498 wxWindow
*arg2
= (wxWindow
*) 0 ;
33499 wxString
*arg3
= 0 ;
33500 bool temp3
= false ;
33501 PyObject
* obj0
= 0 ;
33502 PyObject
* obj1
= 0 ;
33503 PyObject
* obj2
= 0 ;
33504 char *kwnames
[] = {
33505 (char *) "self",(char *) "window",(char *) "text", NULL
33508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33510 if (SWIG_arg_fail(1)) SWIG_fail
;
33511 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33512 if (SWIG_arg_fail(2)) SWIG_fail
;
33514 arg3
= wxString_in_helper(obj2
);
33515 if (arg3
== NULL
) SWIG_fail
;
33519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33520 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33522 wxPyEndAllowThreads(__tstate
);
33523 if (PyErr_Occurred()) SWIG_fail
;
33525 Py_INCREF(Py_None
); resultobj
= Py_None
;
33540 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33541 PyObject
*resultobj
;
33542 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33544 wxString
*arg3
= 0 ;
33545 bool temp3
= false ;
33546 PyObject
* obj0
= 0 ;
33547 PyObject
* obj1
= 0 ;
33548 PyObject
* obj2
= 0 ;
33549 char *kwnames
[] = {
33550 (char *) "self",(char *) "id",(char *) "text", NULL
33553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33555 if (SWIG_arg_fail(1)) SWIG_fail
;
33557 arg2
= (int)(SWIG_As_int(obj1
));
33558 if (SWIG_arg_fail(2)) SWIG_fail
;
33561 arg3
= wxString_in_helper(obj2
);
33562 if (arg3
== NULL
) SWIG_fail
;
33566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33567 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33569 wxPyEndAllowThreads(__tstate
);
33570 if (PyErr_Occurred()) SWIG_fail
;
33572 Py_INCREF(Py_None
); resultobj
= Py_None
;
33587 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
;
33589 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33590 wxWindow
*arg2
= (wxWindow
*) 0 ;
33591 PyObject
* obj0
= 0 ;
33592 PyObject
* obj1
= 0 ;
33593 char *kwnames
[] = {
33594 (char *) "self",(char *) "window", NULL
33597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33599 if (SWIG_arg_fail(1)) SWIG_fail
;
33600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33601 if (SWIG_arg_fail(2)) SWIG_fail
;
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 (arg1
)->RemoveHelp(arg2
);
33606 wxPyEndAllowThreads(__tstate
);
33607 if (PyErr_Occurred()) SWIG_fail
;
33609 Py_INCREF(Py_None
); resultobj
= Py_None
;
33616 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33617 PyObject
*resultobj
;
33618 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33619 PyObject
* obj0
= 0 ;
33620 char *kwnames
[] = {
33621 (char *) "self", NULL
33624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33626 if (SWIG_arg_fail(1)) SWIG_fail
;
33628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33629 wxHelpProvider_Destroy(arg1
);
33631 wxPyEndAllowThreads(__tstate
);
33632 if (PyErr_Occurred()) SWIG_fail
;
33634 Py_INCREF(Py_None
); resultobj
= Py_None
;
33641 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33644 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33646 return Py_BuildValue((char *)"");
33648 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33649 PyObject
*resultobj
;
33650 wxSimpleHelpProvider
*result
;
33651 char *kwnames
[] = {
33655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33658 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33660 wxPyEndAllowThreads(__tstate
);
33661 if (PyErr_Occurred()) SWIG_fail
;
33663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33670 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33673 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33675 return Py_BuildValue((char *)"");
33677 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33678 PyObject
*resultobj
;
33679 wxBitmap
*arg1
= 0 ;
33680 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33681 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33682 wxGenericDragImage
*result
;
33683 PyObject
* obj0
= 0 ;
33684 PyObject
* obj1
= 0 ;
33685 char *kwnames
[] = {
33686 (char *) "image",(char *) "cursor", NULL
33689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33692 if (SWIG_arg_fail(1)) SWIG_fail
;
33693 if (arg1
== NULL
) {
33694 SWIG_null_ref("wxBitmap");
33696 if (SWIG_arg_fail(1)) SWIG_fail
;
33700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33701 if (SWIG_arg_fail(2)) SWIG_fail
;
33702 if (arg2
== NULL
) {
33703 SWIG_null_ref("wxCursor");
33705 if (SWIG_arg_fail(2)) SWIG_fail
;
33709 if (!wxPyCheckForApp()) SWIG_fail
;
33710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33711 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33723 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33724 PyObject
*resultobj
;
33726 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33727 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33728 wxGenericDragImage
*result
;
33729 PyObject
* obj0
= 0 ;
33730 PyObject
* obj1
= 0 ;
33731 char *kwnames
[] = {
33732 (char *) "image",(char *) "cursor", NULL
33735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33738 if (SWIG_arg_fail(1)) SWIG_fail
;
33739 if (arg1
== NULL
) {
33740 SWIG_null_ref("wxIcon");
33742 if (SWIG_arg_fail(1)) SWIG_fail
;
33746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33747 if (SWIG_arg_fail(2)) SWIG_fail
;
33748 if (arg2
== NULL
) {
33749 SWIG_null_ref("wxCursor");
33751 if (SWIG_arg_fail(2)) SWIG_fail
;
33755 if (!wxPyCheckForApp()) SWIG_fail
;
33756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33757 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33759 wxPyEndAllowThreads(__tstate
);
33760 if (PyErr_Occurred()) SWIG_fail
;
33762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33769 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33770 PyObject
*resultobj
;
33771 wxString
*arg1
= 0 ;
33772 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33773 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33774 wxGenericDragImage
*result
;
33775 bool temp1
= false ;
33776 PyObject
* obj0
= 0 ;
33777 PyObject
* obj1
= 0 ;
33778 char *kwnames
[] = {
33779 (char *) "str",(char *) "cursor", NULL
33782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33784 arg1
= wxString_in_helper(obj0
);
33785 if (arg1
== NULL
) SWIG_fail
;
33790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33791 if (SWIG_arg_fail(2)) SWIG_fail
;
33792 if (arg2
== NULL
) {
33793 SWIG_null_ref("wxCursor");
33795 if (SWIG_arg_fail(2)) SWIG_fail
;
33799 if (!wxPyCheckForApp()) SWIG_fail
;
33800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33801 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33821 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33822 PyObject
*resultobj
;
33823 wxPyTreeCtrl
*arg1
= 0 ;
33824 wxTreeItemId
*arg2
= 0 ;
33825 wxGenericDragImage
*result
;
33826 PyObject
* obj0
= 0 ;
33827 PyObject
* obj1
= 0 ;
33828 char *kwnames
[] = {
33829 (char *) "treeCtrl",(char *) "id", NULL
33832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33835 if (SWIG_arg_fail(1)) SWIG_fail
;
33836 if (arg1
== NULL
) {
33837 SWIG_null_ref("wxPyTreeCtrl");
33839 if (SWIG_arg_fail(1)) SWIG_fail
;
33842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33843 if (SWIG_arg_fail(2)) SWIG_fail
;
33844 if (arg2
== NULL
) {
33845 SWIG_null_ref("wxTreeItemId");
33847 if (SWIG_arg_fail(2)) SWIG_fail
;
33850 if (!wxPyCheckForApp()) SWIG_fail
;
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33864 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33865 PyObject
*resultobj
;
33866 wxPyListCtrl
*arg1
= 0 ;
33868 wxGenericDragImage
*result
;
33869 PyObject
* obj0
= 0 ;
33870 PyObject
* obj1
= 0 ;
33871 char *kwnames
[] = {
33872 (char *) "listCtrl",(char *) "id", NULL
33875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33878 if (SWIG_arg_fail(1)) SWIG_fail
;
33879 if (arg1
== NULL
) {
33880 SWIG_null_ref("wxPyListCtrl");
33882 if (SWIG_arg_fail(1)) SWIG_fail
;
33885 arg2
= (long)(SWIG_As_long(obj1
));
33886 if (SWIG_arg_fail(2)) SWIG_fail
;
33889 if (!wxPyCheckForApp()) SWIG_fail
;
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33903 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33904 PyObject
*resultobj
;
33905 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33906 PyObject
* obj0
= 0 ;
33907 char *kwnames
[] = {
33908 (char *) "self", NULL
33911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33913 if (SWIG_arg_fail(1)) SWIG_fail
;
33915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33918 wxPyEndAllowThreads(__tstate
);
33919 if (PyErr_Occurred()) SWIG_fail
;
33921 Py_INCREF(Py_None
); resultobj
= Py_None
;
33928 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33929 PyObject
*resultobj
;
33930 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33931 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33932 PyObject
* obj0
= 0 ;
33933 PyObject
* obj1
= 0 ;
33934 char *kwnames
[] = {
33935 (char *) "self",(char *) "bitmap", NULL
33938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33940 if (SWIG_arg_fail(1)) SWIG_fail
;
33941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33942 if (SWIG_arg_fail(2)) SWIG_fail
;
33944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33945 (arg1
)->SetBackingBitmap(arg2
);
33947 wxPyEndAllowThreads(__tstate
);
33948 if (PyErr_Occurred()) SWIG_fail
;
33950 Py_INCREF(Py_None
); resultobj
= Py_None
;
33957 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33958 PyObject
*resultobj
;
33959 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33960 wxPoint
*arg2
= 0 ;
33961 wxWindow
*arg3
= (wxWindow
*) 0 ;
33962 bool arg4
= (bool) false ;
33963 wxRect
*arg5
= (wxRect
*) NULL
;
33966 PyObject
* obj0
= 0 ;
33967 PyObject
* obj1
= 0 ;
33968 PyObject
* obj2
= 0 ;
33969 PyObject
* obj3
= 0 ;
33970 PyObject
* obj4
= 0 ;
33971 char *kwnames
[] = {
33972 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33977 if (SWIG_arg_fail(1)) SWIG_fail
;
33980 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33982 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33983 if (SWIG_arg_fail(3)) SWIG_fail
;
33986 arg4
= (bool)(SWIG_As_bool(obj3
));
33987 if (SWIG_arg_fail(4)) SWIG_fail
;
33991 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
33992 if (SWIG_arg_fail(5)) SWIG_fail
;
33995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33996 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
33998 wxPyEndAllowThreads(__tstate
);
33999 if (PyErr_Occurred()) SWIG_fail
;
34002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34010 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34011 PyObject
*resultobj
;
34012 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34013 wxPoint
*arg2
= 0 ;
34014 wxWindow
*arg3
= (wxWindow
*) 0 ;
34015 wxWindow
*arg4
= (wxWindow
*) 0 ;
34018 PyObject
* obj0
= 0 ;
34019 PyObject
* obj1
= 0 ;
34020 PyObject
* obj2
= 0 ;
34021 PyObject
* obj3
= 0 ;
34022 char *kwnames
[] = {
34023 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34028 if (SWIG_arg_fail(1)) SWIG_fail
;
34031 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34033 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34034 if (SWIG_arg_fail(3)) SWIG_fail
;
34035 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34036 if (SWIG_arg_fail(4)) SWIG_fail
;
34038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34053 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34054 PyObject
*resultobj
;
34055 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34057 PyObject
* obj0
= 0 ;
34058 char *kwnames
[] = {
34059 (char *) "self", NULL
34062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34064 if (SWIG_arg_fail(1)) SWIG_fail
;
34066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34067 result
= (bool)(arg1
)->EndDrag();
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34081 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
;
34083 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34084 wxPoint
*arg2
= 0 ;
34087 PyObject
* obj0
= 0 ;
34088 PyObject
* obj1
= 0 ;
34089 char *kwnames
[] = {
34090 (char *) "self",(char *) "pt", NULL
34093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34095 if (SWIG_arg_fail(1)) SWIG_fail
;
34098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34102 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34104 wxPyEndAllowThreads(__tstate
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34116 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34117 PyObject
*resultobj
;
34118 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34120 PyObject
* obj0
= 0 ;
34121 char *kwnames
[] = {
34122 (char *) "self", NULL
34125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34127 if (SWIG_arg_fail(1)) SWIG_fail
;
34129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 result
= (bool)(arg1
)->Show();
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34144 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
;
34146 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34148 PyObject
* obj0
= 0 ;
34149 char *kwnames
[] = {
34150 (char *) "self", NULL
34153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34155 if (SWIG_arg_fail(1)) SWIG_fail
;
34157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34158 result
= (bool)(arg1
)->Hide();
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34172 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34173 PyObject
*resultobj
;
34174 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34175 wxPoint
*arg2
= 0 ;
34178 PyObject
* obj0
= 0 ;
34179 PyObject
* obj1
= 0 ;
34180 char *kwnames
[] = {
34181 (char *) "self",(char *) "pos", NULL
34184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34186 if (SWIG_arg_fail(1)) SWIG_fail
;
34189 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34193 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34195 wxPyEndAllowThreads(__tstate
);
34196 if (PyErr_Occurred()) SWIG_fail
;
34199 wxRect
* resultptr
;
34200 resultptr
= new wxRect((wxRect
&)(result
));
34201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34209 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34210 PyObject
*resultobj
;
34211 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34213 wxPoint
*arg3
= 0 ;
34216 PyObject
* obj0
= 0 ;
34217 PyObject
* obj1
= 0 ;
34218 PyObject
* obj2
= 0 ;
34219 char *kwnames
[] = {
34220 (char *) "self",(char *) "dc",(char *) "pos", NULL
34223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34225 if (SWIG_arg_fail(1)) SWIG_fail
;
34227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34228 if (SWIG_arg_fail(2)) SWIG_fail
;
34229 if (arg2
== NULL
) {
34230 SWIG_null_ref("wxDC");
34232 if (SWIG_arg_fail(2)) SWIG_fail
;
34236 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34242 wxPyEndAllowThreads(__tstate
);
34243 if (PyErr_Occurred()) SWIG_fail
;
34246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34254 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34255 PyObject
*resultobj
;
34256 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34258 wxMemoryDC
*arg3
= 0 ;
34264 PyObject
* obj0
= 0 ;
34265 PyObject
* obj1
= 0 ;
34266 PyObject
* obj2
= 0 ;
34267 PyObject
* obj3
= 0 ;
34268 PyObject
* obj4
= 0 ;
34269 char *kwnames
[] = {
34270 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34275 if (SWIG_arg_fail(1)) SWIG_fail
;
34277 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34278 if (SWIG_arg_fail(2)) SWIG_fail
;
34279 if (arg2
== NULL
) {
34280 SWIG_null_ref("wxDC");
34282 if (SWIG_arg_fail(2)) SWIG_fail
;
34285 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34286 if (SWIG_arg_fail(3)) SWIG_fail
;
34287 if (arg3
== NULL
) {
34288 SWIG_null_ref("wxMemoryDC");
34290 if (SWIG_arg_fail(3)) SWIG_fail
;
34294 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34298 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34302 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34304 wxPyEndAllowThreads(__tstate
);
34305 if (PyErr_Occurred()) SWIG_fail
;
34308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34316 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34317 PyObject
*resultobj
;
34318 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34319 wxPoint
*arg2
= 0 ;
34320 wxPoint
*arg3
= 0 ;
34326 PyObject
* obj0
= 0 ;
34327 PyObject
* obj1
= 0 ;
34328 PyObject
* obj2
= 0 ;
34329 PyObject
* obj3
= 0 ;
34330 PyObject
* obj4
= 0 ;
34331 char *kwnames
[] = {
34332 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34337 if (SWIG_arg_fail(1)) SWIG_fail
;
34340 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34344 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34347 arg4
= (bool)(SWIG_As_bool(obj3
));
34348 if (SWIG_arg_fail(4)) SWIG_fail
;
34351 arg5
= (bool)(SWIG_As_bool(obj4
));
34352 if (SWIG_arg_fail(5)) SWIG_fail
;
34355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34356 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34358 wxPyEndAllowThreads(__tstate
);
34359 if (PyErr_Occurred()) SWIG_fail
;
34362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34370 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34373 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34375 return Py_BuildValue((char *)"");
34377 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34378 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34383 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34388 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34390 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34397 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34398 PyObject
*resultobj
;
34399 wxWindow
*arg1
= (wxWindow
*) 0 ;
34400 int arg2
= (int) -1 ;
34401 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34402 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34407 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34408 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34409 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34410 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34411 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34412 wxDatePickerCtrl
*result
;
34415 bool temp8
= false ;
34416 PyObject
* obj0
= 0 ;
34417 PyObject
* obj1
= 0 ;
34418 PyObject
* obj2
= 0 ;
34419 PyObject
* obj3
= 0 ;
34420 PyObject
* obj4
= 0 ;
34421 PyObject
* obj5
= 0 ;
34422 PyObject
* obj6
= 0 ;
34423 PyObject
* obj7
= 0 ;
34424 char *kwnames
[] = {
34425 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34430 if (SWIG_arg_fail(1)) SWIG_fail
;
34433 arg2
= (int)(SWIG_As_int(obj1
));
34434 if (SWIG_arg_fail(2)) SWIG_fail
;
34439 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34440 if (SWIG_arg_fail(3)) SWIG_fail
;
34441 if (arg3
== NULL
) {
34442 SWIG_null_ref("wxDateTime");
34444 if (SWIG_arg_fail(3)) SWIG_fail
;
34450 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34456 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34461 arg6
= (long)(SWIG_As_long(obj5
));
34462 if (SWIG_arg_fail(6)) SWIG_fail
;
34467 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34468 if (SWIG_arg_fail(7)) SWIG_fail
;
34469 if (arg7
== NULL
) {
34470 SWIG_null_ref("wxValidator");
34472 if (SWIG_arg_fail(7)) SWIG_fail
;
34477 arg8
= wxString_in_helper(obj7
);
34478 if (arg8
== NULL
) SWIG_fail
;
34483 if (!wxPyCheckForApp()) SWIG_fail
;
34484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34485 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34487 wxPyEndAllowThreads(__tstate
);
34488 if (PyErr_Occurred()) SWIG_fail
;
34490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34505 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34506 PyObject
*resultobj
;
34507 wxDatePickerCtrl
*result
;
34508 char *kwnames
[] = {
34512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34514 if (!wxPyCheckForApp()) SWIG_fail
;
34515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34516 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34518 wxPyEndAllowThreads(__tstate
);
34519 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34528 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34529 PyObject
*resultobj
;
34530 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34531 wxWindow
*arg2
= (wxWindow
*) 0 ;
34532 int arg3
= (int) -1 ;
34533 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34534 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34535 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34536 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34537 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34538 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34539 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34540 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34541 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34542 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34543 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34547 bool temp9
= false ;
34548 PyObject
* obj0
= 0 ;
34549 PyObject
* obj1
= 0 ;
34550 PyObject
* obj2
= 0 ;
34551 PyObject
* obj3
= 0 ;
34552 PyObject
* obj4
= 0 ;
34553 PyObject
* obj5
= 0 ;
34554 PyObject
* obj6
= 0 ;
34555 PyObject
* obj7
= 0 ;
34556 PyObject
* obj8
= 0 ;
34557 char *kwnames
[] = {
34558 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34563 if (SWIG_arg_fail(1)) SWIG_fail
;
34564 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34565 if (SWIG_arg_fail(2)) SWIG_fail
;
34568 arg3
= (int)(SWIG_As_int(obj2
));
34569 if (SWIG_arg_fail(3)) SWIG_fail
;
34574 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34575 if (SWIG_arg_fail(4)) SWIG_fail
;
34576 if (arg4
== NULL
) {
34577 SWIG_null_ref("wxDateTime");
34579 if (SWIG_arg_fail(4)) SWIG_fail
;
34585 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34591 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34596 arg7
= (long)(SWIG_As_long(obj6
));
34597 if (SWIG_arg_fail(7)) SWIG_fail
;
34602 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34603 if (SWIG_arg_fail(8)) SWIG_fail
;
34604 if (arg8
== NULL
) {
34605 SWIG_null_ref("wxValidator");
34607 if (SWIG_arg_fail(8)) SWIG_fail
;
34612 arg9
= wxString_in_helper(obj8
);
34613 if (arg9
== NULL
) SWIG_fail
;
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34641 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34642 PyObject
*resultobj
;
34643 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34644 wxDateTime
*arg2
= 0 ;
34645 PyObject
* obj0
= 0 ;
34646 PyObject
* obj1
= 0 ;
34647 char *kwnames
[] = {
34648 (char *) "self",(char *) "dt", NULL
34651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34653 if (SWIG_arg_fail(1)) SWIG_fail
;
34655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34656 if (SWIG_arg_fail(2)) SWIG_fail
;
34657 if (arg2
== NULL
) {
34658 SWIG_null_ref("wxDateTime");
34660 if (SWIG_arg_fail(2)) SWIG_fail
;
34663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34664 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34666 wxPyEndAllowThreads(__tstate
);
34667 if (PyErr_Occurred()) SWIG_fail
;
34669 Py_INCREF(Py_None
); resultobj
= Py_None
;
34676 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34677 PyObject
*resultobj
;
34678 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34680 PyObject
* obj0
= 0 ;
34681 char *kwnames
[] = {
34682 (char *) "self", NULL
34685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34687 if (SWIG_arg_fail(1)) SWIG_fail
;
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34692 wxPyEndAllowThreads(__tstate
);
34693 if (PyErr_Occurred()) SWIG_fail
;
34696 wxDateTime
* resultptr
;
34697 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34706 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34707 PyObject
*resultobj
;
34708 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34709 wxDateTime
*arg2
= 0 ;
34710 wxDateTime
*arg3
= 0 ;
34711 PyObject
* obj0
= 0 ;
34712 PyObject
* obj1
= 0 ;
34713 PyObject
* obj2
= 0 ;
34714 char *kwnames
[] = {
34715 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34720 if (SWIG_arg_fail(1)) SWIG_fail
;
34722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34723 if (SWIG_arg_fail(2)) SWIG_fail
;
34724 if (arg2
== NULL
) {
34725 SWIG_null_ref("wxDateTime");
34727 if (SWIG_arg_fail(2)) SWIG_fail
;
34730 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34731 if (SWIG_arg_fail(3)) SWIG_fail
;
34732 if (arg3
== NULL
) {
34733 SWIG_null_ref("wxDateTime");
34735 if (SWIG_arg_fail(3)) SWIG_fail
;
34738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34739 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34741 wxPyEndAllowThreads(__tstate
);
34742 if (PyErr_Occurred()) SWIG_fail
;
34744 Py_INCREF(Py_None
); resultobj
= Py_None
;
34751 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34752 PyObject
*resultobj
;
34753 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34755 PyObject
* obj0
= 0 ;
34756 char *kwnames
[] = {
34757 (char *) "self", NULL
34760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34762 if (SWIG_arg_fail(1)) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34771 wxDateTime
* resultptr
;
34772 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34781 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34782 PyObject
*resultobj
;
34783 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34785 PyObject
* obj0
= 0 ;
34786 char *kwnames
[] = {
34787 (char *) "self", NULL
34790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34792 if (SWIG_arg_fail(1)) SWIG_fail
;
34794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34795 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34797 wxPyEndAllowThreads(__tstate
);
34798 if (PyErr_Occurred()) SWIG_fail
;
34801 wxDateTime
* resultptr
;
34802 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34811 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34814 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34816 return Py_BuildValue((char *)"");
34818 static PyMethodDef SwigMethods
[] = {
34819 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34826 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34841 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34853 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34858 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34888 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34902 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34907 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34914 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34919 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
34927 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
34950 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
34958 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
34989 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35045 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35050 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35062 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35075 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35087 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35091 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35109 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35116 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35142 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35150 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35172 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35178 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35189 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35191 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35197 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35199 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
) _wrap_Choicebook_GetChoiceCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35206 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35208 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35213 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35218 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35248 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35293 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35299 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35311 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35363 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35390 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35461 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35473 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35481 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35488 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35505 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35581 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35603 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35608 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35633 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35641 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35646 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35648 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35657 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35659 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35677 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35686 { NULL
, NULL
, 0, NULL
}
35690 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35692 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35693 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35695 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35696 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35698 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35699 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35701 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35702 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35704 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35705 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35707 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35708 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35710 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35711 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35713 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35714 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35716 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35717 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35719 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35720 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35722 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35723 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35725 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35726 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35728 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35729 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35731 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35732 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35734 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35735 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35737 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35738 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35740 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35741 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35743 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35744 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35746 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35747 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35749 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35750 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35752 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35753 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35755 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35756 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35758 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35759 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35761 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35762 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35764 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35765 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35767 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35768 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35770 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35771 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35773 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35774 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35776 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35777 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35779 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35780 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35782 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35783 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35785 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35786 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35788 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35789 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35791 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35792 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35794 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35795 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35797 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35798 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35800 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35801 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35803 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35804 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35806 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35807 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35809 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35810 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35812 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35813 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35815 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35816 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35818 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35819 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35821 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35822 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35824 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35825 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35827 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35828 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35830 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35831 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35833 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35834 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35836 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35837 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35839 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35840 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35842 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35843 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35845 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35846 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35848 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35849 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35851 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35852 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35854 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35855 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35857 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35858 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35860 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35861 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35863 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35864 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35866 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35867 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35869 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35870 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35872 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35873 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35875 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35876 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35878 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35879 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35881 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35882 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35884 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35885 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35887 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35888 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35890 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35891 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35893 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35894 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35896 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35897 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35899 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35900 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35902 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35903 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35905 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35906 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35908 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35909 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35911 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35912 return (void *)((wxControl
*) ((wxGauge
*) x
));
35914 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35915 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35917 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35918 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35920 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35921 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
35923 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
35924 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
35926 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
35927 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
35929 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
35930 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
35932 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
35933 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35935 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
35936 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35938 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
35939 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35941 static void *_p_wxListViewTo_p_wxControl(void *x
) {
35942 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
35944 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
35945 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
35947 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
35948 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
35950 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
35951 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
35953 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
35954 return (void *)((wxControl
*) ((wxStaticText
*) x
));
35956 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
35957 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
35959 static void *_p_wxSliderTo_p_wxControl(void *x
) {
35960 return (void *)((wxControl
*) ((wxSlider
*) x
));
35962 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
35963 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
35965 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
35966 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
35968 static void *_p_wxButtonTo_p_wxControl(void *x
) {
35969 return (void *)((wxControl
*) ((wxButton
*) x
));
35971 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
35972 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
35974 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
35975 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
35977 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
35978 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
35980 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
35981 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
35983 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
35984 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35986 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
35987 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35989 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
35990 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35992 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
35993 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
35995 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
35996 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35998 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
35999 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36001 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36002 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36004 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36005 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36007 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36008 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36010 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36011 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36013 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36014 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36016 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36017 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36019 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36022 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36023 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36025 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36026 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36028 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36031 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36032 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36034 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36037 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36040 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36041 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36043 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36044 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36046 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36049 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36052 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36055 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36058 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36059 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36061 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36062 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36064 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36067 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36068 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36070 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36073 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36074 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36076 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36077 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36079 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36080 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36082 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36083 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36085 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36088 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36089 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36091 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36094 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36095 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36097 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36100 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36103 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36106 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36109 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36112 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36115 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36118 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36121 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36124 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36127 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36130 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36133 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36136 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36139 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36142 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36143 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36145 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36146 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36148 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36149 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36151 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36152 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36154 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36155 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36157 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36158 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36160 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36161 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36163 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36164 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36166 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36169 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36170 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36172 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36173 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36175 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36176 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36178 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36179 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36181 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36182 return (void *)((wxObject
*) ((wxSizer
*) x
));
36184 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36185 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36187 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36190 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36193 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36196 static void *_p_wxEventTo_p_wxObject(void *x
) {
36197 return (void *)((wxObject
*) ((wxEvent
*) x
));
36199 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36200 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36202 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36203 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36205 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36206 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36208 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36211 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36214 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36217 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36218 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36220 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36221 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36223 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36224 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36226 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36227 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36229 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36230 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36232 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36233 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36235 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36238 static void *_p_wxControlTo_p_wxObject(void *x
) {
36239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36241 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36244 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36247 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36250 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36253 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36256 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36257 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36259 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36260 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36262 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36263 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36265 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36266 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36268 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36271 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36274 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36277 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36278 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36280 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36281 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36283 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36286 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36289 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36290 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36292 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36295 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36298 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36299 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36301 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36302 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36304 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36305 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36307 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36308 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36310 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36311 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36313 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36314 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36316 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36317 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36319 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36320 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36322 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36323 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36325 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36326 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36328 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36331 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36332 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36334 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36337 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36338 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36340 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36341 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36343 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36344 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36346 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36347 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36349 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36350 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36352 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36353 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36355 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36356 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36358 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36359 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36361 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36362 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36364 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36365 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36367 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36368 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36370 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36371 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36373 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36374 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36376 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36377 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36379 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36382 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36385 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36388 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36391 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36394 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36397 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36398 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36400 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36401 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36403 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36406 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36409 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36412 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36415 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36416 return (void *)((wxObject
*) ((wxListItem
*) x
));
36418 static void *_p_wxImageTo_p_wxObject(void *x
) {
36419 return (void *)((wxObject
*) ((wxImage
*) x
));
36421 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36422 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36424 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36425 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36427 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36430 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36431 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36433 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36434 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36436 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36437 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36439 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36442 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36445 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36446 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36448 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36449 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36451 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36452 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36454 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36455 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36457 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36458 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36460 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36463 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36464 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36466 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36467 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36469 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36470 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36472 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36473 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36475 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36476 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36478 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36479 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36481 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36482 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36484 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36485 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36487 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36490 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36493 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36494 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36496 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36499 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36500 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36502 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36503 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36505 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36508 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36511 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36514 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36515 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36517 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36520 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36523 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36524 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36526 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36527 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36529 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36530 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36532 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36533 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36535 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36536 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36538 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36539 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36541 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36542 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36544 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36545 return (void *)((wxWindow
*) ((wxControl
*) x
));
36547 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36548 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36550 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36551 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36553 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36554 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36556 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36557 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36559 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36560 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36562 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36563 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36565 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36566 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36568 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36569 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36571 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36572 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36574 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36575 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36577 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36578 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36580 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36581 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36583 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36584 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36586 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36587 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36589 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36590 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36592 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36593 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36595 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36596 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36598 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36599 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36601 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36602 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36604 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36605 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36607 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36608 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36610 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36611 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36613 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36614 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36616 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36617 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36619 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36620 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36622 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36623 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36625 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36626 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36628 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36629 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36631 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36632 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36634 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36635 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36637 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36638 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36640 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36641 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36643 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36644 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36646 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36647 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36649 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36650 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36652 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36653 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36655 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36656 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36658 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36659 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36661 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36662 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36664 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36665 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36667 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36668 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36670 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36671 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36673 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36674 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36676 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36677 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36679 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36680 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36682 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36683 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36685 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36686 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36688 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36689 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36691 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36692 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36694 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36695 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36697 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36698 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36700 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36701 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36703 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36704 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36706 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36707 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36709 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36710 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36712 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36713 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36715 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36716 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36718 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}};
36719 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}};
36720 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}};
36721 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}};
36722 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}};
36723 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}};
36724 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}};
36725 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}};
36726 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}};
36727 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}};
36728 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}};
36729 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}};
36730 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}};
36731 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}};
36732 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}};
36733 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}};
36734 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}};
36735 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}};
36736 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}};
36737 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}};
36738 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}};
36739 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}};
36740 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}};
36741 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}};
36742 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}};
36743 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}};
36744 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}};
36745 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}};
36746 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}};
36747 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}};
36748 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}};
36749 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}};
36750 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}};
36751 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}};
36752 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}};
36753 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}};
36754 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}};
36755 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}};
36756 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}};
36757 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}};
36758 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}};
36759 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}};
36760 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}};
36761 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}};
36762 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}};
36763 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}};
36764 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}};
36765 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}};
36766 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}};
36767 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}};
36768 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}};
36769 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}};
36770 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}};
36771 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}};
36772 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}};
36773 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}};
36774 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}};
36775 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}};
36776 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}};
36777 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}};
36778 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}};
36779 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}};
36780 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}};
36781 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}};
36782 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}};
36783 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}};
36784 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}};
36785 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}};
36786 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}};
36787 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}};
36788 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}};
36789 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}};
36790 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}};
36791 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}};
36792 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}};
36793 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}};
36794 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}};
36795 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}};
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36817 static swig_type_info
*swig_types_initial
[] = {
36818 _swigt__p_wxTextUrlEvent
,
36820 _swigt__p_wxCheckBox
,
36821 _swigt__p_wxPyTreeCtrl
,
36823 _swigt__p_wxGenericDirCtrl
,
36825 _swigt__p_wxItemContainer
,
36826 _swigt__p_wxPyListCtrl
,
36827 _swigt__p_wxPyTreeItemData
,
36828 _swigt__p_wxDirFilterListCtrl
,
36829 _swigt__p_wxStaticLine
,
36830 _swigt__p_wxControl
,
36831 _swigt__p_wxPyControl
,
36833 _swigt__p_wxToolBarBase
,
36835 _swigt__p_wxToggleButton
,
36836 _swigt__p_wxRadioButton
,
36837 _swigt__p_wxChoice
,
36838 _swigt__p_wxMemoryDC
,
36840 _swigt__std__ptrdiff_t
,
36841 _swigt__p_wxListItemAttr
,
36846 _swigt__p_wxListView
,
36848 _swigt__p_wxVisualAttributes
,
36849 _swigt__p_wxTextCtrl
,
36850 _swigt__p_wxNotebook
,
36851 _swigt__p_wxChoicebook
,
36852 _swigt__p_wxNotifyEvent
,
36853 _swigt__p_wxArrayString
,
36854 _swigt__p_form_ops_t
,
36855 _swigt__p_wxListbook
,
36856 _swigt__p_wxStaticBitmap
,
36857 _swigt__p_wxSlider
,
36858 _swigt__p_wxStaticBox
,
36859 _swigt__p_wxArrayInt
,
36860 _swigt__p_wxContextHelp
,
36862 _swigt__p_wxDuplexMode
,
36863 _swigt__p_wxBookCtrlBase
,
36864 _swigt__p_wxEvtHandler
,
36865 _swigt__p_wxListEvent
,
36866 _swigt__p_wxCheckListBox
,
36867 _swigt__p_wxListBox
,
36868 _swigt__p_wxSpinButton
,
36869 _swigt__p_wxButton
,
36870 _swigt__p_wxBitmapButton
,
36872 _swigt__p_wxContextHelpButton
,
36873 _swigt__p_wxRadioBox
,
36874 _swigt__p_wxScrollBar
,
36876 _swigt__p_wxComboBox
,
36877 _swigt__p_wxTreeItemId
,
36878 _swigt__p_wxHelpEvent
,
36879 _swigt__p_wxListItem
,
36880 _swigt__p_wxNotebookSizer
,
36881 _swigt__p_wxSpinEvent
,
36882 _swigt__p_wxGenericDragImage
,
36883 _swigt__p_wxSpinCtrl
,
36884 _swigt__p_wxPaperSize
,
36885 _swigt__p_wxImageList
,
36886 _swigt__p_wxHelpProvider
,
36887 _swigt__p_wxTextAttr
,
36888 _swigt__p_wxSimpleHelpProvider
,
36889 _swigt__p_wxChoicebookEvent
,
36890 _swigt__p_wxListbookEvent
,
36891 _swigt__p_wxNotebookEvent
,
36893 _swigt__p_wxObject
,
36894 _swigt__p_wxCursor
,
36895 _swigt__p_wxDateTime
,
36896 _swigt__p_wxKeyEvent
,
36897 _swigt__p_unsigned_long
,
36898 _swigt__p_wxWindow
,
36899 _swigt__p_wxString
,
36900 _swigt__p_wxBitmap
,
36901 _swigt__unsigned_int
,
36902 _swigt__p_unsigned_int
,
36903 _swigt__p_unsigned_char
,
36904 _swigt__p_wxMouseEvent
,
36905 _swigt__p_wxBookCtrlBaseEvent
,
36906 _swigt__p_wxTreeEvent
,
36907 _swigt__p_wxCommandEvent
,
36908 _swigt__p_wxStaticText
,
36909 _swigt__p_wxDatePickerCtrl
,
36910 _swigt__p_wxControlWithItems
,
36911 _swigt__p_wxToolBarToolBase
,
36912 _swigt__p_wxColour
,
36913 _swigt__p_wxToolBar
,
36914 _swigt__p_wxBookCtrlSizer
,
36915 _swigt__p_wxValidator
,
36920 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36922 static swig_const_info swig_const_table
[] = {
36923 {0, 0, 0, 0.0, 0, 0}};
36934 /* Python-specific SWIG API */
36935 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36936 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36937 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36939 /* -----------------------------------------------------------------------------
36940 * global variable support code.
36941 * ----------------------------------------------------------------------------- */
36943 typedef struct swig_globalvar
{
36944 char *name
; /* Name of global variable */
36945 PyObject
*(*get_attr
)(); /* Return the current value */
36946 int (*set_attr
)(PyObject
*); /* Set the value */
36947 struct swig_globalvar
*next
;
36950 typedef struct swig_varlinkobject
{
36952 swig_globalvar
*vars
;
36953 } swig_varlinkobject
;
36956 swig_varlink_repr(swig_varlinkobject
*v
) {
36958 return PyString_FromString("<Swig global variables>");
36962 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
36963 swig_globalvar
*var
;
36965 fprintf(fp
,"Swig global variables { ");
36966 for (var
= v
->vars
; var
; var
=var
->next
) {
36967 fprintf(fp
,"%s", var
->name
);
36968 if (var
->next
) fprintf(fp
,", ");
36970 fprintf(fp
," }\n");
36975 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36976 swig_globalvar
*var
= v
->vars
;
36978 if (strcmp(var
->name
,n
) == 0) {
36979 return (*var
->get_attr
)();
36983 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36988 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36989 swig_globalvar
*var
= v
->vars
;
36991 if (strcmp(var
->name
,n
) == 0) {
36992 return (*var
->set_attr
)(p
);
36996 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37000 static PyTypeObject varlinktype
= {
37001 PyObject_HEAD_INIT(0)
37002 0, /* Number of items in variable part (ob_size) */
37003 (char *)"swigvarlink", /* Type name (tp_name) */
37004 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37005 0, /* Itemsize (tp_itemsize) */
37006 0, /* Deallocator (tp_dealloc) */
37007 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37008 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37009 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37010 0, /* tp_compare */
37011 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37012 0, /* tp_as_number */
37013 0, /* tp_as_sequence */
37014 0, /* tp_as_mapping */
37018 0, /* tp_getattro */
37019 0, /* tp_setattro */
37020 0, /* tp_as_buffer */
37023 #if PY_VERSION_HEX >= 0x02000000
37024 0, /* tp_traverse */
37027 #if PY_VERSION_HEX >= 0x02010000
37028 0, /* tp_richcompare */
37029 0, /* tp_weaklistoffset */
37031 #if PY_VERSION_HEX >= 0x02020000
37032 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37034 #if PY_VERSION_HEX >= 0x02030000
37037 #ifdef COUNT_ALLOCS
37038 0,0,0,0 /* tp_alloc -> tp_next */
37042 /* Create a variable linking object for use later */
37044 SWIG_Python_newvarlink(void) {
37045 swig_varlinkobject
*result
= 0;
37046 result
= PyMem_NEW(swig_varlinkobject
,1);
37047 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37048 result
->ob_type
= &varlinktype
;
37050 result
->ob_refcnt
= 0;
37051 Py_XINCREF((PyObject
*) result
);
37052 return ((PyObject
*) result
);
37056 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37057 swig_varlinkobject
*v
;
37058 swig_globalvar
*gv
;
37059 v
= (swig_varlinkobject
*) p
;
37060 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37061 gv
->name
= (char *) malloc(strlen(name
)+1);
37062 strcpy(gv
->name
,name
);
37063 gv
->get_attr
= get_attr
;
37064 gv
->set_attr
= set_attr
;
37065 gv
->next
= v
->vars
;
37069 /* -----------------------------------------------------------------------------
37070 * constants/methods manipulation
37071 * ----------------------------------------------------------------------------- */
37073 /* Install Constants */
37075 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37078 for (i
= 0; constants
[i
].type
; i
++) {
37079 switch(constants
[i
].type
) {
37081 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37083 case SWIG_PY_FLOAT
:
37084 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37086 case SWIG_PY_STRING
:
37087 if (constants
[i
].pvalue
) {
37088 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37090 Py_INCREF(Py_None
);
37094 case SWIG_PY_POINTER
:
37095 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37097 case SWIG_PY_BINARY
:
37098 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37105 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37111 /* -----------------------------------------------------------------------------*/
37112 /* Fix SwigMethods to carry the callback ptrs when needed */
37113 /* -----------------------------------------------------------------------------*/
37116 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37117 swig_const_info
*const_table
,
37118 swig_type_info
**types
,
37119 swig_type_info
**types_initial
) {
37121 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37122 char *c
= methods
[i
].ml_doc
;
37123 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37125 swig_const_info
*ci
= 0;
37126 char *name
= c
+ 10;
37127 for (j
= 0; const_table
[j
].type
; j
++) {
37128 if (strncmp(const_table
[j
].name
, name
,
37129 strlen(const_table
[j
].name
)) == 0) {
37130 ci
= &(const_table
[j
]);
37135 size_t shift
= (ci
->ptype
) - types
;
37136 swig_type_info
*ty
= types_initial
[shift
];
37137 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37138 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37139 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37141 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37142 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37144 strncpy(buff
, "swig_ptr: ", 10);
37146 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37147 methods
[i
].ml_doc
= ndoc
;
37153 /* -----------------------------------------------------------------------------*
37154 * Initialize type list
37155 * -----------------------------------------------------------------------------*/
37157 #if PY_MAJOR_VERSION < 2
37158 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37159 is copied out of Python/modsupport.c in python version 2.3.4 */
37161 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37164 if (!PyModule_Check(m
)) {
37165 PyErr_SetString(PyExc_TypeError
,
37166 "PyModule_AddObject() needs module as first arg");
37170 PyErr_SetString(PyExc_TypeError
,
37171 "PyModule_AddObject() needs non-NULL value");
37175 dict
= PyModule_GetDict(m
);
37176 if (dict
== NULL
) {
37177 /* Internal error -- modules must have a dict! */
37178 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37179 PyModule_GetName(m
));
37182 if (PyDict_SetItemString(dict
, name
, o
))
37189 static swig_type_info
**
37190 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37191 static PyMethodDef swig_empty_runtime_method_table
[] = {
37193 NULL
, NULL
, 0, NULL
37197 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37198 swig_empty_runtime_method_table
);
37199 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37200 if (pointer
&& module) {
37201 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37203 return type_list_handle
;
37206 static swig_type_info
**
37207 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37208 swig_type_info
**type_pointer
;
37210 /* first check if module already created */
37211 type_pointer
= SWIG_Python_GetTypeListHandle();
37212 if (type_pointer
) {
37213 return type_pointer
;
37215 /* create a new module and variable */
37216 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37224 /* -----------------------------------------------------------------------------*
37225 * Partial Init method
37226 * -----------------------------------------------------------------------------*/
37228 #ifdef SWIG_LINK_RUNTIME
37232 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37238 SWIGEXPORT(void) SWIG_init(void) {
37239 static PyObject
*SWIG_globals
= 0;
37240 static int typeinit
= 0;
37243 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37245 /* Fix SwigMethods to carry the callback ptrs when needed */
37246 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37248 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37249 d
= PyModule_GetDict(m
);
37252 #ifdef SWIG_LINK_RUNTIME
37253 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37255 # ifndef SWIG_STATIC_RUNTIME
37256 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37259 for (i
= 0; swig_types_initial
[i
]; i
++) {
37260 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37264 SWIG_InstallConstants(d
,swig_const_table
);
37266 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37267 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37269 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37272 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37275 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37278 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37281 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37284 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37287 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37289 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37291 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37294 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37297 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37300 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37303 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37306 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37308 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37309 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37310 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37312 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37315 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37318 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37321 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37323 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37324 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37325 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37326 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37327 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37329 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37332 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37335 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37338 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37341 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37344 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37347 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37350 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37353 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37356 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37359 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37362 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37365 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37368 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37371 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37374 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37377 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37380 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37383 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37386 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37389 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37392 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37395 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37398 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37401 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37404 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37407 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37410 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37413 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37416 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37419 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37422 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37425 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37428 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37431 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37434 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37437 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37440 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37443 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37446 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37449 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37452 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37455 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37458 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37461 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37464 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37466 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37467 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37468 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37469 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37470 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37471 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37472 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37474 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37477 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37480 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37483 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37485 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37486 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37487 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37488 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37490 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37493 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37496 PyDict_SetItemString(d
,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS
)));
37499 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37502 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37505 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37508 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37511 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37514 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37517 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37520 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37523 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37525 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37526 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37527 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37529 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37532 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37535 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37538 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37541 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37544 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37547 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37550 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37553 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37556 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37559 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37561 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37562 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37564 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37567 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37570 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37573 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37576 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37579 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37581 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37582 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37584 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37587 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37590 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37593 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37596 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37599 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37601 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37602 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37604 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37607 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37610 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37613 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37616 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37619 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37622 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37625 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37628 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37631 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37634 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37637 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37640 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37643 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37645 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37647 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37650 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37653 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37656 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37659 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37662 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37665 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37668 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37671 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37674 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37677 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37680 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37683 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37686 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37689 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37692 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37695 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37698 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37701 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37704 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37707 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37710 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37713 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37716 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37719 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37722 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37725 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37728 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37731 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37734 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37737 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37740 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37743 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37746 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37749 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37752 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37755 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37758 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37761 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37764 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37767 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37770 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37773 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37776 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37779 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37782 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37785 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37788 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37791 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37794 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37797 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37800 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37803 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37806 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37809 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37812 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37815 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37818 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37821 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37824 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37827 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37830 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37833 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37836 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37839 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37842 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37845 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37848 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37850 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37851 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37852 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37853 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37854 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37855 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37856 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37857 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37858 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37859 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37860 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37861 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37862 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37863 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37864 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37865 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37866 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37867 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37868 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37869 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37870 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37871 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37873 // Map renamed classes back to their common name for OOR
37874 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37876 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37878 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37881 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37884 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37887 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37890 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37893 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37896 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37899 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37902 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37905 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37908 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37911 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37914 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37917 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37920 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37923 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
37926 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
37929 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
37932 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
37935 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
37938 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
37941 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
37944 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
37947 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
37950 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
37953 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
37956 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
37959 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
37962 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
37965 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
37968 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
37971 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
37974 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
37977 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
37980 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
37982 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
37983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
37984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
37985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
37986 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
37987 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
37988 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
37989 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
37990 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
37991 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
37992 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
37993 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
37994 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
37995 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
37996 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
37997 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
37998 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
37999 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38000 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38001 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38002 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38004 // Map renamed classes back to their common name for OOR
38005 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38006 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38008 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38010 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38013 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38016 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38019 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38022 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38025 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38028 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38030 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38031 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38033 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38035 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38037 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38040 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38043 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38046 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38049 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));