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
1633 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1639 } else if (target
== Py_None
) {
1643 if (!PyTuple_Check(target
)) {
1645 target
= PyTuple_New(1);
1646 PyTuple_SetItem(target
, 0, o2
);
1648 o3
= PyTuple_New(1);
1649 PyTuple_SetItem(o3
, 0, o
);
1652 target
= PySequence_Concat(o2
, o3
);
1660 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
1661 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
1662 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
1663 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
1665 #include <wx/checklst.h>
1668 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
1669 static void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
1671 wxPyClientData
* data
= new wxPyClientData(clientData
);
1672 self
->Insert(item
, pos
, data
);
1674 self
->Insert(item
, pos
);
1676 static PyObject
*wxListBox_GetSelections(wxListBox
*self
){
1678 self
->GetSelections(lst
);
1679 PyObject
*tup
= PyTuple_New(lst
.GetCount());
1680 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
1681 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
1685 static void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1687 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1688 self
->GetItem(item
)->SetTextColour(c
);
1691 static void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
1693 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1694 self
->GetItem(item
)->SetBackgroundColour(c
);
1697 static void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
1699 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
1700 self
->GetItem(item
)->SetFont(f
);
1703 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
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
);
1749 static int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
1750 static int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
1751 static int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
1753 #include <wx/slider.h>
1756 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
1757 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
1759 #if !wxUSE_TOGGLEBTN
1760 // implement dummy items for platforms that don't have this class
1762 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1764 class wxToggleButton
: public wxControl
1767 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
1768 const wxPoint
&, const wxSize
&, long,
1769 const wxValidator
&, const wxString
&)
1770 { wxPyRaiseNotImplemented(); }
1773 { wxPyRaiseNotImplemented(); }
1777 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
1779 SWIGINTERNSHORT PyObject
*
1780 SWIG_From_unsigned_SS_long(unsigned long value
)
1782 return (value
> LONG_MAX
) ?
1783 PyLong_FromUnsignedLong(value
)
1784 : PyInt_FromLong((long)(value
));
1787 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1788 static PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
1789 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1791 Py_INCREF(udata
->m_obj
);
1792 return udata
->m_obj
;
1798 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
1799 self
->SetClientData(new wxPyUserData(clientData
));
1801 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
){
1802 wxPyUserData
* udata
= NULL
;
1803 if (clientData
&& clientData
!= Py_None
)
1804 udata
= new wxPyUserData(clientData
);
1805 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
1806 shortHelp
, longHelp
, udata
);
1808 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
){
1809 wxPyUserData
* udata
= NULL
;
1810 if (clientData
&& clientData
!= Py_None
)
1811 udata
= new wxPyUserData(clientData
);
1812 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
1813 shortHelp
, longHelp
, udata
);
1815 static PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
1816 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
1818 Py_INCREF(udata
->m_obj
);
1819 return udata
->m_obj
;
1825 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
1826 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
1829 #include <wx/listctrl.h>
1831 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
1832 static void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
1833 // Python aware sorting function for wxPyListCtrl
1834 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
1836 PyObject
* func
= (PyObject
*)funcPtr
;
1837 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1839 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
1840 PyObject
* result
= PyEval_CallObject(func
, args
);
1843 retval
= PyInt_AsLong(result
);
1847 wxPyEndBlockThreads(blocked
);
1851 // C++ Version of a Python aware class
1852 class wxPyListCtrl
: public wxListCtrl
{
1853 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
1855 wxPyListCtrl() : wxListCtrl() {}
1856 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
1860 const wxValidator
& validator
,
1861 const wxString
& name
) :
1862 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1864 bool Create(wxWindow
* parent
, wxWindowID id
,
1868 const wxValidator
& validator
,
1869 const wxString
& name
) {
1870 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1873 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
1874 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
1876 // use the virtual version to avoid a confusing assert in the base class
1877 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
1882 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
1884 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
1885 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
1886 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
1889 static wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
1891 item
.SetMask( wxLIST_MASK_STATE
|
1899 if (self
->GetColumn(col
, item
))
1900 return new wxListItem(item
);
1904 static wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
1905 wxListItem
* info
= new wxListItem
;
1906 info
->m_itemId
= itemId
;
1908 info
->m_mask
= 0xFFFF;
1909 self
->GetItem(*info
);
1912 static wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
1914 self
->GetItemPosition(item
, pos
);
1917 static wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
1919 self
->GetItemRect(item
, rect
, code
);
1923 static bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
1924 if (!PyCallable_Check(func
))
1926 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
1928 static wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
1932 return (wxWindow
*)self
->m_mainWin
;
1936 #include <wx/treectrl.h>
1937 #include "wx/wxPython/pytree.h"
1939 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
1940 static bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
1941 static bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
1942 static void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
1943 // C++ version of Python aware wxTreeCtrl
1944 class wxPyTreeCtrl
: public wxTreeCtrl
{
1945 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
1947 wxPyTreeCtrl() : wxTreeCtrl() {}
1948 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
1952 const wxValidator
& validator
,
1953 const wxString
& name
) :
1954 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1956 bool Create(wxWindow
*parent
, wxWindowID id
,
1960 const wxValidator
& validator
,
1961 const wxString
& name
) {
1962 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
1966 int OnCompareItems(const wxTreeItemId
& item1
,
1967 const wxTreeItemId
& item2
) {
1970 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1971 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
1972 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
1973 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
1974 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
1978 wxPyEndBlockThreads(blocked
);
1980 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
1986 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
1990 #if UINT_MAX < LONG_MAX
1991 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1992 #define SWIG_From_unsigned_SS_int SWIG_From_long
1995 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1996 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2002 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2003 unsigned long max_value
,
2006 if (value
> max_value
) {
2008 PyErr_Format(PyExc_OverflowError
,
2009 "value %lu is greater than '%s' minimum %lu",
2010 value
, errmsg
, max_value
);
2018 #if UINT_MAX != ULONG_MAX
2020 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2022 const char* errmsg
= val
? "unsigned int" : (char*)0;
2024 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2025 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2026 if (val
) *val
= (unsigned int)(v
);
2033 SWIG_type_error(errmsg
, obj
);
2038 SWIGINTERNSHORT
unsigned int
2039 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2041 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2046 SWIGINTERNSHORT
unsigned int
2047 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2050 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2052 this is needed to make valgrind/purify happier.
2054 memset((void*)&v
, 0, sizeof(unsigned int));
2061 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2063 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2066 static wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2067 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2069 data
= new wxPyTreeItemData();
2070 data
->SetId(item
); // set the id
2071 self
->SetItemData(item
, data
);
2075 static PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2076 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2078 data
= new wxPyTreeItemData();
2079 data
->SetId(item
); // set the id
2080 self
->SetItemData(item
, data
);
2082 return data
->GetData();
2084 static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
2085 data
->SetId(item
); // set the id
2086 self
->SetItemData(item
, data
);
2088 static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
2089 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
2091 data
= new wxPyTreeItemData(obj
);
2092 data
->SetId(item
); // set the id
2093 self
->SetItemData(item
, data
);
2097 static PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
2098 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2099 PyObject
* rval
= PyList_New(0);
2100 wxArrayTreeItemIds array
;
2102 num
= self
->GetSelections(array
);
2103 for (x
=0; x
< num
; x
++) {
2104 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
2105 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
2106 PyList_Append(rval
, item
);
2109 wxPyEndBlockThreads(blocked
);
2112 static PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
2114 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
2115 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2116 PyObject
* tup
= PyTuple_New(2);
2117 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2118 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2119 wxPyEndBlockThreads(blocked
);
2122 static PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
2123 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
2124 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2125 PyObject
* tup
= PyTuple_New(2);
2126 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
2127 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
2128 wxPyEndBlockThreads(blocked
);
2131 static PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
2133 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
2134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2135 wxRect
* r
= new wxRect(rect
);
2136 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
2137 wxPyEndBlockThreads(blocked
);
2143 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
2145 SWIGINTERNSHORT PyObject
*
2146 SWIG_From_bool(bool value
)
2148 PyObject
*obj
= value
? Py_True
: Py_False
;
2154 // C++ version of Python aware wxControl
2155 class wxPyControl
: public wxControl
2157 DECLARE_DYNAMIC_CLASS(wxPyControl
)
2159 wxPyControl() : wxControl() {}
2160 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
2161 const wxPoint
& pos
= wxDefaultPosition
,
2162 const wxSize
& size
= wxDefaultSize
,
2164 const wxValidator
& validator
=wxDefaultValidator
,
2165 const wxString
& name
= wxPyControlNameStr
)
2166 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
2168 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
2170 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2171 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2172 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2173 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2175 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2176 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2177 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2179 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2180 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2182 DEC_PYCALLBACK__(InitDialog
);
2183 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2184 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2185 DEC_PYCALLBACK_BOOL_(Validate
);
2187 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2188 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2189 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2191 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2192 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2194 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2195 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2196 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2198 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2203 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
2205 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
2206 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
2207 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
2208 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
2210 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
2211 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
2212 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
2214 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
2215 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
2217 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
2218 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
2219 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
2220 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
2222 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
2223 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
2224 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
2226 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
2227 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
2229 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
2230 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
2231 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
2233 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
2237 static void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
2239 #include <wx/generic/dragimgg.h>
2241 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
2242 static wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
2244 self
->GetRange(&rv
, NULL
);
2247 static wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
2249 self
->GetRange(NULL
, &rv
);
2255 static int _wrap_ButtonNameStr_set(PyObject
*) {
2256 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
2261 static PyObject
*_wrap_ButtonNameStr_get(void) {
2266 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2268 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
2275 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 wxWindow
*arg1
= (wxWindow
*) 0 ;
2278 int arg2
= (int) -1 ;
2279 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2280 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2285 long arg6
= (long) 0 ;
2286 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2287 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2288 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2289 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2291 bool temp3
= false ;
2294 bool temp8
= false ;
2295 PyObject
* obj0
= 0 ;
2296 PyObject
* obj1
= 0 ;
2297 PyObject
* obj2
= 0 ;
2298 PyObject
* obj3
= 0 ;
2299 PyObject
* obj4
= 0 ;
2300 PyObject
* obj5
= 0 ;
2301 PyObject
* obj6
= 0 ;
2302 PyObject
* obj7
= 0 ;
2304 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2309 if (SWIG_arg_fail(1)) SWIG_fail
;
2312 arg2
= (int)(SWIG_As_int(obj1
));
2313 if (SWIG_arg_fail(2)) SWIG_fail
;
2318 arg3
= wxString_in_helper(obj2
);
2319 if (arg3
== NULL
) SWIG_fail
;
2326 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2332 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2337 arg6
= (long)(SWIG_As_long(obj5
));
2338 if (SWIG_arg_fail(6)) SWIG_fail
;
2343 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2344 if (SWIG_arg_fail(7)) SWIG_fail
;
2346 SWIG_null_ref("wxValidator");
2348 if (SWIG_arg_fail(7)) SWIG_fail
;
2353 arg8
= wxString_in_helper(obj7
);
2354 if (arg8
== NULL
) SWIG_fail
;
2359 if (!wxPyCheckForApp()) SWIG_fail
;
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2389 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
2398 if (!wxPyCheckForApp()) SWIG_fail
;
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 result
= (wxButton
*)new wxButton();
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
2412 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2414 wxButton
*arg1
= (wxButton
*) 0 ;
2415 wxWindow
*arg2
= (wxWindow
*) 0 ;
2416 int arg3
= (int) -1 ;
2417 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2418 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2419 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2420 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2421 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2422 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2423 long arg7
= (long) 0 ;
2424 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2425 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2426 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2427 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2429 bool temp4
= false ;
2432 bool temp9
= false ;
2433 PyObject
* obj0
= 0 ;
2434 PyObject
* obj1
= 0 ;
2435 PyObject
* obj2
= 0 ;
2436 PyObject
* obj3
= 0 ;
2437 PyObject
* obj4
= 0 ;
2438 PyObject
* obj5
= 0 ;
2439 PyObject
* obj6
= 0 ;
2440 PyObject
* obj7
= 0 ;
2441 PyObject
* obj8
= 0 ;
2443 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2448 if (SWIG_arg_fail(1)) SWIG_fail
;
2449 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2450 if (SWIG_arg_fail(2)) SWIG_fail
;
2453 arg3
= (int)(SWIG_As_int(obj2
));
2454 if (SWIG_arg_fail(3)) SWIG_fail
;
2459 arg4
= wxString_in_helper(obj3
);
2460 if (arg4
== NULL
) SWIG_fail
;
2467 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2473 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2478 arg7
= (long)(SWIG_As_long(obj6
));
2479 if (SWIG_arg_fail(7)) SWIG_fail
;
2484 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2485 if (SWIG_arg_fail(8)) SWIG_fail
;
2487 SWIG_null_ref("wxValidator");
2489 if (SWIG_arg_fail(8)) SWIG_fail
;
2494 arg9
= wxString_in_helper(obj8
);
2495 if (arg9
== NULL
) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2531 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
*resultobj
;
2533 wxButton
*arg1
= (wxButton
*) 0 ;
2534 PyObject
* obj0
= 0 ;
2536 (char *) "self", NULL
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
2540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
2541 if (SWIG_arg_fail(1)) SWIG_fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 (arg1
)->SetDefault();
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2549 Py_INCREF(Py_None
); resultobj
= Py_None
;
2556 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 result
= wxButton::GetDefaultSize();
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2573 resultptr
= new wxSize((wxSize
&)(result
));
2574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2582 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2585 wxVisualAttributes result
;
2586 PyObject
* obj0
= 0 ;
2588 (char *) "variant", NULL
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2594 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2595 if (SWIG_arg_fail(1)) SWIG_fail
;
2599 if (!wxPyCheckForApp()) SWIG_fail
;
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2607 wxVisualAttributes
* resultptr
;
2608 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2617 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
2619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2620 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
2622 return Py_BuildValue((char *)"");
2624 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
*resultobj
;
2626 wxWindow
*arg1
= (wxWindow
*) 0 ;
2627 int arg2
= (int) -1 ;
2628 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
2629 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
2630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2634 long arg6
= (long) wxBU_AUTODRAW
;
2635 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2636 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2637 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
2638 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2639 wxBitmapButton
*result
;
2642 bool temp8
= false ;
2643 PyObject
* obj0
= 0 ;
2644 PyObject
* obj1
= 0 ;
2645 PyObject
* obj2
= 0 ;
2646 PyObject
* obj3
= 0 ;
2647 PyObject
* obj4
= 0 ;
2648 PyObject
* obj5
= 0 ;
2649 PyObject
* obj6
= 0 ;
2650 PyObject
* obj7
= 0 ;
2652 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2657 if (SWIG_arg_fail(1)) SWIG_fail
;
2660 arg2
= (int)(SWIG_As_int(obj1
));
2661 if (SWIG_arg_fail(2)) SWIG_fail
;
2666 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2667 if (SWIG_arg_fail(3)) SWIG_fail
;
2669 SWIG_null_ref("wxBitmap");
2671 if (SWIG_arg_fail(3)) SWIG_fail
;
2677 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2683 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2688 arg6
= (long)(SWIG_As_long(obj5
));
2689 if (SWIG_arg_fail(6)) SWIG_fail
;
2694 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2695 if (SWIG_arg_fail(7)) SWIG_fail
;
2697 SWIG_null_ref("wxValidator");
2699 if (SWIG_arg_fail(7)) SWIG_fail
;
2704 arg8
= wxString_in_helper(obj7
);
2705 if (arg8
== NULL
) SWIG_fail
;
2710 if (!wxPyCheckForApp()) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2732 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
*resultobj
;
2734 wxBitmapButton
*result
;
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
2741 if (!wxPyCheckForApp()) SWIG_fail
;
2742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 result
= (wxBitmapButton
*)new wxBitmapButton();
2745 wxPyEndAllowThreads(__tstate
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
2755 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
*resultobj
;
2757 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2758 wxWindow
*arg2
= (wxWindow
*) 0 ;
2759 int arg3
= (int) -1 ;
2760 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
2761 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
2762 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2763 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2764 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2765 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2766 long arg7
= (long) wxBU_AUTODRAW
;
2767 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2768 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2769 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
2770 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2774 bool temp9
= false ;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2777 PyObject
* obj2
= 0 ;
2778 PyObject
* obj3
= 0 ;
2779 PyObject
* obj4
= 0 ;
2780 PyObject
* obj5
= 0 ;
2781 PyObject
* obj6
= 0 ;
2782 PyObject
* obj7
= 0 ;
2783 PyObject
* obj8
= 0 ;
2785 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2790 if (SWIG_arg_fail(1)) SWIG_fail
;
2791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2792 if (SWIG_arg_fail(2)) SWIG_fail
;
2795 arg3
= (int)(SWIG_As_int(obj2
));
2796 if (SWIG_arg_fail(3)) SWIG_fail
;
2801 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
2802 if (SWIG_arg_fail(4)) SWIG_fail
;
2804 SWIG_null_ref("wxBitmap");
2806 if (SWIG_arg_fail(4)) SWIG_fail
;
2812 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2818 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2823 arg7
= (long)(SWIG_As_long(obj6
));
2824 if (SWIG_arg_fail(7)) SWIG_fail
;
2829 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
2830 if (SWIG_arg_fail(8)) SWIG_fail
;
2832 SWIG_null_ref("wxValidator");
2834 if (SWIG_arg_fail(8)) SWIG_fail
;
2839 arg9
= wxString_in_helper(obj8
);
2840 if (arg9
== NULL
) SWIG_fail
;
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2868 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2870 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2872 PyObject
* obj0
= 0 ;
2874 (char *) "self", NULL
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
2878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2879 if (SWIG_arg_fail(1)) SWIG_fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 result
= (arg1
)->GetBitmapLabel();
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2888 wxBitmap
* resultptr
;
2889 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2898 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2902 PyObject
* obj0
= 0 ;
2904 (char *) "self", NULL
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
2908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2909 if (SWIG_arg_fail(1)) SWIG_fail
;
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 result
= (arg1
)->GetBitmapDisabled();
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2918 wxBitmap
* resultptr
;
2919 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2928 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2932 PyObject
* obj0
= 0 ;
2934 (char *) "self", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
2938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2939 if (SWIG_arg_fail(1)) SWIG_fail
;
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 result
= (arg1
)->GetBitmapFocus();
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2948 wxBitmap
* resultptr
;
2949 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2958 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
*resultobj
;
2960 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2962 PyObject
* obj0
= 0 ;
2964 (char *) "self", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
2968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
2969 if (SWIG_arg_fail(1)) SWIG_fail
;
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 result
= (arg1
)->GetBitmapSelected();
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2978 wxBitmap
* resultptr
;
2979 resultptr
= new wxBitmap((wxBitmap
&)(result
));
2980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
2988 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2990 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2991 wxBitmap
*arg2
= 0 ;
2992 PyObject
* obj0
= 0 ;
2993 PyObject
* obj1
= 0 ;
2995 (char *) "self",(char *) "bitmap", NULL
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
2999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3000 if (SWIG_arg_fail(1)) SWIG_fail
;
3002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3003 if (SWIG_arg_fail(2)) SWIG_fail
;
3005 SWIG_null_ref("wxBitmap");
3007 if (SWIG_arg_fail(2)) SWIG_fail
;
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3016 Py_INCREF(Py_None
); resultobj
= Py_None
;
3023 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
*resultobj
;
3025 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3026 wxBitmap
*arg2
= 0 ;
3027 PyObject
* obj0
= 0 ;
3028 PyObject
* obj1
= 0 ;
3030 (char *) "self",(char *) "bitmap", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
3034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3035 if (SWIG_arg_fail(1)) SWIG_fail
;
3037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3038 if (SWIG_arg_fail(2)) SWIG_fail
;
3040 SWIG_null_ref("wxBitmap");
3042 if (SWIG_arg_fail(2)) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 Py_INCREF(Py_None
); resultobj
= Py_None
;
3058 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3061 wxBitmap
*arg2
= 0 ;
3062 PyObject
* obj0
= 0 ;
3063 PyObject
* obj1
= 0 ;
3065 (char *) "self",(char *) "bitmap", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
3069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3070 if (SWIG_arg_fail(1)) SWIG_fail
;
3072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3073 if (SWIG_arg_fail(2)) SWIG_fail
;
3075 SWIG_null_ref("wxBitmap");
3077 if (SWIG_arg_fail(2)) SWIG_fail
;
3080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3081 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
3083 wxPyEndAllowThreads(__tstate
);
3084 if (PyErr_Occurred()) SWIG_fail
;
3086 Py_INCREF(Py_None
); resultobj
= Py_None
;
3093 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3096 wxBitmap
*arg2
= 0 ;
3097 PyObject
* obj0
= 0 ;
3098 PyObject
* obj1
= 0 ;
3100 (char *) "self",(char *) "bitmap", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
3104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3105 if (SWIG_arg_fail(1)) SWIG_fail
;
3107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
3108 if (SWIG_arg_fail(2)) SWIG_fail
;
3110 SWIG_null_ref("wxBitmap");
3112 if (SWIG_arg_fail(2)) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3121 Py_INCREF(Py_None
); resultobj
= Py_None
;
3128 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3133 PyObject
* obj0
= 0 ;
3134 PyObject
* obj1
= 0 ;
3135 PyObject
* obj2
= 0 ;
3137 (char *) "self",(char *) "x",(char *) "y", NULL
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3142 if (SWIG_arg_fail(1)) SWIG_fail
;
3144 arg2
= (int)(SWIG_As_int(obj1
));
3145 if (SWIG_arg_fail(2)) SWIG_fail
;
3148 arg3
= (int)(SWIG_As_int(obj2
));
3149 if (SWIG_arg_fail(3)) SWIG_fail
;
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 (arg1
)->SetMargins(arg2
,arg3
);
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3158 Py_INCREF(Py_None
); resultobj
= Py_None
;
3165 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3169 PyObject
* obj0
= 0 ;
3171 (char *) "self", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
3175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3176 if (SWIG_arg_fail(1)) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3185 resultobj
= SWIG_From_int((int)(result
));
3193 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3199 (char *) "self", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
3203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_EXCEPTION
| 0);
3204 if (SWIG_arg_fail(1)) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3213 resultobj
= SWIG_From_int((int)(result
));
3221 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
3223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3224 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
3226 return Py_BuildValue((char *)"");
3228 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
3229 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
3234 static PyObject
*_wrap_CheckBoxNameStr_get(void) {
3239 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3241 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
3248 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 wxWindow
*arg1
= (wxWindow
*) 0 ;
3251 int arg2
= (int) -1 ;
3252 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3253 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3258 long arg6
= (long) 0 ;
3259 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3260 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3261 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
3262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3264 bool temp3
= false ;
3267 bool temp8
= false ;
3268 PyObject
* obj0
= 0 ;
3269 PyObject
* obj1
= 0 ;
3270 PyObject
* obj2
= 0 ;
3271 PyObject
* obj3
= 0 ;
3272 PyObject
* obj4
= 0 ;
3273 PyObject
* obj5
= 0 ;
3274 PyObject
* obj6
= 0 ;
3275 PyObject
* obj7
= 0 ;
3277 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail
;
3285 arg2
= (int)(SWIG_As_int(obj1
));
3286 if (SWIG_arg_fail(2)) SWIG_fail
;
3291 arg3
= wxString_in_helper(obj2
);
3292 if (arg3
== NULL
) SWIG_fail
;
3299 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3305 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3310 arg6
= (long)(SWIG_As_long(obj5
));
3311 if (SWIG_arg_fail(6)) SWIG_fail
;
3316 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3317 if (SWIG_arg_fail(7)) SWIG_fail
;
3319 SWIG_null_ref("wxValidator");
3321 if (SWIG_arg_fail(7)) SWIG_fail
;
3326 arg8
= wxString_in_helper(obj7
);
3327 if (arg8
== NULL
) SWIG_fail
;
3332 if (!wxPyCheckForApp()) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3362 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
3371 if (!wxPyCheckForApp()) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= (wxCheckBox
*)new wxCheckBox();
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
3385 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3388 wxWindow
*arg2
= (wxWindow
*) 0 ;
3389 int arg3
= (int) -1 ;
3390 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3391 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3392 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3393 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3394 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3395 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3396 long arg7
= (long) 0 ;
3397 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3398 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3399 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
3400 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3402 bool temp4
= false ;
3405 bool temp9
= false ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3408 PyObject
* obj2
= 0 ;
3409 PyObject
* obj3
= 0 ;
3410 PyObject
* obj4
= 0 ;
3411 PyObject
* obj5
= 0 ;
3412 PyObject
* obj6
= 0 ;
3413 PyObject
* obj7
= 0 ;
3414 PyObject
* obj8
= 0 ;
3416 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3421 if (SWIG_arg_fail(1)) SWIG_fail
;
3422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3423 if (SWIG_arg_fail(2)) SWIG_fail
;
3426 arg3
= (int)(SWIG_As_int(obj2
));
3427 if (SWIG_arg_fail(3)) SWIG_fail
;
3432 arg4
= wxString_in_helper(obj3
);
3433 if (arg4
== NULL
) SWIG_fail
;
3440 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3446 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3451 arg7
= (long)(SWIG_As_long(obj6
));
3452 if (SWIG_arg_fail(7)) SWIG_fail
;
3457 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3458 if (SWIG_arg_fail(8)) SWIG_fail
;
3460 SWIG_null_ref("wxValidator");
3462 if (SWIG_arg_fail(8)) SWIG_fail
;
3467 arg9
= wxString_in_helper(obj8
);
3468 if (arg9
== NULL
) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3504 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3506 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3508 PyObject
* obj0
= 0 ;
3510 (char *) "self", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
3514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3515 if (SWIG_arg_fail(1)) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= (bool)(arg1
)->GetValue();
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3532 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3538 (char *) "self", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
3542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3543 if (SWIG_arg_fail(1)) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 result
= (bool)(arg1
)->IsChecked();
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3560 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
;
3562 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3564 PyObject
* obj0
= 0 ;
3565 PyObject
* obj1
= 0 ;
3567 (char *) "self",(char *) "state", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3572 if (SWIG_arg_fail(1)) SWIG_fail
;
3574 arg2
= (bool const)(SWIG_As_bool(obj1
));
3575 if (SWIG_arg_fail(2)) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 (arg1
)->SetValue(arg2
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 Py_INCREF(Py_None
); resultobj
= Py_None
;
3591 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3594 wxCheckBoxState result
;
3595 PyObject
* obj0
= 0 ;
3597 (char *) "self", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
3601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3602 if (SWIG_arg_fail(1)) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3610 resultobj
= SWIG_From_int((result
));
3617 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3620 wxCheckBoxState arg2
;
3621 PyObject
* obj0
= 0 ;
3622 PyObject
* obj1
= 0 ;
3624 (char *) "self",(char *) "state", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3629 if (SWIG_arg_fail(1)) SWIG_fail
;
3631 arg2
= (wxCheckBoxState
)(SWIG_As_int(obj1
));
3632 if (SWIG_arg_fail(2)) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3648 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3652 PyObject
* obj0
= 0 ;
3654 (char *) "self", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
3658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3659 if (SWIG_arg_fail(1)) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3676 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
3680 PyObject
* obj0
= 0 ;
3682 (char *) "self", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
3686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_EXCEPTION
| 0);
3687 if (SWIG_arg_fail(1)) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3704 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3707 wxVisualAttributes result
;
3708 PyObject
* obj0
= 0 ;
3710 (char *) "variant", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3716 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3717 if (SWIG_arg_fail(1)) SWIG_fail
;
3721 if (!wxPyCheckForApp()) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3729 wxVisualAttributes
* resultptr
;
3730 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3739 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
3741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3742 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
3744 return Py_BuildValue((char *)"");
3746 static int _wrap_ChoiceNameStr_set(PyObject
*) {
3747 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
3752 static PyObject
*_wrap_ChoiceNameStr_get(void) {
3757 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3759 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
3766 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxWindow
*arg1
= (wxWindow
*) 0 ;
3769 int arg2
= (int) -1 ;
3770 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3771 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3772 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3773 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3774 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
3775 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
3776 long arg6
= (long) 0 ;
3777 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3778 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3779 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
3780 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3784 bool temp5
= false ;
3785 bool temp8
= false ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3788 PyObject
* obj2
= 0 ;
3789 PyObject
* obj3
= 0 ;
3790 PyObject
* obj4
= 0 ;
3791 PyObject
* obj5
= 0 ;
3792 PyObject
* obj6
= 0 ;
3793 PyObject
* obj7
= 0 ;
3795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3800 if (SWIG_arg_fail(1)) SWIG_fail
;
3803 arg2
= (int)(SWIG_As_int(obj1
));
3804 if (SWIG_arg_fail(2)) SWIG_fail
;
3810 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3816 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3821 if (! PySequence_Check(obj4
)) {
3822 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3825 arg5
= new wxArrayString
;
3827 int i
, len
=PySequence_Length(obj4
);
3828 for (i
=0; i
<len
; i
++) {
3829 PyObject
* item
= PySequence_GetItem(obj4
, i
);
3831 PyObject
* str
= PyObject_Unicode(item
);
3833 PyObject
* str
= PyObject_Str(item
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3836 arg5
->Add(Py2wxString(str
));
3844 arg6
= (long)(SWIG_As_long(obj5
));
3845 if (SWIG_arg_fail(6)) SWIG_fail
;
3850 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
3851 if (SWIG_arg_fail(7)) SWIG_fail
;
3853 SWIG_null_ref("wxValidator");
3855 if (SWIG_arg_fail(7)) SWIG_fail
;
3860 arg8
= wxString_in_helper(obj7
);
3861 if (arg8
== NULL
) SWIG_fail
;
3866 if (!wxPyCheckForApp()) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3875 if (temp5
) delete arg5
;
3884 if (temp5
) delete arg5
;
3894 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
3903 if (!wxPyCheckForApp()) SWIG_fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (wxChoice
*)new wxChoice();
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
3917 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxChoice
*arg1
= (wxChoice
*) 0 ;
3920 wxWindow
*arg2
= (wxWindow
*) 0 ;
3921 int arg3
= (int) -1 ;
3922 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3923 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3924 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3925 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3926 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3927 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3928 long arg7
= (long) 0 ;
3929 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3930 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3931 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
3932 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3936 bool temp6
= false ;
3937 bool temp9
= false ;
3938 PyObject
* obj0
= 0 ;
3939 PyObject
* obj1
= 0 ;
3940 PyObject
* obj2
= 0 ;
3941 PyObject
* obj3
= 0 ;
3942 PyObject
* obj4
= 0 ;
3943 PyObject
* obj5
= 0 ;
3944 PyObject
* obj6
= 0 ;
3945 PyObject
* obj7
= 0 ;
3946 PyObject
* obj8
= 0 ;
3948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoice
, SWIG_POINTER_EXCEPTION
| 0);
3953 if (SWIG_arg_fail(1)) SWIG_fail
;
3954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3955 if (SWIG_arg_fail(2)) SWIG_fail
;
3958 arg3
= (int)(SWIG_As_int(obj2
));
3959 if (SWIG_arg_fail(3)) SWIG_fail
;
3965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3976 if (! PySequence_Check(obj5
)) {
3977 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3980 arg6
= new wxArrayString
;
3982 int i
, len
=PySequence_Length(obj5
);
3983 for (i
=0; i
<len
; i
++) {
3984 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3986 PyObject
* str
= PyObject_Unicode(item
);
3988 PyObject
* str
= PyObject_Str(item
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3991 arg6
->Add(Py2wxString(str
));
3999 arg7
= (long)(SWIG_As_long(obj6
));
4000 if (SWIG_arg_fail(7)) SWIG_fail
;
4005 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4006 if (SWIG_arg_fail(8)) SWIG_fail
;
4008 SWIG_null_ref("wxValidator");
4010 if (SWIG_arg_fail(8)) SWIG_fail
;
4015 arg9
= wxString_in_helper(obj8
);
4016 if (arg9
== NULL
) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4031 if (temp6
) delete arg6
;
4040 if (temp6
) delete arg6
;
4050 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4053 wxVisualAttributes result
;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "variant", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4062 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
4063 if (SWIG_arg_fail(1)) SWIG_fail
;
4067 if (!wxPyCheckForApp()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4075 wxVisualAttributes
* resultptr
;
4076 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
4077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4085 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
4087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4088 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
4090 return Py_BuildValue((char *)"");
4092 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
4093 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
4098 static PyObject
*_wrap_ComboBoxNameStr_get(void) {
4103 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4105 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
4112 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxWindow
*arg1
= (wxWindow
*) 0 ;
4115 int arg2
= (int) -1 ;
4116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4122 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
4123 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
4124 long arg7
= (long) 0 ;
4125 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4126 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4127 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
4128 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4130 bool temp3
= false ;
4133 bool temp6
= false ;
4134 bool temp9
= false ;
4135 PyObject
* obj0
= 0 ;
4136 PyObject
* obj1
= 0 ;
4137 PyObject
* obj2
= 0 ;
4138 PyObject
* obj3
= 0 ;
4139 PyObject
* obj4
= 0 ;
4140 PyObject
* obj5
= 0 ;
4141 PyObject
* obj6
= 0 ;
4142 PyObject
* obj7
= 0 ;
4143 PyObject
* obj8
= 0 ;
4145 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4150 if (SWIG_arg_fail(1)) SWIG_fail
;
4153 arg2
= (int)(SWIG_As_int(obj1
));
4154 if (SWIG_arg_fail(2)) SWIG_fail
;
4159 arg3
= wxString_in_helper(obj2
);
4160 if (arg3
== NULL
) SWIG_fail
;
4167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4178 if (! PySequence_Check(obj5
)) {
4179 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4182 arg6
= new wxArrayString
;
4184 int i
, len
=PySequence_Length(obj5
);
4185 for (i
=0; i
<len
; i
++) {
4186 PyObject
* item
= PySequence_GetItem(obj5
, i
);
4188 PyObject
* str
= PyObject_Unicode(item
);
4190 PyObject
* str
= PyObject_Str(item
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4193 arg6
->Add(Py2wxString(str
));
4201 arg7
= (long)(SWIG_As_long(obj6
));
4202 if (SWIG_arg_fail(7)) SWIG_fail
;
4207 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4208 if (SWIG_arg_fail(8)) SWIG_fail
;
4210 SWIG_null_ref("wxValidator");
4212 if (SWIG_arg_fail(8)) SWIG_fail
;
4217 arg9
= wxString_in_helper(obj8
);
4218 if (arg9
== NULL
) SWIG_fail
;
4223 if (!wxPyCheckForApp()) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 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
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4236 if (temp6
) delete arg6
;
4249 if (temp6
) delete arg6
;
4259 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
4268 if (!wxPyCheckForApp()) SWIG_fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (wxComboBox
*)new wxComboBox();
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
4282 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4284 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4285 wxWindow
*arg2
= (wxWindow
*) 0 ;
4286 int arg3
= (int) -1 ;
4287 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4288 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4289 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4290 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4291 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4292 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4293 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
4294 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
4295 long arg8
= (long) 0 ;
4296 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4297 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4298 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
4299 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4301 bool temp4
= false ;
4304 bool temp7
= false ;
4305 bool temp10
= false ;
4306 PyObject
* obj0
= 0 ;
4307 PyObject
* obj1
= 0 ;
4308 PyObject
* obj2
= 0 ;
4309 PyObject
* obj3
= 0 ;
4310 PyObject
* obj4
= 0 ;
4311 PyObject
* obj5
= 0 ;
4312 PyObject
* obj6
= 0 ;
4313 PyObject
* obj7
= 0 ;
4314 PyObject
* obj8
= 0 ;
4315 PyObject
* obj9
= 0 ;
4317 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
4321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail
;
4323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4324 if (SWIG_arg_fail(2)) SWIG_fail
;
4327 arg3
= (int)(SWIG_As_int(obj2
));
4328 if (SWIG_arg_fail(3)) SWIG_fail
;
4333 arg4
= wxString_in_helper(obj3
);
4334 if (arg4
== NULL
) SWIG_fail
;
4341 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4347 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4352 if (! PySequence_Check(obj6
)) {
4353 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4356 arg7
= new wxArrayString
;
4358 int i
, len
=PySequence_Length(obj6
);
4359 for (i
=0; i
<len
; i
++) {
4360 PyObject
* item
= PySequence_GetItem(obj6
, i
);
4362 PyObject
* str
= PyObject_Unicode(item
);
4364 PyObject
* str
= PyObject_Str(item
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4367 arg7
->Add(Py2wxString(str
));
4375 arg8
= (long)(SWIG_As_long(obj7
));
4376 if (SWIG_arg_fail(8)) SWIG_fail
;
4381 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
4382 if (SWIG_arg_fail(9)) SWIG_fail
;
4384 SWIG_null_ref("wxValidator");
4386 if (SWIG_arg_fail(9)) SWIG_fail
;
4391 arg10
= wxString_in_helper(obj9
);
4392 if (arg10
== NULL
) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 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
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4411 if (temp7
) delete arg7
;
4424 if (temp7
) delete arg7
;
4434 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4438 PyObject
* obj0
= 0 ;
4440 (char *) "self", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
4444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4445 if (SWIG_arg_fail(1)) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 result
= ((wxComboBox
const *)arg1
)->GetValue();
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4466 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
;
4468 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4469 wxString
*arg2
= 0 ;
4470 bool temp2
= false ;
4471 PyObject
* obj0
= 0 ;
4472 PyObject
* obj1
= 0 ;
4474 (char *) "self",(char *) "value", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail
;
4481 arg2
= wxString_in_helper(obj1
);
4482 if (arg2
== NULL
) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 (arg1
)->SetValue((wxString
const &)*arg2
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 Py_INCREF(Py_None
); resultobj
= Py_None
;
4507 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4512 (char *) "self", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
4516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4517 if (SWIG_arg_fail(1)) SWIG_fail
;
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4525 Py_INCREF(Py_None
); resultobj
= Py_None
;
4532 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
;
4534 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4537 (char *) "self", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
4541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4542 if (SWIG_arg_fail(1)) SWIG_fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4550 Py_INCREF(Py_None
); resultobj
= Py_None
;
4557 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4560 PyObject
* obj0
= 0 ;
4562 (char *) "self", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
4566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4567 if (SWIG_arg_fail(1)) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 Py_INCREF(Py_None
); resultobj
= Py_None
;
4582 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4584 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4587 PyObject
* obj1
= 0 ;
4589 (char *) "self",(char *) "pos", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4594 if (SWIG_arg_fail(1)) SWIG_fail
;
4596 arg2
= (long)(SWIG_As_long(obj1
));
4597 if (SWIG_arg_fail(2)) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 (arg1
)->SetInsertionPoint(arg2
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 Py_INCREF(Py_None
); resultobj
= Py_None
;
4613 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4615 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4617 PyObject
* obj0
= 0 ;
4619 (char *) "self", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
4623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4633 resultobj
= SWIG_From_long((long)(result
));
4641 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
;
4643 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4645 PyObject
* obj0
= 0 ;
4647 (char *) "self", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
4651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_From_long((long)(result
));
4669 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4674 wxString
*arg4
= 0 ;
4675 bool temp4
= false ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 PyObject
* obj3
= 0 ;
4681 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail
;
4688 arg2
= (long)(SWIG_As_long(obj1
));
4689 if (SWIG_arg_fail(2)) SWIG_fail
;
4692 arg3
= (long)(SWIG_As_long(obj2
));
4693 if (SWIG_arg_fail(3)) SWIG_fail
;
4696 arg4
= wxString_in_helper(obj3
);
4697 if (arg4
== NULL
) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 Py_INCREF(Py_None
); resultobj
= Py_None
;
4722 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4726 PyObject
* obj0
= 0 ;
4727 PyObject
* obj1
= 0 ;
4729 (char *) "self",(char *) "n", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4734 if (SWIG_arg_fail(1)) SWIG_fail
;
4736 arg2
= (int)(SWIG_As_int(obj1
));
4737 if (SWIG_arg_fail(2)) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 (arg1
)->SetSelection(arg2
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 Py_INCREF(Py_None
); resultobj
= Py_None
;
4753 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4762 (char *) "self",(char *) "from",(char *) "to", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4767 if (SWIG_arg_fail(1)) SWIG_fail
;
4769 arg2
= (long)(SWIG_As_long(obj1
));
4770 if (SWIG_arg_fail(2)) SWIG_fail
;
4773 arg3
= (long)(SWIG_As_long(obj2
));
4774 if (SWIG_arg_fail(3)) SWIG_fail
;
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 (arg1
)->SetSelection(arg2
,arg3
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 Py_INCREF(Py_None
); resultobj
= Py_None
;
4790 static PyObject
*_wrap_ComboBox_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
;
4792 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4793 long *arg2
= (long *) 0 ;
4794 long *arg3
= (long *) 0 ;
4799 PyObject
* obj0
= 0 ;
4801 (char *) "self", NULL
4804 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4805 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
4807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4808 if (SWIG_arg_fail(1)) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 (arg1
)->GetSelection(arg2
,arg3
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 Py_INCREF(Py_None
); resultobj
= Py_None
;
4817 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4818 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
4819 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4820 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
4827 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4830 wxString
*arg2
= 0 ;
4832 bool temp2
= false ;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4836 (char *) "self",(char *) "string", NULL
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
4840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4841 if (SWIG_arg_fail(1)) SWIG_fail
;
4843 arg2
= wxString_in_helper(obj1
);
4844 if (arg2
== NULL
) SWIG_fail
;
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4871 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4875 wxString
*arg3
= 0 ;
4876 bool temp3
= false ;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4879 PyObject
* obj2
= 0 ;
4881 (char *) "self",(char *) "n",(char *) "string", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4886 if (SWIG_arg_fail(1)) SWIG_fail
;
4888 arg2
= (int)(SWIG_As_int(obj1
));
4889 if (SWIG_arg_fail(2)) SWIG_fail
;
4892 arg3
= wxString_in_helper(obj2
);
4893 if (arg3
== NULL
) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 Py_INCREF(Py_None
); resultobj
= Py_None
;
4918 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
;
4920 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4922 PyObject
* obj0
= 0 ;
4923 PyObject
* obj1
= 0 ;
4925 (char *) "self",(char *) "editable", NULL
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
4929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4930 if (SWIG_arg_fail(1)) SWIG_fail
;
4932 arg2
= (bool)(SWIG_As_bool(obj1
));
4933 if (SWIG_arg_fail(2)) SWIG_fail
;
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 (arg1
)->SetEditable(arg2
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4942 Py_INCREF(Py_None
); resultobj
= Py_None
;
4949 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4952 PyObject
* obj0
= 0 ;
4954 (char *) "self", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
4958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4959 if (SWIG_arg_fail(1)) SWIG_fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 (arg1
)->SetInsertionPointEnd();
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 Py_INCREF(Py_None
); resultobj
= Py_None
;
4974 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4981 PyObject
* obj2
= 0 ;
4983 (char *) "self",(char *) "from",(char *) "to", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
4988 if (SWIG_arg_fail(1)) SWIG_fail
;
4990 arg2
= (long)(SWIG_As_long(obj1
));
4991 if (SWIG_arg_fail(2)) SWIG_fail
;
4994 arg3
= (long)(SWIG_As_long(obj2
));
4995 if (SWIG_arg_fail(3)) SWIG_fail
;
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 (arg1
)->Remove(arg2
,arg3
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5004 Py_INCREF(Py_None
); resultobj
= Py_None
;
5011 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
;
5013 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5015 PyObject
* obj0
= 0 ;
5017 (char *) "self", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
5021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5022 if (SWIG_arg_fail(1)) SWIG_fail
;
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5039 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5042 PyObject
* obj0
= 0 ;
5044 (char *) "self", NULL
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
5048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5049 if (SWIG_arg_fail(1)) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 Py_INCREF(Py_None
); resultobj
= Py_None
;
5064 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
;
5066 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5069 (char *) "self", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
5073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5074 if (SWIG_arg_fail(1)) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 Py_INCREF(Py_None
); resultobj
= Py_None
;
5089 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5092 PyObject
* obj0
= 0 ;
5094 (char *) "self", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
5098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5099 if (SWIG_arg_fail(1)) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 (arg1
)->SelectAll();
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 Py_INCREF(Py_None
); resultobj
= Py_None
;
5114 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5120 (char *) "self", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
5124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5125 if (SWIG_arg_fail(1)) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5142 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5148 (char *) "self", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
5152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5153 if (SWIG_arg_fail(1)) SWIG_fail
;
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5170 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5176 (char *) "self", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
5180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5198 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5202 PyObject
* obj0
= 0 ;
5204 (char *) "self", NULL
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
5208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5226 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5232 (char *) "self", NULL
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
5236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxComboBox
, SWIG_POINTER_EXCEPTION
| 0);
5237 if (SWIG_arg_fail(1)) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5254 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5257 wxVisualAttributes result
;
5258 PyObject
* obj0
= 0 ;
5260 (char *) "variant", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5266 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5267 if (SWIG_arg_fail(1)) SWIG_fail
;
5271 if (!wxPyCheckForApp()) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5279 wxVisualAttributes
* resultptr
;
5280 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5289 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
5291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5292 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
5294 return Py_BuildValue((char *)"");
5296 static int _wrap_GaugeNameStr_set(PyObject
*) {
5297 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
5302 static PyObject
*_wrap_GaugeNameStr_get(void) {
5307 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5309 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
5316 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxWindow
*arg1
= (wxWindow
*) 0 ;
5319 int arg2
= (int) -1 ;
5320 int arg3
= (int) 100 ;
5321 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5322 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5323 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5324 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5325 long arg6
= (long) wxGA_HORIZONTAL
;
5326 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5327 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5328 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
5329 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5333 bool temp8
= false ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5336 PyObject
* obj2
= 0 ;
5337 PyObject
* obj3
= 0 ;
5338 PyObject
* obj4
= 0 ;
5339 PyObject
* obj5
= 0 ;
5340 PyObject
* obj6
= 0 ;
5341 PyObject
* obj7
= 0 ;
5343 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5348 if (SWIG_arg_fail(1)) SWIG_fail
;
5351 arg2
= (int)(SWIG_As_int(obj1
));
5352 if (SWIG_arg_fail(2)) SWIG_fail
;
5357 arg3
= (int)(SWIG_As_int(obj2
));
5358 if (SWIG_arg_fail(3)) SWIG_fail
;
5364 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5370 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5375 arg6
= (long)(SWIG_As_long(obj5
));
5376 if (SWIG_arg_fail(6)) SWIG_fail
;
5381 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5382 if (SWIG_arg_fail(7)) SWIG_fail
;
5384 SWIG_null_ref("wxValidator");
5386 if (SWIG_arg_fail(7)) SWIG_fail
;
5391 arg8
= wxString_in_helper(obj7
);
5392 if (arg8
== NULL
) SWIG_fail
;
5397 if (!wxPyCheckForApp()) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5419 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
5428 if (!wxPyCheckForApp()) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= (wxGauge
*)new wxGauge();
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
5442 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxGauge
*arg1
= (wxGauge
*) 0 ;
5445 wxWindow
*arg2
= (wxWindow
*) 0 ;
5446 int arg3
= (int) -1 ;
5447 int arg4
= (int) 100 ;
5448 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5449 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5450 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5451 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5452 long arg7
= (long) wxGA_HORIZONTAL
;
5453 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5454 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5455 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
5456 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5460 bool temp9
= false ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5463 PyObject
* obj2
= 0 ;
5464 PyObject
* obj3
= 0 ;
5465 PyObject
* obj4
= 0 ;
5466 PyObject
* obj5
= 0 ;
5467 PyObject
* obj6
= 0 ;
5468 PyObject
* obj7
= 0 ;
5469 PyObject
* obj8
= 0 ;
5471 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5476 if (SWIG_arg_fail(1)) SWIG_fail
;
5477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5478 if (SWIG_arg_fail(2)) SWIG_fail
;
5481 arg3
= (int)(SWIG_As_int(obj2
));
5482 if (SWIG_arg_fail(3)) SWIG_fail
;
5487 arg4
= (int)(SWIG_As_int(obj3
));
5488 if (SWIG_arg_fail(4)) SWIG_fail
;
5494 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5500 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5505 arg7
= (long)(SWIG_As_long(obj6
));
5506 if (SWIG_arg_fail(7)) SWIG_fail
;
5511 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
5512 if (SWIG_arg_fail(8)) SWIG_fail
;
5514 SWIG_null_ref("wxValidator");
5516 if (SWIG_arg_fail(8)) SWIG_fail
;
5521 arg9
= wxString_in_helper(obj8
);
5522 if (arg9
== NULL
) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5550 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 wxGauge
*arg1
= (wxGauge
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5557 (char *) "self",(char *) "range", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
5561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5562 if (SWIG_arg_fail(1)) SWIG_fail
;
5564 arg2
= (int)(SWIG_As_int(obj1
));
5565 if (SWIG_arg_fail(2)) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 (arg1
)->SetRange(arg2
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 Py_INCREF(Py_None
); resultobj
= Py_None
;
5581 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxGauge
*arg1
= (wxGauge
*) 0 ;
5585 PyObject
* obj0
= 0 ;
5587 (char *) "self", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
5591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5592 if (SWIG_arg_fail(1)) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (int)((wxGauge
const *)arg1
)->GetRange();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= SWIG_From_int((int)(result
));
5609 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxGauge
*arg1
= (wxGauge
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5616 (char *) "self",(char *) "pos", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
5620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5621 if (SWIG_arg_fail(1)) SWIG_fail
;
5623 arg2
= (int)(SWIG_As_int(obj1
));
5624 if (SWIG_arg_fail(2)) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->SetValue(arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 Py_INCREF(Py_None
); resultobj
= Py_None
;
5640 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxGauge
*arg1
= (wxGauge
*) 0 ;
5644 PyObject
* obj0
= 0 ;
5646 (char *) "self", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
5650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5651 if (SWIG_arg_fail(1)) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (int)((wxGauge
const *)arg1
)->GetValue();
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_From_int((int)(result
));
5668 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
;
5670 wxGauge
*arg1
= (wxGauge
*) 0 ;
5672 PyObject
* obj0
= 0 ;
5674 (char *) "self", NULL
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
5678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5679 if (SWIG_arg_fail(1)) SWIG_fail
;
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5696 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxGauge
*arg1
= (wxGauge
*) 0 ;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5703 (char *) "self",(char *) "w", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5708 if (SWIG_arg_fail(1)) SWIG_fail
;
5710 arg2
= (int)(SWIG_As_int(obj1
));
5711 if (SWIG_arg_fail(2)) SWIG_fail
;
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 (arg1
)->SetShadowWidth(arg2
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 Py_INCREF(Py_None
); resultobj
= Py_None
;
5727 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxGauge
*arg1
= (wxGauge
*) 0 ;
5731 PyObject
* obj0
= 0 ;
5733 (char *) "self", NULL
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
5737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5738 if (SWIG_arg_fail(1)) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5747 resultobj
= SWIG_From_int((int)(result
));
5755 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
;
5757 wxGauge
*arg1
= (wxGauge
*) 0 ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5762 (char *) "self",(char *) "w", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
5766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5767 if (SWIG_arg_fail(1)) SWIG_fail
;
5769 arg2
= (int)(SWIG_As_int(obj1
));
5770 if (SWIG_arg_fail(2)) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 (arg1
)->SetBezelFace(arg2
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 Py_INCREF(Py_None
); resultobj
= Py_None
;
5786 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxGauge
*arg1
= (wxGauge
*) 0 ;
5790 PyObject
* obj0
= 0 ;
5792 (char *) "self", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
5796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGauge
, SWIG_POINTER_EXCEPTION
| 0);
5797 if (SWIG_arg_fail(1)) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= SWIG_From_int((int)(result
));
5814 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5817 wxVisualAttributes result
;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "variant", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5826 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5827 if (SWIG_arg_fail(1)) SWIG_fail
;
5831 if (!wxPyCheckForApp()) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5839 wxVisualAttributes
* resultptr
;
5840 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5849 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
5851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5852 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
5854 return Py_BuildValue((char *)"");
5856 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
5857 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
5862 static PyObject
*_wrap_StaticBitmapNameStr_get(void) {
5867 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5869 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
5876 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
5877 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
5882 static PyObject
*_wrap_StaticBoxNameStr_get(void) {
5887 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5889 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
5896 static int _wrap_StaticTextNameStr_set(PyObject
*) {
5897 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
5902 static PyObject
*_wrap_StaticTextNameStr_get(void) {
5907 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5909 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
5916 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxWindow
*arg1
= (wxWindow
*) 0 ;
5919 int arg2
= (int) -1 ;
5920 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5921 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5922 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5923 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5924 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5925 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5926 long arg6
= (long) 0 ;
5927 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
5928 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5929 wxStaticBox
*result
;
5930 bool temp3
= false ;
5933 bool temp7
= false ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5936 PyObject
* obj2
= 0 ;
5937 PyObject
* obj3
= 0 ;
5938 PyObject
* obj4
= 0 ;
5939 PyObject
* obj5
= 0 ;
5940 PyObject
* obj6
= 0 ;
5942 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5947 if (SWIG_arg_fail(1)) SWIG_fail
;
5950 arg2
= (int)(SWIG_As_int(obj1
));
5951 if (SWIG_arg_fail(2)) SWIG_fail
;
5956 arg3
= wxString_in_helper(obj2
);
5957 if (arg3
== NULL
) SWIG_fail
;
5964 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5970 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5975 arg6
= (long)(SWIG_As_long(obj5
));
5976 if (SWIG_arg_fail(6)) SWIG_fail
;
5981 arg7
= wxString_in_helper(obj6
);
5982 if (arg7
== NULL
) SWIG_fail
;
5987 if (!wxPyCheckForApp()) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6017 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6019 wxStaticBox
*result
;
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
6026 if (!wxPyCheckForApp()) SWIG_fail
;
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 result
= (wxStaticBox
*)new wxStaticBox();
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
6040 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
6043 wxWindow
*arg2
= (wxWindow
*) 0 ;
6044 int arg3
= (int) -1 ;
6045 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6046 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6047 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6048 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6049 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6050 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6051 long arg7
= (long) 0 ;
6052 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
6053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6055 bool temp4
= false ;
6058 bool temp8
= false ;
6059 PyObject
* obj0
= 0 ;
6060 PyObject
* obj1
= 0 ;
6061 PyObject
* obj2
= 0 ;
6062 PyObject
* obj3
= 0 ;
6063 PyObject
* obj4
= 0 ;
6064 PyObject
* obj5
= 0 ;
6065 PyObject
* obj6
= 0 ;
6066 PyObject
* obj7
= 0 ;
6068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
6073 if (SWIG_arg_fail(1)) SWIG_fail
;
6074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6075 if (SWIG_arg_fail(2)) SWIG_fail
;
6078 arg3
= (int)(SWIG_As_int(obj2
));
6079 if (SWIG_arg_fail(3)) SWIG_fail
;
6084 arg4
= wxString_in_helper(obj3
);
6085 if (arg4
== NULL
) SWIG_fail
;
6092 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6098 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6103 arg7
= (long)(SWIG_As_long(obj6
));
6104 if (SWIG_arg_fail(7)) SWIG_fail
;
6109 arg8
= wxString_in_helper(obj7
);
6110 if (arg8
== NULL
) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6146 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6149 wxVisualAttributes result
;
6150 PyObject
* obj0
= 0 ;
6152 (char *) "variant", NULL
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6158 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6159 if (SWIG_arg_fail(1)) SWIG_fail
;
6163 if (!wxPyCheckForApp()) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6171 wxVisualAttributes
* resultptr
;
6172 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6181 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
6183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6184 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
6186 return Py_BuildValue((char *)"");
6188 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxWindow
*arg1
= (wxWindow
*) 0 ;
6191 int arg2
= (int) -1 ;
6192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6196 long arg5
= (long) wxLI_HORIZONTAL
;
6197 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
6198 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6199 wxStaticLine
*result
;
6202 bool temp6
= false ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6206 PyObject
* obj3
= 0 ;
6207 PyObject
* obj4
= 0 ;
6208 PyObject
* obj5
= 0 ;
6210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6215 if (SWIG_arg_fail(1)) SWIG_fail
;
6218 arg2
= (int)(SWIG_As_int(obj1
));
6219 if (SWIG_arg_fail(2)) SWIG_fail
;
6225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6231 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6236 arg5
= (long)(SWIG_As_long(obj4
));
6237 if (SWIG_arg_fail(5)) SWIG_fail
;
6242 arg6
= wxString_in_helper(obj5
);
6243 if (arg6
== NULL
) SWIG_fail
;
6248 if (!wxPyCheckForApp()) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6270 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxStaticLine
*result
;
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
6279 if (!wxPyCheckForApp()) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (wxStaticLine
*)new wxStaticLine();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
6293 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6296 wxWindow
*arg2
= (wxWindow
*) 0 ;
6297 int arg3
= (int) -1 ;
6298 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6299 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6300 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6301 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6302 long arg6
= (long) wxLI_HORIZONTAL
;
6303 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6304 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6308 bool temp7
= false ;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6311 PyObject
* obj2
= 0 ;
6312 PyObject
* obj3
= 0 ;
6313 PyObject
* obj4
= 0 ;
6314 PyObject
* obj5
= 0 ;
6315 PyObject
* obj6
= 0 ;
6317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6322 if (SWIG_arg_fail(1)) SWIG_fail
;
6323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6324 if (SWIG_arg_fail(2)) SWIG_fail
;
6327 arg3
= (int)(SWIG_As_int(obj2
));
6328 if (SWIG_arg_fail(3)) SWIG_fail
;
6334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6345 arg6
= (long)(SWIG_As_long(obj5
));
6346 if (SWIG_arg_fail(6)) SWIG_fail
;
6351 arg7
= wxString_in_helper(obj6
);
6352 if (arg7
== NULL
) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6380 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
;
6382 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
6384 PyObject
* obj0
= 0 ;
6386 (char *) "self", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
6390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_EXCEPTION
| 0);
6391 if (SWIG_arg_fail(1)) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6408 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (int)wxStaticLine::GetDefaultSize();
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= SWIG_From_int((int)(result
));
6432 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6435 wxVisualAttributes result
;
6436 PyObject
* obj0
= 0 ;
6438 (char *) "variant", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6444 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6445 if (SWIG_arg_fail(1)) SWIG_fail
;
6449 if (!wxPyCheckForApp()) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 wxVisualAttributes
* resultptr
;
6458 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6467 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
6469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6470 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
6472 return Py_BuildValue((char *)"");
6474 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
*resultobj
;
6476 wxWindow
*arg1
= (wxWindow
*) 0 ;
6477 int arg2
= (int) -1 ;
6478 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6479 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6484 long arg6
= (long) 0 ;
6485 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
6486 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6487 wxStaticText
*result
;
6488 bool temp3
= false ;
6491 bool temp7
= false ;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6494 PyObject
* obj2
= 0 ;
6495 PyObject
* obj3
= 0 ;
6496 PyObject
* obj4
= 0 ;
6497 PyObject
* obj5
= 0 ;
6498 PyObject
* obj6
= 0 ;
6500 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6505 if (SWIG_arg_fail(1)) SWIG_fail
;
6508 arg2
= (int)(SWIG_As_int(obj1
));
6509 if (SWIG_arg_fail(2)) SWIG_fail
;
6514 arg3
= wxString_in_helper(obj2
);
6515 if (arg3
== NULL
) SWIG_fail
;
6522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6533 arg6
= (long)(SWIG_As_long(obj5
));
6534 if (SWIG_arg_fail(6)) SWIG_fail
;
6539 arg7
= wxString_in_helper(obj6
);
6540 if (arg7
== NULL
) SWIG_fail
;
6545 if (!wxPyCheckForApp()) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6575 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxStaticText
*result
;
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
6584 if (!wxPyCheckForApp()) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 result
= (wxStaticText
*)new wxStaticText();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
6598 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
6601 wxWindow
*arg2
= (wxWindow
*) 0 ;
6602 int arg3
= (int) -1 ;
6603 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6604 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6605 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6606 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6607 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6608 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6609 long arg7
= (long) 0 ;
6610 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
6611 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6613 bool temp4
= false ;
6616 bool temp8
= false ;
6617 PyObject
* obj0
= 0 ;
6618 PyObject
* obj1
= 0 ;
6619 PyObject
* obj2
= 0 ;
6620 PyObject
* obj3
= 0 ;
6621 PyObject
* obj4
= 0 ;
6622 PyObject
* obj5
= 0 ;
6623 PyObject
* obj6
= 0 ;
6624 PyObject
* obj7
= 0 ;
6626 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticText
, SWIG_POINTER_EXCEPTION
| 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail
;
6632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6633 if (SWIG_arg_fail(2)) SWIG_fail
;
6636 arg3
= (int)(SWIG_As_int(obj2
));
6637 if (SWIG_arg_fail(3)) SWIG_fail
;
6642 arg4
= wxString_in_helper(obj3
);
6643 if (arg4
== NULL
) SWIG_fail
;
6650 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6656 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6661 arg7
= (long)(SWIG_As_long(obj6
));
6662 if (SWIG_arg_fail(7)) SWIG_fail
;
6667 arg8
= wxString_in_helper(obj7
);
6668 if (arg8
== NULL
) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6704 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6707 wxVisualAttributes result
;
6708 PyObject
* obj0
= 0 ;
6710 (char *) "variant", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6716 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6717 if (SWIG_arg_fail(1)) SWIG_fail
;
6721 if (!wxPyCheckForApp()) SWIG_fail
;
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6729 wxVisualAttributes
* resultptr
;
6730 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6739 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
6741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6742 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
6744 return Py_BuildValue((char *)"");
6746 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxWindow
*arg1
= (wxWindow
*) 0 ;
6749 int arg2
= (int) -1 ;
6750 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
6751 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
6752 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6753 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6754 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6755 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6756 long arg6
= (long) 0 ;
6757 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
6758 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6759 wxStaticBitmap
*result
;
6762 bool temp7
= false ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6765 PyObject
* obj2
= 0 ;
6766 PyObject
* obj3
= 0 ;
6767 PyObject
* obj4
= 0 ;
6768 PyObject
* obj5
= 0 ;
6769 PyObject
* obj6
= 0 ;
6771 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6776 if (SWIG_arg_fail(1)) SWIG_fail
;
6779 arg2
= (int)(SWIG_As_int(obj1
));
6780 if (SWIG_arg_fail(2)) SWIG_fail
;
6785 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6786 if (SWIG_arg_fail(3)) SWIG_fail
;
6788 SWIG_null_ref("wxBitmap");
6790 if (SWIG_arg_fail(3)) SWIG_fail
;
6796 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6802 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6807 arg6
= (long)(SWIG_As_long(obj5
));
6808 if (SWIG_arg_fail(6)) SWIG_fail
;
6813 arg7
= wxString_in_helper(obj6
);
6814 if (arg7
== NULL
) SWIG_fail
;
6819 if (!wxPyCheckForApp()) SWIG_fail
;
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6841 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
;
6843 wxStaticBitmap
*result
;
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
6850 if (!wxPyCheckForApp()) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= (wxStaticBitmap
*)new wxStaticBitmap();
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
6864 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6867 wxWindow
*arg2
= (wxWindow
*) 0 ;
6868 int arg3
= (int) -1 ;
6869 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
6870 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
6871 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6872 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6873 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6874 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6875 long arg7
= (long) 0 ;
6876 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
6877 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6881 bool temp8
= false ;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6884 PyObject
* obj2
= 0 ;
6885 PyObject
* obj3
= 0 ;
6886 PyObject
* obj4
= 0 ;
6887 PyObject
* obj5
= 0 ;
6888 PyObject
* obj6
= 0 ;
6889 PyObject
* obj7
= 0 ;
6891 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail
;
6897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6898 if (SWIG_arg_fail(2)) SWIG_fail
;
6901 arg3
= (int)(SWIG_As_int(obj2
));
6902 if (SWIG_arg_fail(3)) SWIG_fail
;
6907 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6908 if (SWIG_arg_fail(4)) SWIG_fail
;
6910 SWIG_null_ref("wxBitmap");
6912 if (SWIG_arg_fail(4)) SWIG_fail
;
6918 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6924 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6929 arg7
= (long)(SWIG_As_long(obj6
));
6930 if (SWIG_arg_fail(7)) SWIG_fail
;
6935 arg8
= wxString_in_helper(obj7
);
6936 if (arg8
== NULL
) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6964 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6970 (char *) "self", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
6974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6975 if (SWIG_arg_fail(1)) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (arg1
)->GetBitmap();
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6984 wxBitmap
* resultptr
;
6985 resultptr
= new wxBitmap((wxBitmap
&)(result
));
6986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6994 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
6997 wxBitmap
*arg2
= 0 ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7001 (char *) "self",(char *) "bitmap", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
7005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7006 if (SWIG_arg_fail(1)) SWIG_fail
;
7008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7009 if (SWIG_arg_fail(2)) SWIG_fail
;
7011 SWIG_null_ref("wxBitmap");
7013 if (SWIG_arg_fail(2)) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 Py_INCREF(Py_None
); resultobj
= Py_None
;
7029 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "icon", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_EXCEPTION
| 0);
7041 if (SWIG_arg_fail(1)) SWIG_fail
;
7043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
7044 if (SWIG_arg_fail(2)) SWIG_fail
;
7046 SWIG_null_ref("wxIcon");
7048 if (SWIG_arg_fail(2)) SWIG_fail
;
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 Py_INCREF(Py_None
); resultobj
= Py_None
;
7064 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
;
7066 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7067 wxVisualAttributes result
;
7068 PyObject
* obj0
= 0 ;
7070 (char *) "variant", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7076 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7077 if (SWIG_arg_fail(1)) SWIG_fail
;
7081 if (!wxPyCheckForApp()) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7089 wxVisualAttributes
* resultptr
;
7090 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7099 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
7101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7102 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
7104 return Py_BuildValue((char *)"");
7106 static int _wrap_ListBoxNameStr_set(PyObject
*) {
7107 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
7112 static PyObject
*_wrap_ListBoxNameStr_get(void) {
7117 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7119 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
7126 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7128 wxWindow
*arg1
= (wxWindow
*) 0 ;
7129 int arg2
= (int) -1 ;
7130 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7131 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7132 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7133 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7134 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
7135 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
7136 long arg6
= (long) 0 ;
7137 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7138 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7139 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
7140 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7144 bool temp5
= false ;
7145 bool temp8
= false ;
7146 PyObject
* obj0
= 0 ;
7147 PyObject
* obj1
= 0 ;
7148 PyObject
* obj2
= 0 ;
7149 PyObject
* obj3
= 0 ;
7150 PyObject
* obj4
= 0 ;
7151 PyObject
* obj5
= 0 ;
7152 PyObject
* obj6
= 0 ;
7153 PyObject
* obj7
= 0 ;
7155 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7160 if (SWIG_arg_fail(1)) SWIG_fail
;
7163 arg2
= (int)(SWIG_As_int(obj1
));
7164 if (SWIG_arg_fail(2)) SWIG_fail
;
7170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7176 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7181 if (! PySequence_Check(obj4
)) {
7182 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7185 arg5
= new wxArrayString
;
7187 int i
, len
=PySequence_Length(obj4
);
7188 for (i
=0; i
<len
; i
++) {
7189 PyObject
* item
= PySequence_GetItem(obj4
, i
);
7191 PyObject
* str
= PyObject_Unicode(item
);
7193 PyObject
* str
= PyObject_Str(item
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7196 arg5
->Add(Py2wxString(str
));
7204 arg6
= (long)(SWIG_As_long(obj5
));
7205 if (SWIG_arg_fail(6)) SWIG_fail
;
7210 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7211 if (SWIG_arg_fail(7)) SWIG_fail
;
7213 SWIG_null_ref("wxValidator");
7215 if (SWIG_arg_fail(7)) SWIG_fail
;
7220 arg8
= wxString_in_helper(obj7
);
7221 if (arg8
== NULL
) SWIG_fail
;
7226 if (!wxPyCheckForApp()) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7235 if (temp5
) delete arg5
;
7244 if (temp5
) delete arg5
;
7254 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
7263 if (!wxPyCheckForApp()) SWIG_fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= (wxListBox
*)new wxListBox();
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
7277 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxListBox
*arg1
= (wxListBox
*) 0 ;
7280 wxWindow
*arg2
= (wxWindow
*) 0 ;
7281 int arg3
= (int) -1 ;
7282 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7283 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7284 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7285 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7286 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7287 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7288 long arg7
= (long) 0 ;
7289 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7290 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7291 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7292 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7296 bool temp6
= false ;
7297 bool temp9
= false ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7300 PyObject
* obj2
= 0 ;
7301 PyObject
* obj3
= 0 ;
7302 PyObject
* obj4
= 0 ;
7303 PyObject
* obj5
= 0 ;
7304 PyObject
* obj6
= 0 ;
7305 PyObject
* obj7
= 0 ;
7306 PyObject
* obj8
= 0 ;
7308 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7313 if (SWIG_arg_fail(1)) SWIG_fail
;
7314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7315 if (SWIG_arg_fail(2)) SWIG_fail
;
7318 arg3
= (int)(SWIG_As_int(obj2
));
7319 if (SWIG_arg_fail(3)) SWIG_fail
;
7325 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7331 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7336 if (! PySequence_Check(obj5
)) {
7337 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7340 arg6
= new wxArrayString
;
7342 int i
, len
=PySequence_Length(obj5
);
7343 for (i
=0; i
<len
; i
++) {
7344 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7346 PyObject
* str
= PyObject_Unicode(item
);
7348 PyObject
* str
= PyObject_Str(item
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7351 arg6
->Add(Py2wxString(str
));
7359 arg7
= (long)(SWIG_As_long(obj6
));
7360 if (SWIG_arg_fail(7)) SWIG_fail
;
7365 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
7366 if (SWIG_arg_fail(8)) SWIG_fail
;
7368 SWIG_null_ref("wxValidator");
7370 if (SWIG_arg_fail(8)) SWIG_fail
;
7375 arg9
= wxString_in_helper(obj8
);
7376 if (arg9
== NULL
) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7391 if (temp6
) delete arg6
;
7400 if (temp6
) delete arg6
;
7410 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxListBox
*arg1
= (wxListBox
*) 0 ;
7413 wxString
*arg2
= 0 ;
7415 PyObject
*arg4
= (PyObject
*) NULL
;
7416 bool temp2
= false ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7419 PyObject
* obj2
= 0 ;
7420 PyObject
* obj3
= 0 ;
7422 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7427 if (SWIG_arg_fail(1)) SWIG_fail
;
7429 arg2
= wxString_in_helper(obj1
);
7430 if (arg2
== NULL
) SWIG_fail
;
7434 arg3
= (int)(SWIG_As_int(obj2
));
7435 if (SWIG_arg_fail(3)) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 Py_INCREF(Py_None
); resultobj
= Py_None
;
7462 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
;
7464 wxListBox
*arg1
= (wxListBox
*) 0 ;
7465 wxArrayString
*arg2
= 0 ;
7467 bool temp2
= false ;
7468 PyObject
* obj0
= 0 ;
7469 PyObject
* obj1
= 0 ;
7470 PyObject
* obj2
= 0 ;
7472 (char *) "self",(char *) "items",(char *) "pos", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail
;
7479 if (! PySequence_Check(obj1
)) {
7480 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7483 arg2
= new wxArrayString
;
7485 int i
, len
=PySequence_Length(obj1
);
7486 for (i
=0; i
<len
; i
++) {
7487 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7489 PyObject
* str
= PyObject_Unicode(item
);
7491 PyObject
* str
= PyObject_Str(item
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7494 arg2
->Add(Py2wxString(str
));
7500 arg3
= (int)(SWIG_As_int(obj2
));
7501 if (SWIG_arg_fail(3)) SWIG_fail
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) SWIG_fail
;
7510 Py_INCREF(Py_None
); resultobj
= Py_None
;
7512 if (temp2
) delete arg2
;
7517 if (temp2
) delete arg2
;
7523 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxListBox
*arg1
= (wxListBox
*) 0 ;
7526 wxArrayString
*arg2
= 0 ;
7527 bool temp2
= false ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7531 (char *) "self",(char *) "items", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
7535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7536 if (SWIG_arg_fail(1)) SWIG_fail
;
7538 if (! PySequence_Check(obj1
)) {
7539 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7542 arg2
= new wxArrayString
;
7544 int i
, len
=PySequence_Length(obj1
);
7545 for (i
=0; i
<len
; i
++) {
7546 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7548 PyObject
* str
= PyObject_Unicode(item
);
7550 PyObject
* str
= PyObject_Str(item
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7553 arg2
->Add(Py2wxString(str
));
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 (arg1
)->Set((wxArrayString
const &)*arg2
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 Py_INCREF(Py_None
); resultobj
= Py_None
;
7567 if (temp2
) delete arg2
;
7572 if (temp2
) delete arg2
;
7578 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxListBox
*arg1
= (wxListBox
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7586 (char *) "self",(char *) "n", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
7590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7591 if (SWIG_arg_fail(1)) SWIG_fail
;
7593 arg2
= (int)(SWIG_As_int(obj1
));
7594 if (SWIG_arg_fail(2)) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7612 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
;
7614 wxListBox
*arg1
= (wxListBox
*) 0 ;
7616 bool arg3
= (bool) true ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7621 (char *) "self",(char *) "n",(char *) "select", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7626 if (SWIG_arg_fail(1)) SWIG_fail
;
7628 arg2
= (int)(SWIG_As_int(obj1
));
7629 if (SWIG_arg_fail(2)) SWIG_fail
;
7633 arg3
= (bool)(SWIG_As_bool(obj2
));
7634 if (SWIG_arg_fail(3)) SWIG_fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 (arg1
)->SetSelection(arg2
,arg3
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 Py_INCREF(Py_None
); resultobj
= Py_None
;
7651 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxListBox
*arg1
= (wxListBox
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7658 (char *) "self",(char *) "n", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
7662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7663 if (SWIG_arg_fail(1)) SWIG_fail
;
7665 arg2
= (int)(SWIG_As_int(obj1
));
7666 if (SWIG_arg_fail(2)) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 (arg1
)->Select(arg2
);
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7675 Py_INCREF(Py_None
); resultobj
= Py_None
;
7682 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
;
7684 wxListBox
*arg1
= (wxListBox
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7689 (char *) "self",(char *) "n", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
7693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7694 if (SWIG_arg_fail(1)) SWIG_fail
;
7696 arg2
= (int)(SWIG_As_int(obj1
));
7697 if (SWIG_arg_fail(2)) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 (arg1
)->Deselect(arg2
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxListBox
*arg1
= (wxListBox
*) 0 ;
7716 int arg2
= (int) -1 ;
7717 PyObject
* obj0
= 0 ;
7718 PyObject
* obj1
= 0 ;
7720 (char *) "self",(char *) "itemToLeaveSelected", NULL
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
7724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7725 if (SWIG_arg_fail(1)) SWIG_fail
;
7728 arg2
= (int)(SWIG_As_int(obj1
));
7729 if (SWIG_arg_fail(2)) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 (arg1
)->DeselectAll(arg2
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 Py_INCREF(Py_None
); resultobj
= Py_None
;
7746 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxListBox
*arg1
= (wxListBox
*) 0 ;
7749 wxString
*arg2
= 0 ;
7750 bool arg3
= (bool) true ;
7752 bool temp2
= false ;
7753 PyObject
* obj0
= 0 ;
7754 PyObject
* obj1
= 0 ;
7755 PyObject
* obj2
= 0 ;
7757 (char *) "self",(char *) "s",(char *) "select", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail
;
7764 arg2
= wxString_in_helper(obj1
);
7765 if (arg2
== NULL
) SWIG_fail
;
7770 arg3
= (bool)(SWIG_As_bool(obj2
));
7771 if (SWIG_arg_fail(3)) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7798 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxListBox
*arg1
= (wxListBox
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "self", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
7808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7809 if (SWIG_arg_fail(1)) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7824 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxListBox
*arg1
= (wxListBox
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7831 (char *) "self",(char *) "n", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
7835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail
;
7838 arg2
= (int)(SWIG_As_int(obj1
));
7839 if (SWIG_arg_fail(2)) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 (arg1
)->SetFirstItem(arg2
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 Py_INCREF(Py_None
); resultobj
= Py_None
;
7855 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxListBox
*arg1
= (wxListBox
*) 0 ;
7858 wxString
*arg2
= 0 ;
7859 bool temp2
= false ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7863 (char *) "self",(char *) "s", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
7867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7868 if (SWIG_arg_fail(1)) SWIG_fail
;
7870 arg2
= wxString_in_helper(obj1
);
7871 if (arg2
== NULL
) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 Py_INCREF(Py_None
); resultobj
= Py_None
;
7896 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxListBox
*arg1
= (wxListBox
*) 0 ;
7900 PyObject
* obj0
= 0 ;
7901 PyObject
* obj1
= 0 ;
7903 (char *) "self",(char *) "n", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7908 if (SWIG_arg_fail(1)) SWIG_fail
;
7910 arg2
= (int)(SWIG_As_int(obj1
));
7911 if (SWIG_arg_fail(2)) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 (arg1
)->EnsureVisible(arg2
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 Py_INCREF(Py_None
); resultobj
= Py_None
;
7927 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxListBox
*arg1
= (wxListBox
*) 0 ;
7930 wxString
*arg2
= 0 ;
7931 bool temp2
= false ;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7935 (char *) "self",(char *) "s", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7940 if (SWIG_arg_fail(1)) SWIG_fail
;
7942 arg2
= wxString_in_helper(obj1
);
7943 if (arg2
== NULL
) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 Py_INCREF(Py_None
); resultobj
= Py_None
;
7968 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7970 wxListBox
*arg1
= (wxListBox
*) 0 ;
7972 PyObject
* obj0
= 0 ;
7974 (char *) "self", NULL
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
7978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7996 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxListBox
*arg1
= (wxListBox
*) 0 ;
8000 wxColour
*arg3
= 0 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8004 PyObject
* obj2
= 0 ;
8006 (char *) "self",(char *) "item",(char *) "c", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail
;
8013 arg2
= (int)(SWIG_As_int(obj1
));
8014 if (SWIG_arg_fail(2)) SWIG_fail
;
8018 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 Py_INCREF(Py_None
); resultobj
= Py_None
;
8034 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxListBox
*arg1
= (wxListBox
*) 0 ;
8038 wxColour
*arg3
= 0 ;
8040 PyObject
* obj0
= 0 ;
8041 PyObject
* obj1
= 0 ;
8042 PyObject
* obj2
= 0 ;
8044 (char *) "self",(char *) "item",(char *) "c", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8049 if (SWIG_arg_fail(1)) SWIG_fail
;
8051 arg2
= (int)(SWIG_As_int(obj1
));
8052 if (SWIG_arg_fail(2)) SWIG_fail
;
8056 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxListBox
*arg1
= (wxListBox
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8079 PyObject
* obj2
= 0 ;
8081 (char *) "self",(char *) "item",(char *) "f", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListBox
, SWIG_POINTER_EXCEPTION
| 0);
8086 if (SWIG_arg_fail(1)) SWIG_fail
;
8088 arg2
= (int)(SWIG_As_int(obj1
));
8089 if (SWIG_arg_fail(2)) SWIG_fail
;
8092 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8093 if (SWIG_arg_fail(3)) SWIG_fail
;
8095 SWIG_null_ref("wxFont");
8097 if (SWIG_arg_fail(3)) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 Py_INCREF(Py_None
); resultobj
= Py_None
;
8113 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
*resultobj
;
8115 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8116 wxVisualAttributes result
;
8117 PyObject
* obj0
= 0 ;
8119 (char *) "variant", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8125 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8126 if (SWIG_arg_fail(1)) SWIG_fail
;
8130 if (!wxPyCheckForApp()) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8138 wxVisualAttributes
* resultptr
;
8139 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8148 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
8150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8151 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
8153 return Py_BuildValue((char *)"");
8155 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxWindow
*arg1
= (wxWindow
*) 0 ;
8158 int arg2
= (int) -1 ;
8159 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8160 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8161 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8162 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8163 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8164 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8165 long arg6
= (long) 0 ;
8166 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8167 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8168 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8169 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8170 wxCheckListBox
*result
;
8173 bool temp5
= false ;
8174 bool temp8
= false ;
8175 PyObject
* obj0
= 0 ;
8176 PyObject
* obj1
= 0 ;
8177 PyObject
* obj2
= 0 ;
8178 PyObject
* obj3
= 0 ;
8179 PyObject
* obj4
= 0 ;
8180 PyObject
* obj5
= 0 ;
8181 PyObject
* obj6
= 0 ;
8182 PyObject
* obj7
= 0 ;
8184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8189 if (SWIG_arg_fail(1)) SWIG_fail
;
8192 arg2
= (int)(SWIG_As_int(obj1
));
8193 if (SWIG_arg_fail(2)) SWIG_fail
;
8199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8210 if (! PySequence_Check(obj4
)) {
8211 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8214 arg5
= new wxArrayString
;
8216 int i
, len
=PySequence_Length(obj4
);
8217 for (i
=0; i
<len
; i
++) {
8218 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8220 PyObject
* str
= PyObject_Unicode(item
);
8222 PyObject
* str
= PyObject_Str(item
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8225 arg5
->Add(Py2wxString(str
));
8233 arg6
= (long)(SWIG_As_long(obj5
));
8234 if (SWIG_arg_fail(6)) SWIG_fail
;
8239 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8240 if (SWIG_arg_fail(7)) SWIG_fail
;
8242 SWIG_null_ref("wxValidator");
8244 if (SWIG_arg_fail(7)) SWIG_fail
;
8249 arg8
= wxString_in_helper(obj7
);
8250 if (arg8
== NULL
) SWIG_fail
;
8255 if (!wxPyCheckForApp()) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8264 if (temp5
) delete arg5
;
8273 if (temp5
) delete arg5
;
8283 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxCheckListBox
*result
;
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
8292 if (!wxPyCheckForApp()) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 result
= (wxCheckListBox
*)new wxCheckListBox();
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
8306 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
;
8308 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8309 wxWindow
*arg2
= (wxWindow
*) 0 ;
8310 int arg3
= (int) -1 ;
8311 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8312 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8313 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8314 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8315 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8316 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8317 long arg7
= (long) 0 ;
8318 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8319 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8320 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8321 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8325 bool temp6
= false ;
8326 bool temp9
= false ;
8327 PyObject
* obj0
= 0 ;
8328 PyObject
* obj1
= 0 ;
8329 PyObject
* obj2
= 0 ;
8330 PyObject
* obj3
= 0 ;
8331 PyObject
* obj4
= 0 ;
8332 PyObject
* obj5
= 0 ;
8333 PyObject
* obj6
= 0 ;
8334 PyObject
* obj7
= 0 ;
8335 PyObject
* obj8
= 0 ;
8337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8342 if (SWIG_arg_fail(1)) SWIG_fail
;
8343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8344 if (SWIG_arg_fail(2)) SWIG_fail
;
8347 arg3
= (int)(SWIG_As_int(obj2
));
8348 if (SWIG_arg_fail(3)) SWIG_fail
;
8354 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8360 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8365 if (! PySequence_Check(obj5
)) {
8366 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8369 arg6
= new wxArrayString
;
8371 int i
, len
=PySequence_Length(obj5
);
8372 for (i
=0; i
<len
; i
++) {
8373 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8375 PyObject
* str
= PyObject_Unicode(item
);
8377 PyObject
* str
= PyObject_Str(item
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8380 arg6
->Add(Py2wxString(str
));
8388 arg7
= (long)(SWIG_As_long(obj6
));
8389 if (SWIG_arg_fail(7)) SWIG_fail
;
8394 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
8395 if (SWIG_arg_fail(8)) SWIG_fail
;
8397 SWIG_null_ref("wxValidator");
8399 if (SWIG_arg_fail(8)) SWIG_fail
;
8404 arg9
= wxString_in_helper(obj8
);
8405 if (arg9
== NULL
) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8420 if (temp6
) delete arg6
;
8429 if (temp6
) delete arg6
;
8439 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8447 (char *) "self",(char *) "index", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
8451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8452 if (SWIG_arg_fail(1)) SWIG_fail
;
8454 arg2
= (int)(SWIG_As_int(obj1
));
8455 if (SWIG_arg_fail(2)) SWIG_fail
;
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 result
= (bool)(arg1
)->IsChecked(arg2
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8473 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8477 int arg3
= (int) true ;
8478 PyObject
* obj0
= 0 ;
8479 PyObject
* obj1
= 0 ;
8480 PyObject
* obj2
= 0 ;
8482 (char *) "self",(char *) "index",(char *) "check", NULL
8485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8487 if (SWIG_arg_fail(1)) SWIG_fail
;
8489 arg2
= (int)(SWIG_As_int(obj1
));
8490 if (SWIG_arg_fail(2)) SWIG_fail
;
8494 arg3
= (int)(SWIG_As_int(obj2
));
8495 if (SWIG_arg_fail(3)) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 (arg1
)->Check(arg2
,arg3
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 Py_INCREF(Py_None
); resultobj
= Py_None
;
8512 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8518 (char *) "self", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
8522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= (int)(arg1
)->GetItemHeight();
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= SWIG_From_int((int)(result
));
8540 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
;
8542 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8549 (char *) "self",(char *) "pt", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8554 if (SWIG_arg_fail(1)) SWIG_fail
;
8557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= SWIG_From_int((int)(result
));
8575 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj1
= 0 ;
8583 PyObject
* obj2
= 0 ;
8585 (char *) "self",(char *) "x",(char *) "y", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_EXCEPTION
| 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail
;
8592 arg2
= (int)(SWIG_As_int(obj1
));
8593 if (SWIG_arg_fail(2)) SWIG_fail
;
8596 arg3
= (int)(SWIG_As_int(obj2
));
8597 if (SWIG_arg_fail(3)) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= SWIG_From_int((int)(result
));
8615 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
8617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8618 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
8620 return Py_BuildValue((char *)"");
8622 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
8623 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
8628 static PyObject
*_wrap_TextCtrlNameStr_get(void) {
8633 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8635 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
8642 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxColour
const &arg1_defvalue
= wxNullColour
;
8645 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
8646 wxColour
const &arg2_defvalue
= wxNullColour
;
8647 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8648 wxFont
const &arg3_defvalue
= wxNullFont
;
8649 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
8650 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 PyObject
* obj2
= 0 ;
8657 PyObject
* obj3
= 0 ;
8659 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8666 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
8672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8677 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8678 if (SWIG_arg_fail(3)) SWIG_fail
;
8680 SWIG_null_ref("wxFont");
8682 if (SWIG_arg_fail(3)) SWIG_fail
;
8687 arg4
= (wxTextAttrAlignment
)(SWIG_As_int(obj3
));
8688 if (SWIG_arg_fail(4)) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
8705 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
;
8707 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8710 (char *) "self", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
8714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 Py_INCREF(Py_None
); resultobj
= Py_None
;
8730 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8733 PyObject
* obj0
= 0 ;
8735 (char *) "self", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
8739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8740 if (SWIG_arg_fail(1)) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 Py_INCREF(Py_None
); resultobj
= Py_None
;
8755 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8758 wxColour
*arg2
= 0 ;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8763 (char *) "self",(char *) "colText", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8768 if (SWIG_arg_fail(1)) SWIG_fail
;
8771 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8787 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8790 wxColour
*arg2
= 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8795 (char *) "self",(char *) "colBack", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8800 if (SWIG_arg_fail(1)) SWIG_fail
;
8803 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 Py_INCREF(Py_None
); resultobj
= Py_None
;
8819 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8823 long arg3
= (long) wxTEXT_ATTR_FONT
;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8826 PyObject
* obj2
= 0 ;
8828 (char *) "self",(char *) "font",(char *) "flags", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8833 if (SWIG_arg_fail(1)) SWIG_fail
;
8835 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
8836 if (SWIG_arg_fail(2)) SWIG_fail
;
8838 SWIG_null_ref("wxFont");
8840 if (SWIG_arg_fail(2)) SWIG_fail
;
8844 arg3
= (long)(SWIG_As_long(obj2
));
8845 if (SWIG_arg_fail(3)) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8865 wxTextAttrAlignment arg2
;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8869 (char *) "self",(char *) "alignment", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8874 if (SWIG_arg_fail(1)) SWIG_fail
;
8876 arg2
= (wxTextAttrAlignment
)(SWIG_As_int(obj1
));
8877 if (SWIG_arg_fail(2)) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 Py_INCREF(Py_None
); resultobj
= Py_None
;
8893 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8896 wxArrayInt
*arg2
= 0 ;
8897 bool temp2
= false ;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8901 (char *) "self",(char *) "tabs", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
8905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8906 if (SWIG_arg_fail(1)) SWIG_fail
;
8908 if (! PySequence_Check(obj1
)) {
8909 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
8912 arg2
= new wxArrayInt
;
8914 int i
, len
=PySequence_Length(obj1
);
8915 for (i
=0; i
<len
; i
++) {
8916 PyObject
* item
= PySequence_GetItem(obj1
, i
);
8917 PyObject
* number
= PyNumber_Int(item
);
8918 arg2
->Add(PyInt_AS_LONG(number
));
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 Py_INCREF(Py_None
); resultobj
= Py_None
;
8932 if (temp2
) delete arg2
;
8937 if (temp2
) delete arg2
;
8943 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8947 int arg3
= (int) 0 ;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8950 PyObject
* obj2
= 0 ;
8952 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8957 if (SWIG_arg_fail(1)) SWIG_fail
;
8959 arg2
= (int)(SWIG_As_int(obj1
));
8960 if (SWIG_arg_fail(2)) SWIG_fail
;
8964 arg3
= (int)(SWIG_As_int(obj2
));
8965 if (SWIG_arg_fail(3)) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 (arg1
)->SetLeftIndent(arg2
,arg3
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 Py_INCREF(Py_None
); resultobj
= Py_None
;
8982 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8987 PyObject
* obj1
= 0 ;
8989 (char *) "self",(char *) "indent", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
8993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail
;
8996 arg2
= (int)(SWIG_As_int(obj1
));
8997 if (SWIG_arg_fail(2)) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 (arg1
)->SetRightIndent(arg2
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9017 PyObject
* obj0
= 0 ;
9018 PyObject
* obj1
= 0 ;
9020 (char *) "self",(char *) "flags", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9025 if (SWIG_arg_fail(1)) SWIG_fail
;
9027 arg2
= (long)(SWIG_As_long(obj1
));
9028 if (SWIG_arg_fail(2)) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 (arg1
)->SetFlags(arg2
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 Py_INCREF(Py_None
); resultobj
= Py_None
;
9044 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9048 PyObject
* obj0
= 0 ;
9050 (char *) "self", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
9054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9055 if (SWIG_arg_fail(1)) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9072 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
;
9074 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9076 PyObject
* obj0
= 0 ;
9078 (char *) "self", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
9082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9083 if (SWIG_arg_fail(1)) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9100 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9104 PyObject
* obj0
= 0 ;
9106 (char *) "self", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
9110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9111 if (SWIG_arg_fail(1)) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9128 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "self", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
9138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9139 if (SWIG_arg_fail(1)) SWIG_fail
;
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9156 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
;
9158 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9160 PyObject
* obj0
= 0 ;
9162 (char *) "self", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
9166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9167 if (SWIG_arg_fail(1)) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9184 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9186 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9188 PyObject
* obj0
= 0 ;
9190 (char *) "self", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
9194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9195 if (SWIG_arg_fail(1)) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9212 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9216 PyObject
* obj0
= 0 ;
9218 (char *) "self", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
9222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9223 if (SWIG_arg_fail(1)) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9240 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9248 (char *) "self",(char *) "flag", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
9252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail
;
9255 arg2
= (long)(SWIG_As_long(obj1
));
9256 if (SWIG_arg_fail(2)) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9274 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9278 PyObject
* obj0
= 0 ;
9280 (char *) "self", NULL
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
9284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9285 if (SWIG_arg_fail(1)) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
9290 result
= (wxColour
*) &_result_ref
;
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9303 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
9313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
9319 result
= (wxColour
*) &_result_ref
;
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
9332 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9334 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9336 PyObject
* obj0
= 0 ;
9338 (char *) "self", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
9342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9343 if (SWIG_arg_fail(1)) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
9348 result
= (wxFont
*) &_result_ref
;
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9355 wxFont
* resultptr
= new wxFont(*result
);
9356 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
9364 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9367 wxTextAttrAlignment result
;
9368 PyObject
* obj0
= 0 ;
9370 (char *) "self", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
9374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9375 if (SWIG_arg_fail(1)) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= SWIG_From_int((result
));
9390 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9396 (char *) "self", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
9400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
9406 result
= (wxArrayInt
*) &_result_ref
;
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= PyList_New(0);
9415 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
9416 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
9417 PyList_Append(resultobj
, val
);
9427 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9433 (char *) "self", NULL
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
9437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9438 if (SWIG_arg_fail(1)) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= SWIG_From_long((long)(result
));
9455 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "self", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
9465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9466 if (SWIG_arg_fail(1)) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_From_long((long)(result
));
9483 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9487 PyObject
* obj0
= 0 ;
9489 (char *) "self", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
9493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9494 if (SWIG_arg_fail(1)) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_From_long((long)(result
));
9511 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9515 PyObject
* obj0
= 0 ;
9517 (char *) "self", NULL
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
9521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9522 if (SWIG_arg_fail(1)) SWIG_fail
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_From_long((long)(result
));
9539 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
9543 PyObject
* obj0
= 0 ;
9545 (char *) "self", NULL
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
9549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9550 if (SWIG_arg_fail(1)) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9567 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxTextAttr
*arg1
= 0 ;
9570 wxTextAttr
*arg2
= 0 ;
9571 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9574 PyObject
* obj1
= 0 ;
9575 PyObject
* obj2
= 0 ;
9577 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9583 if (SWIG_arg_fail(1)) SWIG_fail
;
9585 SWIG_null_ref("wxTextAttr");
9587 if (SWIG_arg_fail(1)) SWIG_fail
;
9590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
9591 if (SWIG_arg_fail(2)) SWIG_fail
;
9593 SWIG_null_ref("wxTextAttr");
9595 if (SWIG_arg_fail(2)) SWIG_fail
;
9597 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9598 if (SWIG_arg_fail(3)) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9607 wxTextAttr
* resultptr
;
9608 resultptr
= new wxTextAttr((wxTextAttr
&)(result
));
9609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
9617 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
9619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9620 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
9622 return Py_BuildValue((char *)"");
9624 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxWindow
*arg1
= (wxWindow
*) 0 ;
9627 int arg2
= (int) -1 ;
9628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9634 long arg6
= (long) 0 ;
9635 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9636 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9637 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
9638 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9640 bool temp3
= false ;
9643 bool temp8
= false ;
9644 PyObject
* obj0
= 0 ;
9645 PyObject
* obj1
= 0 ;
9646 PyObject
* obj2
= 0 ;
9647 PyObject
* obj3
= 0 ;
9648 PyObject
* obj4
= 0 ;
9649 PyObject
* obj5
= 0 ;
9650 PyObject
* obj6
= 0 ;
9651 PyObject
* obj7
= 0 ;
9653 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9658 if (SWIG_arg_fail(1)) SWIG_fail
;
9661 arg2
= (int)(SWIG_As_int(obj1
));
9662 if (SWIG_arg_fail(2)) SWIG_fail
;
9667 arg3
= wxString_in_helper(obj2
);
9668 if (arg3
== NULL
) SWIG_fail
;
9675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9686 arg6
= (long)(SWIG_As_long(obj5
));
9687 if (SWIG_arg_fail(6)) SWIG_fail
;
9692 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9693 if (SWIG_arg_fail(7)) SWIG_fail
;
9695 SWIG_null_ref("wxValidator");
9697 if (SWIG_arg_fail(7)) SWIG_fail
;
9702 arg8
= wxString_in_helper(obj7
);
9703 if (arg8
== NULL
) SWIG_fail
;
9708 if (!wxPyCheckForApp()) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9738 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
9747 if (!wxPyCheckForApp()) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= (wxTextCtrl
*)new wxTextCtrl();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
9761 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9764 wxWindow
*arg2
= (wxWindow
*) 0 ;
9765 int arg3
= (int) -1 ;
9766 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9767 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9768 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9769 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9770 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9771 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9772 long arg7
= (long) 0 ;
9773 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9774 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9775 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
9776 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9778 bool temp4
= false ;
9781 bool temp9
= false ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9784 PyObject
* obj2
= 0 ;
9785 PyObject
* obj3
= 0 ;
9786 PyObject
* obj4
= 0 ;
9787 PyObject
* obj5
= 0 ;
9788 PyObject
* obj6
= 0 ;
9789 PyObject
* obj7
= 0 ;
9790 PyObject
* obj8
= 0 ;
9792 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
9796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9797 if (SWIG_arg_fail(1)) SWIG_fail
;
9798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9799 if (SWIG_arg_fail(2)) SWIG_fail
;
9802 arg3
= (int)(SWIG_As_int(obj2
));
9803 if (SWIG_arg_fail(3)) SWIG_fail
;
9808 arg4
= wxString_in_helper(obj3
);
9809 if (arg4
== NULL
) SWIG_fail
;
9816 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9822 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9827 arg7
= (long)(SWIG_As_long(obj6
));
9828 if (SWIG_arg_fail(7)) SWIG_fail
;
9833 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
9834 if (SWIG_arg_fail(8)) SWIG_fail
;
9836 SWIG_null_ref("wxValidator");
9838 if (SWIG_arg_fail(8)) SWIG_fail
;
9843 arg9
= wxString_in_helper(obj8
);
9844 if (arg9
== NULL
) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9880 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9891 if (SWIG_arg_fail(1)) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9912 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9915 wxString
*arg2
= 0 ;
9916 bool temp2
= false ;
9917 PyObject
* obj0
= 0 ;
9918 PyObject
* obj1
= 0 ;
9920 (char *) "self",(char *) "value", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail
;
9927 arg2
= wxString_in_helper(obj1
);
9928 if (arg2
== NULL
) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 (arg1
)->SetValue((wxString
const &)*arg2
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 Py_INCREF(Py_None
); resultobj
= Py_None
;
9953 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9959 PyObject
* obj0
= 0 ;
9960 PyObject
* obj1
= 0 ;
9961 PyObject
* obj2
= 0 ;
9963 (char *) "self",(char *) "from",(char *) "to", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
9968 if (SWIG_arg_fail(1)) SWIG_fail
;
9970 arg2
= (long)(SWIG_As_long(obj1
));
9971 if (SWIG_arg_fail(2)) SWIG_fail
;
9974 arg3
= (long)(SWIG_As_long(obj2
));
9975 if (SWIG_arg_fail(3)) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9997 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self",(char *) "lineNo", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) 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 arg2
= (long)(SWIG_As_long(obj1
));
10013 if (SWIG_arg_fail(2)) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= SWIG_From_int((int)(result
));
10031 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 PyObject
* obj1
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self",(char *) "lineNo", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
10043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10044 if (SWIG_arg_fail(1)) SWIG_fail
;
10046 arg2
= (long)(SWIG_As_long(obj1
));
10047 if (SWIG_arg_fail(2)) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10069 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
;
10071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10073 PyObject
* obj0
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
10079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= SWIG_From_int((int)(result
));
10097 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "self", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
10107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10108 if (SWIG_arg_fail(1)) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10125 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10129 PyObject
* obj0
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
10135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10136 if (SWIG_arg_fail(1)) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10153 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
10163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10164 if (SWIG_arg_fail(1)) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10181 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10185 PyObject
* obj0
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "self", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
10191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10192 if (SWIG_arg_fail(1)) SWIG_fail
;
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10209 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10212 long *arg2
= (long *) 0 ;
10213 long *arg3
= (long *) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self", NULL
10223 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10224 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 Py_INCREF(Py_None
); resultobj
= Py_None
;
10236 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10237 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
10238 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10239 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10246 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
10256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10278 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10281 PyObject
* obj0
= 0 ;
10282 char *kwnames
[] = {
10283 (char *) "self", NULL
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
10287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10288 if (SWIG_arg_fail(1)) SWIG_fail
;
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10296 Py_INCREF(Py_None
); resultobj
= Py_None
;
10303 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
;
10305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10308 wxString
*arg4
= 0 ;
10309 bool temp4
= false ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 PyObject
* obj2
= 0 ;
10313 PyObject
* obj3
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10320 if (SWIG_arg_fail(1)) SWIG_fail
;
10322 arg2
= (long)(SWIG_As_long(obj1
));
10323 if (SWIG_arg_fail(2)) SWIG_fail
;
10326 arg3
= (long)(SWIG_As_long(obj2
));
10327 if (SWIG_arg_fail(3)) SWIG_fail
;
10330 arg4
= wxString_in_helper(obj3
);
10331 if (arg4
== NULL
) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 Py_INCREF(Py_None
); resultobj
= Py_None
;
10356 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 PyObject
* obj2
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self",(char *) "from",(char *) "to", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10370 if (SWIG_arg_fail(1)) SWIG_fail
;
10372 arg2
= (long)(SWIG_As_long(obj1
));
10373 if (SWIG_arg_fail(2)) SWIG_fail
;
10376 arg3
= (long)(SWIG_As_long(obj2
));
10377 if (SWIG_arg_fail(3)) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->Remove(arg2
,arg3
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10396 wxString
*arg2
= 0 ;
10398 bool temp2
= false ;
10399 PyObject
* obj0
= 0 ;
10400 PyObject
* obj1
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "self",(char *) "file", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10407 if (SWIG_arg_fail(1)) SWIG_fail
;
10409 arg2
= wxString_in_helper(obj1
);
10410 if (arg2
== NULL
) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10437 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10440 wxString
const &arg2_defvalue
= wxPyEmptyString
;
10441 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
10443 bool temp2
= false ;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10446 char *kwnames
[] = {
10447 (char *) "self",(char *) "file", NULL
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10452 if (SWIG_arg_fail(1)) SWIG_fail
;
10455 arg2
= wxString_in_helper(obj1
);
10456 if (arg2
== NULL
) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10484 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
10493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10494 if (SWIG_arg_fail(1)) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 (arg1
)->MarkDirty();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 Py_INCREF(Py_None
); resultobj
= Py_None
;
10509 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
10518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10519 if (SWIG_arg_fail(1)) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->DiscardEdits();
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10537 unsigned long arg2
;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self",(char *) "len", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail
;
10548 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10549 if (SWIG_arg_fail(2)) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 (arg1
)->SetMaxLength(arg2
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 Py_INCREF(Py_None
); resultobj
= Py_None
;
10565 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10568 wxString
*arg2
= 0 ;
10569 bool temp2
= false ;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self",(char *) "text", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
10577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10578 if (SWIG_arg_fail(1)) SWIG_fail
;
10580 arg2
= wxString_in_helper(obj1
);
10581 if (arg2
== NULL
) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 (arg1
)->WriteText((wxString
const &)*arg2
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 Py_INCREF(Py_None
); resultobj
= Py_None
;
10606 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10609 wxString
*arg2
= 0 ;
10610 bool temp2
= false ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "text", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
10618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail
;
10621 arg2
= wxString_in_helper(obj1
);
10622 if (arg2
== NULL
) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 (arg1
)->AppendText((wxString
const &)*arg2
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 Py_INCREF(Py_None
); resultobj
= Py_None
;
10647 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10650 wxKeyEvent
*arg2
= 0 ;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self",(char *) "event", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
10659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10660 if (SWIG_arg_fail(1)) SWIG_fail
;
10662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
10663 if (SWIG_arg_fail(2)) SWIG_fail
;
10664 if (arg2
== NULL
) {
10665 SWIG_null_ref("wxKeyEvent");
10667 if (SWIG_arg_fail(2)) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10685 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10690 wxTextAttr
*arg4
= 0 ;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 PyObject
* obj2
= 0 ;
10695 PyObject
* obj3
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10702 if (SWIG_arg_fail(1)) SWIG_fail
;
10704 arg2
= (long)(SWIG_As_long(obj1
));
10705 if (SWIG_arg_fail(2)) SWIG_fail
;
10708 arg3
= (long)(SWIG_As_long(obj2
));
10709 if (SWIG_arg_fail(3)) SWIG_fail
;
10712 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10713 if (SWIG_arg_fail(4)) SWIG_fail
;
10714 if (arg4
== NULL
) {
10715 SWIG_null_ref("wxTextAttr");
10717 if (SWIG_arg_fail(4)) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10735 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10739 wxTextAttr
*arg3
= 0 ;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self",(char *) "position",(char *) "style", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10750 if (SWIG_arg_fail(1)) SWIG_fail
;
10752 arg2
= (long)(SWIG_As_long(obj1
));
10753 if (SWIG_arg_fail(2)) SWIG_fail
;
10756 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10757 if (SWIG_arg_fail(3)) SWIG_fail
;
10758 if (arg3
== NULL
) {
10759 SWIG_null_ref("wxTextAttr");
10761 if (SWIG_arg_fail(3)) SWIG_fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10779 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10782 wxTextAttr
*arg2
= 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "style", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
10791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail
;
10794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_EXCEPTION
| 0);
10795 if (SWIG_arg_fail(2)) SWIG_fail
;
10796 if (arg2
== NULL
) {
10797 SWIG_null_ref("wxTextAttr");
10799 if (SWIG_arg_fail(2)) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10817 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10820 wxTextAttr
*result
;
10821 PyObject
* obj0
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
10827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10828 if (SWIG_arg_fail(1)) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
10833 result
= (wxTextAttr
*) &_result_ref
;
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
10846 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "x",(char *) "y", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10861 if (SWIG_arg_fail(1)) SWIG_fail
;
10863 arg2
= (long)(SWIG_As_long(obj1
));
10864 if (SWIG_arg_fail(2)) SWIG_fail
;
10867 arg3
= (long)(SWIG_As_long(obj2
));
10868 if (SWIG_arg_fail(3)) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10878 resultobj
= SWIG_From_long((long)(result
));
10886 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10890 long *arg3
= (long *) 0 ;
10891 long *arg4
= (long *) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "pos", NULL
10902 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10903 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
10905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10906 if (SWIG_arg_fail(1)) SWIG_fail
;
10908 arg2
= (long)(SWIG_As_long(obj1
));
10909 if (SWIG_arg_fail(2)) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 Py_INCREF(Py_None
); resultobj
= Py_None
;
10919 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10920 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10921 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10922 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
10929 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self",(char *) "pos", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10941 if (SWIG_arg_fail(1)) SWIG_fail
;
10943 arg2
= (long)(SWIG_As_long(obj1
));
10944 if (SWIG_arg_fail(2)) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 (arg1
)->ShowPosition(arg2
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 Py_INCREF(Py_None
); resultobj
= Py_None
;
10960 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10963 wxPoint
*arg2
= 0 ;
10964 long *arg3
= (long *) 0 ;
10965 long *arg4
= (long *) 0 ;
10966 wxTextCtrlHitTestResult result
;
10972 PyObject
* obj0
= 0 ;
10973 PyObject
* obj1
= 0 ;
10974 char *kwnames
[] = {
10975 (char *) "self",(char *) "pt", NULL
10978 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10979 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
10981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail
;
10985 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 resultobj
= SWIG_From_int((result
));
10995 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10996 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
10997 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10998 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
11005 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
;
11007 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11008 wxPoint
*arg2
= 0 ;
11009 long *arg3
= (long *) 0 ;
11010 wxTextCtrlHitTestResult result
;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "pt", NULL
11020 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
11022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail
;
11026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= SWIG_From_int((result
));
11036 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11037 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
11044 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
;
11046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
11053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11054 if (SWIG_arg_fail(1)) SWIG_fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 Py_INCREF(Py_None
); resultobj
= Py_None
;
11069 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
;
11071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
11078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11079 if (SWIG_arg_fail(1)) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
11103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11123 PyObject
* obj0
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "self", NULL
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
11129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11130 if (SWIG_arg_fail(1)) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
11157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11158 if (SWIG_arg_fail(1)) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11175 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
11185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11186 if (SWIG_arg_fail(1)) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11203 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11206 PyObject
* obj0
= 0 ;
11207 char *kwnames
[] = {
11208 (char *) "self", NULL
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
11212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11213 if (SWIG_arg_fail(1)) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 Py_INCREF(Py_None
); resultobj
= Py_None
;
11228 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11231 PyObject
* obj0
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
11237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 Py_INCREF(Py_None
); resultobj
= Py_None
;
11253 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "self", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
11263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11264 if (SWIG_arg_fail(1)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11281 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "self", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
11291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11292 if (SWIG_arg_fail(1)) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11309 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11313 PyObject
* obj0
= 0 ;
11314 PyObject
* obj1
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self",(char *) "pos", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11321 if (SWIG_arg_fail(1)) SWIG_fail
;
11323 arg2
= (long)(SWIG_As_long(obj1
));
11324 if (SWIG_arg_fail(2)) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 (arg1
)->SetInsertionPoint(arg2
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 Py_INCREF(Py_None
); resultobj
= Py_None
;
11340 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
;
11342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11343 PyObject
* obj0
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
11349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11350 if (SWIG_arg_fail(1)) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 (arg1
)->SetInsertionPointEnd();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 Py_INCREF(Py_None
); resultobj
= Py_None
;
11365 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
11375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11376 if (SWIG_arg_fail(1)) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= SWIG_From_long((long)(result
));
11393 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
;
11395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
11403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11404 if (SWIG_arg_fail(1)) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= SWIG_From_long((long)(result
));
11421 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11426 PyObject
* obj0
= 0 ;
11427 PyObject
* obj1
= 0 ;
11428 PyObject
* obj2
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self",(char *) "from",(char *) "to", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11435 if (SWIG_arg_fail(1)) SWIG_fail
;
11437 arg2
= (long)(SWIG_As_long(obj1
));
11438 if (SWIG_arg_fail(2)) SWIG_fail
;
11441 arg3
= (long)(SWIG_As_long(obj2
));
11442 if (SWIG_arg_fail(3)) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 (arg1
)->SetSelection(arg2
,arg3
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 Py_INCREF(Py_None
); resultobj
= Py_None
;
11458 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11461 PyObject
* obj0
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
11467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11468 if (SWIG_arg_fail(1)) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 (arg1
)->SelectAll();
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 Py_INCREF(Py_None
); resultobj
= Py_None
;
11483 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "self",(char *) "editable", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
11494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11495 if (SWIG_arg_fail(1)) SWIG_fail
;
11497 arg2
= (bool)(SWIG_As_bool(obj1
));
11498 if (SWIG_arg_fail(2)) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 (arg1
)->SetEditable(arg2
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 Py_INCREF(Py_None
); resultobj
= Py_None
;
11514 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11517 wxString
*arg2
= 0 ;
11518 bool temp2
= false ;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj1
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self",(char *) "text", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
11526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail
;
11529 arg2
= wxString_in_helper(obj1
);
11530 if (arg2
== NULL
) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 Py_INCREF(Py_None
); resultobj
= Py_None
;
11555 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 PyObject
* obj2
= 0 ;
11564 char *kwnames
[] = {
11565 (char *) "self",(char *) "from",(char *) "to", NULL
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_EXCEPTION
| 0);
11570 if (SWIG_arg_fail(1)) SWIG_fail
;
11572 arg2
= (long)(SWIG_As_long(obj1
));
11573 if (SWIG_arg_fail(2)) SWIG_fail
;
11576 arg3
= (long)(SWIG_As_long(obj2
));
11577 if (SWIG_arg_fail(3)) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11599 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
11602 wxVisualAttributes result
;
11603 PyObject
* obj0
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "variant", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11611 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
11612 if (SWIG_arg_fail(1)) SWIG_fail
;
11616 if (!wxPyCheckForApp()) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11624 wxVisualAttributes
* resultptr
;
11625 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
11626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11634 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
11636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11637 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
11639 return Py_BuildValue((char *)"");
11641 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11644 wxMouseEvent
*arg2
= 0 ;
11647 wxTextUrlEvent
*result
;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11650 PyObject
* obj2
= 0 ;
11651 PyObject
* obj3
= 0 ;
11652 char *kwnames
[] = {
11653 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11658 arg1
= (int)(SWIG_As_int(obj0
));
11659 if (SWIG_arg_fail(1)) SWIG_fail
;
11662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
11663 if (SWIG_arg_fail(2)) SWIG_fail
;
11664 if (arg2
== NULL
) {
11665 SWIG_null_ref("wxMouseEvent");
11667 if (SWIG_arg_fail(2)) SWIG_fail
;
11670 arg3
= (long)(SWIG_As_long(obj2
));
11671 if (SWIG_arg_fail(3)) SWIG_fail
;
11674 arg4
= (long)(SWIG_As_long(obj3
));
11675 if (SWIG_arg_fail(4)) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
11691 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
;
11693 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11694 wxMouseEvent
*result
;
11695 PyObject
* obj0
= 0 ;
11696 char *kwnames
[] = {
11697 (char *) "self", NULL
11700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
11701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11702 if (SWIG_arg_fail(1)) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
11707 result
= (wxMouseEvent
*) &_result_ref
;
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
11720 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11721 PyObject
*resultobj
;
11722 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11724 PyObject
* obj0
= 0 ;
11725 char *kwnames
[] = {
11726 (char *) "self", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
11730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11731 if (SWIG_arg_fail(1)) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_From_long((long)(result
));
11748 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
11752 PyObject
* obj0
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
11758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_EXCEPTION
| 0);
11759 if (SWIG_arg_fail(1)) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= SWIG_From_long((long)(result
));
11776 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
11778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
11781 return Py_BuildValue((char *)"");
11783 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
11784 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
11789 static PyObject
*_wrap_ScrollBarNameStr_get(void) {
11794 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11796 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
11803 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxWindow
*arg1
= (wxWindow
*) 0 ;
11806 int arg2
= (int) -1 ;
11807 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11808 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11809 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11810 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11811 long arg5
= (long) wxSB_HORIZONTAL
;
11812 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
11813 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
11814 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
11815 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11816 wxScrollBar
*result
;
11819 bool temp7
= false ;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 PyObject
* obj2
= 0 ;
11823 PyObject
* obj3
= 0 ;
11824 PyObject
* obj4
= 0 ;
11825 PyObject
* obj5
= 0 ;
11826 PyObject
* obj6
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11833 if (SWIG_arg_fail(1)) SWIG_fail
;
11836 arg2
= (int)(SWIG_As_int(obj1
));
11837 if (SWIG_arg_fail(2)) SWIG_fail
;
11843 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11849 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11854 arg5
= (long)(SWIG_As_long(obj4
));
11855 if (SWIG_arg_fail(5)) SWIG_fail
;
11860 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11861 if (SWIG_arg_fail(6)) SWIG_fail
;
11862 if (arg6
== NULL
) {
11863 SWIG_null_ref("wxValidator");
11865 if (SWIG_arg_fail(6)) SWIG_fail
;
11870 arg7
= wxString_in_helper(obj6
);
11871 if (arg7
== NULL
) SWIG_fail
;
11876 if (!wxPyCheckForApp()) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11898 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxScrollBar
*result
;
11901 char *kwnames
[] = {
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
11907 if (!wxPyCheckForApp()) SWIG_fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= (wxScrollBar
*)new wxScrollBar();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
11921 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
;
11923 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
11924 wxWindow
*arg2
= (wxWindow
*) 0 ;
11925 int arg3
= (int) -1 ;
11926 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11927 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11928 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11929 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11930 long arg6
= (long) wxSB_HORIZONTAL
;
11931 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11932 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11933 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
11934 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11938 bool temp8
= false ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 PyObject
* obj2
= 0 ;
11942 PyObject
* obj3
= 0 ;
11943 PyObject
* obj4
= 0 ;
11944 PyObject
* obj5
= 0 ;
11945 PyObject
* obj6
= 0 ;
11946 PyObject
* obj7
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
11953 if (SWIG_arg_fail(1)) SWIG_fail
;
11954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11955 if (SWIG_arg_fail(2)) SWIG_fail
;
11958 arg3
= (int)(SWIG_As_int(obj2
));
11959 if (SWIG_arg_fail(3)) SWIG_fail
;
11965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11976 arg6
= (long)(SWIG_As_long(obj5
));
11977 if (SWIG_arg_fail(6)) SWIG_fail
;
11982 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
11983 if (SWIG_arg_fail(7)) SWIG_fail
;
11984 if (arg7
== NULL
) {
11985 SWIG_null_ref("wxValidator");
11987 if (SWIG_arg_fail(7)) SWIG_fail
;
11992 arg8
= wxString_in_helper(obj7
);
11993 if (arg8
== NULL
) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12021 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 char *kwnames
[] = {
12027 (char *) "self", NULL
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
12031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= SWIG_From_int((int)(result
));
12049 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
12059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12060 if (SWIG_arg_fail(1)) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_From_int((int)(result
));
12077 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12081 PyObject
* obj0
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
12087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12088 if (SWIG_arg_fail(1)) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_From_int((int)(result
));
12105 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
12115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12116 if (SWIG_arg_fail(1)) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_From_int((int)(result
));
12133 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
12143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12161 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self",(char *) "viewStart", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail
;
12175 arg2
= (int)(SWIG_As_int(obj1
));
12176 if (SWIG_arg_fail(2)) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 (arg1
)->SetThumbPosition(arg2
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 Py_INCREF(Py_None
); resultobj
= Py_None
;
12192 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
12199 bool arg6
= (bool) true ;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 PyObject
* obj2
= 0 ;
12203 PyObject
* obj3
= 0 ;
12204 PyObject
* obj4
= 0 ;
12205 PyObject
* obj5
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_EXCEPTION
| 0);
12212 if (SWIG_arg_fail(1)) SWIG_fail
;
12214 arg2
= (int)(SWIG_As_int(obj1
));
12215 if (SWIG_arg_fail(2)) SWIG_fail
;
12218 arg3
= (int)(SWIG_As_int(obj2
));
12219 if (SWIG_arg_fail(3)) SWIG_fail
;
12222 arg4
= (int)(SWIG_As_int(obj3
));
12223 if (SWIG_arg_fail(4)) SWIG_fail
;
12226 arg5
= (int)(SWIG_As_int(obj4
));
12227 if (SWIG_arg_fail(5)) SWIG_fail
;
12231 arg6
= (bool)(SWIG_As_bool(obj5
));
12232 if (SWIG_arg_fail(6)) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 Py_INCREF(Py_None
); resultobj
= Py_None
;
12249 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12252 wxVisualAttributes result
;
12253 PyObject
* obj0
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "variant", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12261 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12262 if (SWIG_arg_fail(1)) SWIG_fail
;
12266 if (!wxPyCheckForApp()) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 wxVisualAttributes
* resultptr
;
12275 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12284 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
12286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12287 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
12289 return Py_BuildValue((char *)"");
12291 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
12292 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
12297 static PyObject
*_wrap_SPIN_BUTTON_NAME_get(void) {
12302 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12304 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
12311 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
12312 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
12317 static PyObject
*_wrap_SpinCtrlNameStr_get(void) {
12322 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12324 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
12331 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxWindow
*arg1
= (wxWindow
*) 0 ;
12334 int arg2
= (int) -1 ;
12335 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12336 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12337 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12338 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12339 long arg5
= (long) wxSP_HORIZONTAL
;
12340 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
12341 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12342 wxSpinButton
*result
;
12345 bool temp6
= false ;
12346 PyObject
* obj0
= 0 ;
12347 PyObject
* obj1
= 0 ;
12348 PyObject
* obj2
= 0 ;
12349 PyObject
* obj3
= 0 ;
12350 PyObject
* obj4
= 0 ;
12351 PyObject
* obj5
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail
;
12361 arg2
= (int)(SWIG_As_int(obj1
));
12362 if (SWIG_arg_fail(2)) SWIG_fail
;
12368 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12374 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12379 arg5
= (long)(SWIG_As_long(obj4
));
12380 if (SWIG_arg_fail(5)) SWIG_fail
;
12385 arg6
= wxString_in_helper(obj5
);
12386 if (arg6
== NULL
) SWIG_fail
;
12391 if (!wxPyCheckForApp()) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12413 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxSpinButton
*result
;
12416 char *kwnames
[] = {
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
12422 if (!wxPyCheckForApp()) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (wxSpinButton
*)new wxSpinButton();
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
12436 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12439 wxWindow
*arg2
= (wxWindow
*) 0 ;
12440 int arg3
= (int) -1 ;
12441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12445 long arg6
= (long) wxSP_HORIZONTAL
;
12446 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
12447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12451 bool temp7
= false ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 PyObject
* obj2
= 0 ;
12455 PyObject
* obj3
= 0 ;
12456 PyObject
* obj4
= 0 ;
12457 PyObject
* obj5
= 0 ;
12458 PyObject
* obj6
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12465 if (SWIG_arg_fail(1)) SWIG_fail
;
12466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12467 if (SWIG_arg_fail(2)) SWIG_fail
;
12470 arg3
= (int)(SWIG_As_int(obj2
));
12471 if (SWIG_arg_fail(3)) SWIG_fail
;
12477 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12483 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12488 arg6
= (long)(SWIG_As_long(obj5
));
12489 if (SWIG_arg_fail(6)) SWIG_fail
;
12494 arg7
= wxString_in_helper(obj6
);
12495 if (arg7
== NULL
) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12523 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
12533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12534 if (SWIG_arg_fail(1)) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= SWIG_From_int((int)(result
));
12551 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12555 PyObject
* obj0
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
12561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= SWIG_From_int((int)(result
));
12579 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
12589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12590 if (SWIG_arg_fail(1)) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= SWIG_From_int((int)(result
));
12607 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self",(char *) "val", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12619 if (SWIG_arg_fail(1)) SWIG_fail
;
12621 arg2
= (int)(SWIG_As_int(obj1
));
12622 if (SWIG_arg_fail(2)) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 (arg1
)->SetValue(arg2
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 Py_INCREF(Py_None
); resultobj
= Py_None
;
12638 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 PyObject
* obj1
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self",(char *) "minVal", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail
;
12652 arg2
= (int)(SWIG_As_int(obj1
));
12653 if (SWIG_arg_fail(2)) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->SetMin(arg2
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 PyObject
* obj1
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self",(char *) "maxVal", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12681 if (SWIG_arg_fail(1)) SWIG_fail
;
12683 arg2
= (int)(SWIG_As_int(obj1
));
12684 if (SWIG_arg_fail(2)) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 (arg1
)->SetMax(arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 Py_INCREF(Py_None
); resultobj
= Py_None
;
12700 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 PyObject
* obj2
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12714 if (SWIG_arg_fail(1)) SWIG_fail
;
12716 arg2
= (int)(SWIG_As_int(obj1
));
12717 if (SWIG_arg_fail(2)) SWIG_fail
;
12720 arg3
= (int)(SWIG_As_int(obj2
));
12721 if (SWIG_arg_fail(3)) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 (arg1
)->SetRange(arg2
,arg3
);
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 Py_INCREF(Py_None
); resultobj
= Py_None
;
12737 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
;
12739 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
12741 PyObject
* obj0
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
12747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_EXCEPTION
| 0);
12748 if (SWIG_arg_fail(1)) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12765 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
12768 wxVisualAttributes result
;
12769 PyObject
* obj0
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "variant", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12777 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
12778 if (SWIG_arg_fail(1)) SWIG_fail
;
12782 if (!wxPyCheckForApp()) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12790 wxVisualAttributes
* resultptr
;
12791 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
12792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12800 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
12802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12803 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
12805 return Py_BuildValue((char *)"");
12807 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxWindow
*arg1
= (wxWindow
*) 0 ;
12810 int arg2
= (int) -1 ;
12811 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12812 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12813 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12814 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12815 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12816 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12817 long arg6
= (long) wxSP_ARROW_KEYS
;
12818 int arg7
= (int) 0 ;
12819 int arg8
= (int) 100 ;
12820 int arg9
= (int) 0 ;
12821 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
12822 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12823 wxSpinCtrl
*result
;
12824 bool temp3
= false ;
12827 bool temp10
= false ;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 PyObject
* obj2
= 0 ;
12831 PyObject
* obj3
= 0 ;
12832 PyObject
* obj4
= 0 ;
12833 PyObject
* obj5
= 0 ;
12834 PyObject
* obj6
= 0 ;
12835 PyObject
* obj7
= 0 ;
12836 PyObject
* obj8
= 0 ;
12837 PyObject
* obj9
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail
;
12847 arg2
= (int)(SWIG_As_int(obj1
));
12848 if (SWIG_arg_fail(2)) SWIG_fail
;
12853 arg3
= wxString_in_helper(obj2
);
12854 if (arg3
== NULL
) SWIG_fail
;
12861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12867 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12872 arg6
= (long)(SWIG_As_long(obj5
));
12873 if (SWIG_arg_fail(6)) SWIG_fail
;
12878 arg7
= (int)(SWIG_As_int(obj6
));
12879 if (SWIG_arg_fail(7)) SWIG_fail
;
12884 arg8
= (int)(SWIG_As_int(obj7
));
12885 if (SWIG_arg_fail(8)) SWIG_fail
;
12890 arg9
= (int)(SWIG_As_int(obj8
));
12891 if (SWIG_arg_fail(9)) SWIG_fail
;
12896 arg10
= wxString_in_helper(obj9
);
12897 if (arg10
== NULL
) SWIG_fail
;
12902 if (!wxPyCheckForApp()) SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12932 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
*resultobj
;
12934 wxSpinCtrl
*result
;
12935 char *kwnames
[] = {
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
12941 if (!wxPyCheckForApp()) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (wxSpinCtrl
*)new wxSpinCtrl();
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
12955 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
12958 wxWindow
*arg2
= (wxWindow
*) 0 ;
12959 int arg3
= (int) -1 ;
12960 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12961 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12962 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12963 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12964 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12965 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12966 long arg7
= (long) wxSP_ARROW_KEYS
;
12967 int arg8
= (int) 0 ;
12968 int arg9
= (int) 100 ;
12969 int arg10
= (int) 0 ;
12970 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
12971 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12973 bool temp4
= false ;
12976 bool temp11
= false ;
12977 PyObject
* obj0
= 0 ;
12978 PyObject
* obj1
= 0 ;
12979 PyObject
* obj2
= 0 ;
12980 PyObject
* obj3
= 0 ;
12981 PyObject
* obj4
= 0 ;
12982 PyObject
* obj5
= 0 ;
12983 PyObject
* obj6
= 0 ;
12984 PyObject
* obj7
= 0 ;
12985 PyObject
* obj8
= 0 ;
12986 PyObject
* obj9
= 0 ;
12987 PyObject
* obj10
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail
;
12995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12996 if (SWIG_arg_fail(2)) SWIG_fail
;
12999 arg3
= (int)(SWIG_As_int(obj2
));
13000 if (SWIG_arg_fail(3)) SWIG_fail
;
13005 arg4
= wxString_in_helper(obj3
);
13006 if (arg4
== NULL
) SWIG_fail
;
13013 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13019 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13024 arg7
= (long)(SWIG_As_long(obj6
));
13025 if (SWIG_arg_fail(7)) SWIG_fail
;
13030 arg8
= (int)(SWIG_As_int(obj7
));
13031 if (SWIG_arg_fail(8)) SWIG_fail
;
13036 arg9
= (int)(SWIG_As_int(obj8
));
13037 if (SWIG_arg_fail(9)) SWIG_fail
;
13042 arg10
= (int)(SWIG_As_int(obj9
));
13043 if (SWIG_arg_fail(10)) SWIG_fail
;
13048 arg11
= wxString_in_helper(obj10
);
13049 if (arg11
== NULL
) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13085 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
13095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= SWIG_From_int((int)(result
));
13113 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "self",(char *) "value", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail
;
13127 arg2
= (int)(SWIG_As_int(obj1
));
13128 if (SWIG_arg_fail(2)) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 (arg1
)->SetValue(arg2
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 Py_INCREF(Py_None
); resultobj
= Py_None
;
13144 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13147 wxString
*arg2
= 0 ;
13148 bool temp2
= false ;
13149 PyObject
* obj0
= 0 ;
13150 PyObject
* obj1
= 0 ;
13151 char *kwnames
[] = {
13152 (char *) "self",(char *) "text", NULL
13155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
13156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13157 if (SWIG_arg_fail(1)) SWIG_fail
;
13159 arg2
= wxString_in_helper(obj1
);
13160 if (arg2
== NULL
) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 (arg1
)->SetValue((wxString
const &)*arg2
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 Py_INCREF(Py_None
); resultobj
= Py_None
;
13185 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 PyObject
* obj2
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13199 if (SWIG_arg_fail(1)) SWIG_fail
;
13201 arg2
= (int)(SWIG_As_int(obj1
));
13202 if (SWIG_arg_fail(2)) SWIG_fail
;
13205 arg3
= (int)(SWIG_As_int(obj2
));
13206 if (SWIG_arg_fail(3)) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 (arg1
)->SetRange(arg2
,arg3
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 Py_INCREF(Py_None
); resultobj
= Py_None
;
13222 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13226 PyObject
* obj0
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
13232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= SWIG_From_int((int)(result
));
13250 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13254 PyObject
* obj0
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
13260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13261 if (SWIG_arg_fail(1)) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_From_int((int)(result
));
13278 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 PyObject
* obj2
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "from",(char *) "to", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_EXCEPTION
| 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail
;
13294 arg2
= (long)(SWIG_As_long(obj1
));
13295 if (SWIG_arg_fail(2)) SWIG_fail
;
13298 arg3
= (long)(SWIG_As_long(obj2
));
13299 if (SWIG_arg_fail(3)) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 (arg1
)->SetSelection(arg2
,arg3
);
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 Py_INCREF(Py_None
); resultobj
= Py_None
;
13315 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13316 PyObject
*resultobj
;
13317 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13318 wxVisualAttributes result
;
13319 PyObject
* obj0
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "variant", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13327 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
13328 if (SWIG_arg_fail(1)) SWIG_fail
;
13332 if (!wxPyCheckForApp()) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13340 wxVisualAttributes
* resultptr
;
13341 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
13342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13350 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
13352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13353 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
13355 return Py_BuildValue((char *)"");
13357 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13360 int arg2
= (int) 0 ;
13361 wxSpinEvent
*result
;
13362 PyObject
* obj0
= 0 ;
13363 PyObject
* obj1
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "commandType",(char *) "winid", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13371 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13372 if (SWIG_arg_fail(1)) SWIG_fail
;
13377 arg2
= (int)(SWIG_As_int(obj1
));
13378 if (SWIG_arg_fail(2)) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
13395 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13406 if (SWIG_arg_fail(1)) SWIG_fail
;
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_From_int((int)(result
));
13423 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
13427 PyObject
* obj0
= 0 ;
13428 PyObject
* obj1
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self",(char *) "pos", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_EXCEPTION
| 0);
13435 if (SWIG_arg_fail(1)) SWIG_fail
;
13437 arg2
= (int)(SWIG_As_int(obj1
));
13438 if (SWIG_arg_fail(2)) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 (arg1
)->SetPosition(arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 Py_INCREF(Py_None
); resultobj
= Py_None
;
13454 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
13456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13457 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
13459 return Py_BuildValue((char *)"");
13461 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
13462 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
13467 static PyObject
*_wrap_RadioBoxNameStr_get(void) {
13472 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13474 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
13481 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
13482 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
13487 static PyObject
*_wrap_RadioButtonNameStr_get(void) {
13492 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13494 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
13501 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxWindow
*arg1
= (wxWindow
*) 0 ;
13504 int arg2
= (int) -1 ;
13505 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13506 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13507 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13508 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13509 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13510 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13511 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
13512 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
13513 int arg7
= (int) 0 ;
13514 long arg8
= (long) wxRA_HORIZONTAL
;
13515 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13516 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13517 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
13518 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13519 wxRadioBox
*result
;
13520 bool temp3
= false ;
13523 bool temp6
= false ;
13524 bool temp10
= false ;
13525 PyObject
* obj0
= 0 ;
13526 PyObject
* obj1
= 0 ;
13527 PyObject
* obj2
= 0 ;
13528 PyObject
* obj3
= 0 ;
13529 PyObject
* obj4
= 0 ;
13530 PyObject
* obj5
= 0 ;
13531 PyObject
* obj6
= 0 ;
13532 PyObject
* obj7
= 0 ;
13533 PyObject
* obj8
= 0 ;
13534 PyObject
* obj9
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13541 if (SWIG_arg_fail(1)) SWIG_fail
;
13544 arg2
= (int)(SWIG_As_int(obj1
));
13545 if (SWIG_arg_fail(2)) SWIG_fail
;
13550 arg3
= wxString_in_helper(obj2
);
13551 if (arg3
== NULL
) SWIG_fail
;
13558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13564 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13569 if (! PySequence_Check(obj5
)) {
13570 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13573 arg6
= new wxArrayString
;
13575 int i
, len
=PySequence_Length(obj5
);
13576 for (i
=0; i
<len
; i
++) {
13577 PyObject
* item
= PySequence_GetItem(obj5
, i
);
13579 PyObject
* str
= PyObject_Unicode(item
);
13581 PyObject
* str
= PyObject_Str(item
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13584 arg6
->Add(Py2wxString(str
));
13592 arg7
= (int)(SWIG_As_int(obj6
));
13593 if (SWIG_arg_fail(7)) SWIG_fail
;
13598 arg8
= (long)(SWIG_As_long(obj7
));
13599 if (SWIG_arg_fail(8)) SWIG_fail
;
13604 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13605 if (SWIG_arg_fail(9)) SWIG_fail
;
13606 if (arg9
== NULL
) {
13607 SWIG_null_ref("wxValidator");
13609 if (SWIG_arg_fail(9)) SWIG_fail
;
13614 arg10
= wxString_in_helper(obj9
);
13615 if (arg10
== NULL
) SWIG_fail
;
13620 if (!wxPyCheckForApp()) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 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
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13633 if (temp6
) delete arg6
;
13646 if (temp6
) delete arg6
;
13656 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxRadioBox
*result
;
13659 char *kwnames
[] = {
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
13665 if (!wxPyCheckForApp()) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (wxRadioBox
*)new wxRadioBox();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
13679 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13682 wxWindow
*arg2
= (wxWindow
*) 0 ;
13683 int arg3
= (int) -1 ;
13684 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13685 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13686 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13687 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13688 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13689 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13690 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
13691 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
13692 int arg8
= (int) 0 ;
13693 long arg9
= (long) wxRA_HORIZONTAL
;
13694 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13695 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13696 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
13697 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13699 bool temp4
= false ;
13702 bool temp7
= false ;
13703 bool temp11
= false ;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 PyObject
* obj2
= 0 ;
13707 PyObject
* obj3
= 0 ;
13708 PyObject
* obj4
= 0 ;
13709 PyObject
* obj5
= 0 ;
13710 PyObject
* obj6
= 0 ;
13711 PyObject
* obj7
= 0 ;
13712 PyObject
* obj8
= 0 ;
13713 PyObject
* obj9
= 0 ;
13714 PyObject
* obj10
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13721 if (SWIG_arg_fail(1)) SWIG_fail
;
13722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13723 if (SWIG_arg_fail(2)) SWIG_fail
;
13726 arg3
= (int)(SWIG_As_int(obj2
));
13727 if (SWIG_arg_fail(3)) SWIG_fail
;
13732 arg4
= wxString_in_helper(obj3
);
13733 if (arg4
== NULL
) SWIG_fail
;
13740 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13746 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13751 if (! PySequence_Check(obj6
)) {
13752 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
13755 arg7
= new wxArrayString
;
13757 int i
, len
=PySequence_Length(obj6
);
13758 for (i
=0; i
<len
; i
++) {
13759 PyObject
* item
= PySequence_GetItem(obj6
, i
);
13761 PyObject
* str
= PyObject_Unicode(item
);
13763 PyObject
* str
= PyObject_Str(item
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13766 arg7
->Add(Py2wxString(str
));
13774 arg8
= (int)(SWIG_As_int(obj7
));
13775 if (SWIG_arg_fail(8)) SWIG_fail
;
13780 arg9
= (long)(SWIG_As_long(obj8
));
13781 if (SWIG_arg_fail(9)) SWIG_fail
;
13786 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
13787 if (SWIG_arg_fail(10)) SWIG_fail
;
13788 if (arg10
== NULL
) {
13789 SWIG_null_ref("wxValidator");
13791 if (SWIG_arg_fail(10)) SWIG_fail
;
13796 arg11
= wxString_in_helper(obj10
);
13797 if (arg11
== NULL
) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 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
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13816 if (temp7
) delete arg7
;
13829 if (temp7
) delete arg7
;
13839 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "self",(char *) "n", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13851 if (SWIG_arg_fail(1)) SWIG_fail
;
13853 arg2
= (int)(SWIG_As_int(obj1
));
13854 if (SWIG_arg_fail(2)) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 (arg1
)->SetSelection(arg2
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 Py_INCREF(Py_None
); resultobj
= Py_None
;
13870 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
;
13872 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13874 PyObject
* obj0
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "self", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
13880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13881 if (SWIG_arg_fail(1)) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= SWIG_From_int((int)(result
));
13898 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13902 PyObject
* obj0
= 0 ;
13903 char *kwnames
[] = {
13904 (char *) "self", NULL
13907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13909 if (SWIG_arg_fail(1)) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13930 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13933 wxString
*arg2
= 0 ;
13935 bool temp2
= false ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self",(char *) "s", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13944 if (SWIG_arg_fail(1)) SWIG_fail
;
13946 arg2
= wxString_in_helper(obj1
);
13947 if (arg2
== NULL
) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13974 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
13984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
13985 if (SWIG_arg_fail(1)) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= SWIG_From_int((int)(result
));
14002 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14005 wxString
*arg2
= 0 ;
14007 bool temp2
= false ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self",(char *) "s", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail
;
14018 arg2
= wxString_in_helper(obj1
);
14019 if (arg2
== NULL
) SWIG_fail
;
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_From_int((int)(result
));
14046 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14051 PyObject
* obj0
= 0 ;
14052 PyObject
* obj1
= 0 ;
14053 char *kwnames
[] = {
14054 (char *) "self",(char *) "n", NULL
14057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14059 if (SWIG_arg_fail(1)) SWIG_fail
;
14061 arg2
= (int)(SWIG_As_int(obj1
));
14062 if (SWIG_arg_fail(2)) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14084 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
;
14086 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14088 wxString
*arg3
= 0 ;
14089 bool temp3
= false ;
14090 PyObject
* obj0
= 0 ;
14091 PyObject
* obj1
= 0 ;
14092 PyObject
* obj2
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self",(char *) "n",(char *) "label", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14099 if (SWIG_arg_fail(1)) SWIG_fail
;
14101 arg2
= (int)(SWIG_As_int(obj1
));
14102 if (SWIG_arg_fail(2)) SWIG_fail
;
14105 arg3
= wxString_in_helper(obj2
);
14106 if (arg3
== NULL
) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 Py_INCREF(Py_None
); resultobj
= Py_None
;
14131 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14135 bool arg3
= (bool) true ;
14136 PyObject
* obj0
= 0 ;
14137 PyObject
* obj1
= 0 ;
14138 PyObject
* obj2
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self",(char *) "n",(char *) "enable", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail
;
14147 arg2
= (int)(SWIG_As_int(obj1
));
14148 if (SWIG_arg_fail(2)) SWIG_fail
;
14152 arg3
= (bool)(SWIG_As_bool(obj2
));
14153 if (SWIG_arg_fail(3)) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 (arg1
)->Enable(arg2
,arg3
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 Py_INCREF(Py_None
); resultobj
= Py_None
;
14170 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14174 bool arg3
= (bool) true ;
14175 PyObject
* obj0
= 0 ;
14176 PyObject
* obj1
= 0 ;
14177 PyObject
* obj2
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self",(char *) "n",(char *) "show", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14184 if (SWIG_arg_fail(1)) SWIG_fail
;
14186 arg2
= (int)(SWIG_As_int(obj1
));
14187 if (SWIG_arg_fail(2)) SWIG_fail
;
14191 arg3
= (bool)(SWIG_As_bool(obj2
));
14192 if (SWIG_arg_fail(3)) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 (arg1
)->Show(arg2
,arg3
);
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 Py_INCREF(Py_None
); resultobj
= Py_None
;
14209 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
14219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14220 if (SWIG_arg_fail(1)) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= SWIG_From_int((int)(result
));
14237 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
14247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14248 if (SWIG_arg_fail(1)) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= SWIG_From_int((int)(result
));
14265 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 PyObject
* obj2
= 0 ;
14275 PyObject
* obj3
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_EXCEPTION
| 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail
;
14284 arg2
= (int)(SWIG_As_int(obj1
));
14285 if (SWIG_arg_fail(2)) SWIG_fail
;
14288 arg3
= (wxDirection
)(SWIG_As_int(obj2
));
14289 if (SWIG_arg_fail(3)) SWIG_fail
;
14292 arg4
= (long)(SWIG_As_long(obj3
));
14293 if (SWIG_arg_fail(4)) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= SWIG_From_int((int)(result
));
14311 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14314 wxVisualAttributes result
;
14315 PyObject
* obj0
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "variant", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14323 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14324 if (SWIG_arg_fail(1)) SWIG_fail
;
14328 if (!wxPyCheckForApp()) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 wxVisualAttributes
* resultptr
;
14337 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14346 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
14348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14349 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
14351 return Py_BuildValue((char *)"");
14353 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxWindow
*arg1
= (wxWindow
*) 0 ;
14356 int arg2
= (int) -1 ;
14357 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14358 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14359 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14360 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14361 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14362 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14363 long arg6
= (long) 0 ;
14364 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14365 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14366 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
14367 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14368 wxRadioButton
*result
;
14369 bool temp3
= false ;
14372 bool temp8
= false ;
14373 PyObject
* obj0
= 0 ;
14374 PyObject
* obj1
= 0 ;
14375 PyObject
* obj2
= 0 ;
14376 PyObject
* obj3
= 0 ;
14377 PyObject
* obj4
= 0 ;
14378 PyObject
* obj5
= 0 ;
14379 PyObject
* obj6
= 0 ;
14380 PyObject
* obj7
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14387 if (SWIG_arg_fail(1)) SWIG_fail
;
14390 arg2
= (int)(SWIG_As_int(obj1
));
14391 if (SWIG_arg_fail(2)) SWIG_fail
;
14396 arg3
= wxString_in_helper(obj2
);
14397 if (arg3
== NULL
) SWIG_fail
;
14404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14415 arg6
= (long)(SWIG_As_long(obj5
));
14416 if (SWIG_arg_fail(6)) SWIG_fail
;
14421 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14422 if (SWIG_arg_fail(7)) SWIG_fail
;
14423 if (arg7
== NULL
) {
14424 SWIG_null_ref("wxValidator");
14426 if (SWIG_arg_fail(7)) SWIG_fail
;
14431 arg8
= wxString_in_helper(obj7
);
14432 if (arg8
== NULL
) SWIG_fail
;
14437 if (!wxPyCheckForApp()) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14467 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxRadioButton
*result
;
14470 char *kwnames
[] = {
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
14476 if (!wxPyCheckForApp()) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (wxRadioButton
*)new wxRadioButton();
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
14490 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14493 wxWindow
*arg2
= (wxWindow
*) 0 ;
14494 int arg3
= (int) -1 ;
14495 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14496 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14497 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14498 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14499 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14500 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14501 long arg7
= (long) 0 ;
14502 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14503 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14504 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
14505 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14507 bool temp4
= false ;
14510 bool temp9
= false ;
14511 PyObject
* obj0
= 0 ;
14512 PyObject
* obj1
= 0 ;
14513 PyObject
* obj2
= 0 ;
14514 PyObject
* obj3
= 0 ;
14515 PyObject
* obj4
= 0 ;
14516 PyObject
* obj5
= 0 ;
14517 PyObject
* obj6
= 0 ;
14518 PyObject
* obj7
= 0 ;
14519 PyObject
* obj8
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14526 if (SWIG_arg_fail(1)) SWIG_fail
;
14527 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14528 if (SWIG_arg_fail(2)) SWIG_fail
;
14531 arg3
= (int)(SWIG_As_int(obj2
));
14532 if (SWIG_arg_fail(3)) SWIG_fail
;
14537 arg4
= wxString_in_helper(obj3
);
14538 if (arg4
== NULL
) SWIG_fail
;
14545 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14551 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14556 arg7
= (long)(SWIG_As_long(obj6
));
14557 if (SWIG_arg_fail(7)) SWIG_fail
;
14562 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14563 if (SWIG_arg_fail(8)) SWIG_fail
;
14564 if (arg8
== NULL
) {
14565 SWIG_null_ref("wxValidator");
14567 if (SWIG_arg_fail(8)) SWIG_fail
;
14572 arg9
= wxString_in_helper(obj8
);
14573 if (arg9
== NULL
) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14609 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14613 PyObject
* obj0
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
14619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14620 if (SWIG_arg_fail(1)) SWIG_fail
;
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (bool)(arg1
)->GetValue();
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14637 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self",(char *) "value", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_EXCEPTION
| 0);
14649 if (SWIG_arg_fail(1)) SWIG_fail
;
14651 arg2
= (bool)(SWIG_As_bool(obj1
));
14652 if (SWIG_arg_fail(2)) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 (arg1
)->SetValue(arg2
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 Py_INCREF(Py_None
); resultobj
= Py_None
;
14668 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14671 wxVisualAttributes result
;
14672 PyObject
* obj0
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "variant", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14680 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
14681 if (SWIG_arg_fail(1)) SWIG_fail
;
14685 if (!wxPyCheckForApp()) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14693 wxVisualAttributes
* resultptr
;
14694 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
14695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14703 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
14705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14706 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
14708 return Py_BuildValue((char *)"");
14710 static int _wrap_SliderNameStr_set(PyObject
*) {
14711 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
14716 static PyObject
*_wrap_SliderNameStr_get(void) {
14721 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14723 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
14730 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxWindow
*arg1
= (wxWindow
*) 0 ;
14733 int arg2
= (int) -1 ;
14734 int arg3
= (int) 0 ;
14735 int arg4
= (int) 0 ;
14736 int arg5
= (int) 100 ;
14737 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14738 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14739 wxSize
const &arg7_defvalue
= wxDefaultSize
;
14740 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
14741 long arg8
= (long) wxSL_HORIZONTAL
;
14742 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
14743 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
14744 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
14745 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14749 bool temp10
= false ;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14752 PyObject
* obj2
= 0 ;
14753 PyObject
* obj3
= 0 ;
14754 PyObject
* obj4
= 0 ;
14755 PyObject
* obj5
= 0 ;
14756 PyObject
* obj6
= 0 ;
14757 PyObject
* obj7
= 0 ;
14758 PyObject
* obj8
= 0 ;
14759 PyObject
* obj9
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14766 if (SWIG_arg_fail(1)) SWIG_fail
;
14769 arg2
= (int)(SWIG_As_int(obj1
));
14770 if (SWIG_arg_fail(2)) SWIG_fail
;
14775 arg3
= (int)(SWIG_As_int(obj2
));
14776 if (SWIG_arg_fail(3)) SWIG_fail
;
14781 arg4
= (int)(SWIG_As_int(obj3
));
14782 if (SWIG_arg_fail(4)) SWIG_fail
;
14787 arg5
= (int)(SWIG_As_int(obj4
));
14788 if (SWIG_arg_fail(5)) SWIG_fail
;
14794 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14800 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
14805 arg8
= (long)(SWIG_As_long(obj7
));
14806 if (SWIG_arg_fail(8)) SWIG_fail
;
14811 SWIG_Python_ConvertPtr(obj8
, (void **)&arg9
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14812 if (SWIG_arg_fail(9)) SWIG_fail
;
14813 if (arg9
== NULL
) {
14814 SWIG_null_ref("wxValidator");
14816 if (SWIG_arg_fail(9)) SWIG_fail
;
14821 arg10
= wxString_in_helper(obj9
);
14822 if (arg10
== NULL
) SWIG_fail
;
14827 if (!wxPyCheckForApp()) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14849 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14852 char *kwnames
[] = {
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
14858 if (!wxPyCheckForApp()) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= (wxSlider
*)new wxSlider();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
14872 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxSlider
*arg1
= (wxSlider
*) 0 ;
14875 wxWindow
*arg2
= (wxWindow
*) 0 ;
14876 int arg3
= (int) -1 ;
14877 int arg4
= (int) 0 ;
14878 int arg5
= (int) 0 ;
14879 int arg6
= (int) 100 ;
14880 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14881 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14882 wxSize
const &arg8_defvalue
= wxDefaultSize
;
14883 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
14884 long arg9
= (long) wxSL_HORIZONTAL
;
14885 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
14886 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
14887 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
14888 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
14892 bool temp11
= false ;
14893 PyObject
* obj0
= 0 ;
14894 PyObject
* obj1
= 0 ;
14895 PyObject
* obj2
= 0 ;
14896 PyObject
* obj3
= 0 ;
14897 PyObject
* obj4
= 0 ;
14898 PyObject
* obj5
= 0 ;
14899 PyObject
* obj6
= 0 ;
14900 PyObject
* obj7
= 0 ;
14901 PyObject
* obj8
= 0 ;
14902 PyObject
* obj9
= 0 ;
14903 PyObject
* obj10
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
14909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
14910 if (SWIG_arg_fail(1)) SWIG_fail
;
14911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14912 if (SWIG_arg_fail(2)) SWIG_fail
;
14915 arg3
= (int)(SWIG_As_int(obj2
));
14916 if (SWIG_arg_fail(3)) SWIG_fail
;
14921 arg4
= (int)(SWIG_As_int(obj3
));
14922 if (SWIG_arg_fail(4)) SWIG_fail
;
14927 arg5
= (int)(SWIG_As_int(obj4
));
14928 if (SWIG_arg_fail(5)) SWIG_fail
;
14933 arg6
= (int)(SWIG_As_int(obj5
));
14934 if (SWIG_arg_fail(6)) SWIG_fail
;
14940 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14946 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
14951 arg9
= (long)(SWIG_As_long(obj8
));
14952 if (SWIG_arg_fail(9)) SWIG_fail
;
14957 SWIG_Python_ConvertPtr(obj9
, (void **)&arg10
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
14958 if (SWIG_arg_fail(10)) SWIG_fail
;
14959 if (arg10
== NULL
) {
14960 SWIG_null_ref("wxValidator");
14962 if (SWIG_arg_fail(10)) SWIG_fail
;
14967 arg11
= wxString_in_helper(obj10
);
14968 if (arg11
== NULL
) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14996 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxSlider
*arg1
= (wxSlider
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char *kwnames
[] = {
15002 (char *) "self", NULL
15005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
15006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15007 if (SWIG_arg_fail(1)) SWIG_fail
;
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (int)((wxSlider
const *)arg1
)->GetValue();
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15016 resultobj
= SWIG_From_int((int)(result
));
15024 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
;
15026 wxSlider
*arg1
= (wxSlider
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self",(char *) "value", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail
;
15038 arg2
= (int)(SWIG_As_int(obj1
));
15039 if (SWIG_arg_fail(2)) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 (arg1
)->SetValue(arg2
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 Py_INCREF(Py_None
); resultobj
= Py_None
;
15055 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxSlider
*arg1
= (wxSlider
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 PyObject
* obj1
= 0 ;
15062 PyObject
* obj2
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15069 if (SWIG_arg_fail(1)) SWIG_fail
;
15071 arg2
= (int)(SWIG_As_int(obj1
));
15072 if (SWIG_arg_fail(2)) SWIG_fail
;
15075 arg3
= (int)(SWIG_As_int(obj2
));
15076 if (SWIG_arg_fail(3)) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->SetRange(arg2
,arg3
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 Py_INCREF(Py_None
); resultobj
= Py_None
;
15092 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxSlider
*arg1
= (wxSlider
*) 0 ;
15096 PyObject
* obj0
= 0 ;
15097 char *kwnames
[] = {
15098 (char *) "self", NULL
15101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
15102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15103 if (SWIG_arg_fail(1)) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (int)((wxSlider
const *)arg1
)->GetMin();
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_From_int((int)(result
));
15120 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxSlider
*arg1
= (wxSlider
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
15130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (int)((wxSlider
const *)arg1
)->GetMax();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_From_int((int)(result
));
15148 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxSlider
*arg1
= (wxSlider
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "minValue", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
15159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15160 if (SWIG_arg_fail(1)) SWIG_fail
;
15162 arg2
= (int)(SWIG_As_int(obj1
));
15163 if (SWIG_arg_fail(2)) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 (arg1
)->SetMin(arg2
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 Py_INCREF(Py_None
); resultobj
= Py_None
;
15179 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxSlider
*arg1
= (wxSlider
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self",(char *) "maxValue", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
15190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15191 if (SWIG_arg_fail(1)) SWIG_fail
;
15193 arg2
= (int)(SWIG_As_int(obj1
));
15194 if (SWIG_arg_fail(2)) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 (arg1
)->SetMax(arg2
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 Py_INCREF(Py_None
); resultobj
= Py_None
;
15210 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxSlider
*arg1
= (wxSlider
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 PyObject
* obj1
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self",(char *) "lineSize", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15222 if (SWIG_arg_fail(1)) SWIG_fail
;
15224 arg2
= (int)(SWIG_As_int(obj1
));
15225 if (SWIG_arg_fail(2)) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 (arg1
)->SetLineSize(arg2
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 Py_INCREF(Py_None
); resultobj
= Py_None
;
15241 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxSlider
*arg1
= (wxSlider
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 PyObject
* obj1
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self",(char *) "pageSize", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15253 if (SWIG_arg_fail(1)) SWIG_fail
;
15255 arg2
= (int)(SWIG_As_int(obj1
));
15256 if (SWIG_arg_fail(2)) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 (arg1
)->SetPageSize(arg2
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 Py_INCREF(Py_None
); resultobj
= Py_None
;
15272 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxSlider
*arg1
= (wxSlider
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
15282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15283 if (SWIG_arg_fail(1)) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_From_int((int)(result
));
15300 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxSlider
*arg1
= (wxSlider
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
15310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15311 if (SWIG_arg_fail(1)) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_From_int((int)(result
));
15328 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxSlider
*arg1
= (wxSlider
*) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self",(char *) "lenPixels", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
15339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15340 if (SWIG_arg_fail(1)) SWIG_fail
;
15342 arg2
= (int)(SWIG_As_int(obj1
));
15343 if (SWIG_arg_fail(2)) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 (arg1
)->SetThumbLength(arg2
);
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 Py_INCREF(Py_None
); resultobj
= Py_None
;
15359 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxSlider
*arg1
= (wxSlider
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "self", NULL
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
15369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15370 if (SWIG_arg_fail(1)) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= SWIG_From_int((int)(result
));
15387 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxSlider
*arg1
= (wxSlider
*) 0 ;
15391 int arg3
= (int) 1 ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 PyObject
* obj2
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self",(char *) "n",(char *) "pos", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15401 if (SWIG_arg_fail(1)) SWIG_fail
;
15403 arg2
= (int)(SWIG_As_int(obj1
));
15404 if (SWIG_arg_fail(2)) SWIG_fail
;
15408 arg3
= (int)(SWIG_As_int(obj2
));
15409 if (SWIG_arg_fail(3)) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 (arg1
)->SetTickFreq(arg2
,arg3
);
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 Py_INCREF(Py_None
); resultobj
= Py_None
;
15426 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15428 wxSlider
*arg1
= (wxSlider
*) 0 ;
15430 PyObject
* obj0
= 0 ;
15431 char *kwnames
[] = {
15432 (char *) "self", NULL
15435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
15436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15437 if (SWIG_arg_fail(1)) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= SWIG_From_int((int)(result
));
15454 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxSlider
*arg1
= (wxSlider
*) 0 ;
15457 PyObject
* obj0
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
15463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15464 if (SWIG_arg_fail(1)) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 (arg1
)->ClearTicks();
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15472 Py_INCREF(Py_None
); resultobj
= Py_None
;
15479 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
;
15481 wxSlider
*arg1
= (wxSlider
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 PyObject
* obj1
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "self",(char *) "tickPos", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
15490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15491 if (SWIG_arg_fail(1)) SWIG_fail
;
15493 arg2
= (int)(SWIG_As_int(obj1
));
15494 if (SWIG_arg_fail(2)) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 (arg1
)->SetTick(arg2
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 Py_INCREF(Py_None
); resultobj
= Py_None
;
15510 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 wxSlider
*arg1
= (wxSlider
*) 0 ;
15513 PyObject
* obj0
= 0 ;
15514 char *kwnames
[] = {
15515 (char *) "self", NULL
15518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
15519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15520 if (SWIG_arg_fail(1)) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 (arg1
)->ClearSel();
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 Py_INCREF(Py_None
); resultobj
= Py_None
;
15535 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxSlider
*arg1
= (wxSlider
*) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
15545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15546 if (SWIG_arg_fail(1)) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= SWIG_From_int((int)(result
));
15563 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxSlider
*arg1
= (wxSlider
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
15573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15574 if (SWIG_arg_fail(1)) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= SWIG_From_int((int)(result
));
15591 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxSlider
*arg1
= (wxSlider
*) 0 ;
15596 PyObject
* obj0
= 0 ;
15597 PyObject
* obj1
= 0 ;
15598 PyObject
* obj2
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self",(char *) "min",(char *) "max", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSlider
, SWIG_POINTER_EXCEPTION
| 0);
15605 if (SWIG_arg_fail(1)) SWIG_fail
;
15607 arg2
= (int)(SWIG_As_int(obj1
));
15608 if (SWIG_arg_fail(2)) SWIG_fail
;
15611 arg3
= (int)(SWIG_As_int(obj2
));
15612 if (SWIG_arg_fail(3)) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 (arg1
)->SetSelection(arg2
,arg3
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 Py_INCREF(Py_None
); resultobj
= Py_None
;
15628 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15631 wxVisualAttributes result
;
15632 PyObject
* obj0
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "variant", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15640 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
15641 if (SWIG_arg_fail(1)) SWIG_fail
;
15645 if (!wxPyCheckForApp()) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15653 wxVisualAttributes
* resultptr
;
15654 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
15655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15663 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
15665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15666 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
15668 return Py_BuildValue((char *)"");
15670 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
15671 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
15676 static PyObject
*_wrap_ToggleButtonNameStr_get(void) {
15681 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15683 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
15690 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxWindow
*arg1
= (wxWindow
*) 0 ;
15693 int arg2
= (int) -1 ;
15694 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15695 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15696 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15697 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15698 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15699 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15700 long arg6
= (long) 0 ;
15701 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15702 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15703 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
15704 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15705 wxToggleButton
*result
;
15706 bool temp3
= false ;
15709 bool temp8
= false ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 PyObject
* obj2
= 0 ;
15713 PyObject
* obj3
= 0 ;
15714 PyObject
* obj4
= 0 ;
15715 PyObject
* obj5
= 0 ;
15716 PyObject
* obj6
= 0 ;
15717 PyObject
* obj7
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15724 if (SWIG_arg_fail(1)) SWIG_fail
;
15727 arg2
= (int)(SWIG_As_int(obj1
));
15728 if (SWIG_arg_fail(2)) SWIG_fail
;
15733 arg3
= wxString_in_helper(obj2
);
15734 if (arg3
== NULL
) SWIG_fail
;
15741 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15747 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15752 arg6
= (long)(SWIG_As_long(obj5
));
15753 if (SWIG_arg_fail(6)) SWIG_fail
;
15758 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15759 if (SWIG_arg_fail(7)) SWIG_fail
;
15760 if (arg7
== NULL
) {
15761 SWIG_null_ref("wxValidator");
15763 if (SWIG_arg_fail(7)) SWIG_fail
;
15768 arg8
= wxString_in_helper(obj7
);
15769 if (arg8
== NULL
) SWIG_fail
;
15774 if (!wxPyCheckForApp()) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15804 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxToggleButton
*result
;
15807 char *kwnames
[] = {
15811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
15813 if (!wxPyCheckForApp()) SWIG_fail
;
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= (wxToggleButton
*)new wxToggleButton();
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
15827 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15828 PyObject
*resultobj
;
15829 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15830 wxWindow
*arg2
= (wxWindow
*) 0 ;
15831 int arg3
= (int) -1 ;
15832 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15833 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15834 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15835 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15836 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15837 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15838 long arg7
= (long) 0 ;
15839 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15840 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15841 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
15842 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15844 bool temp4
= false ;
15847 bool temp9
= false ;
15848 PyObject
* obj0
= 0 ;
15849 PyObject
* obj1
= 0 ;
15850 PyObject
* obj2
= 0 ;
15851 PyObject
* obj3
= 0 ;
15852 PyObject
* obj4
= 0 ;
15853 PyObject
* obj5
= 0 ;
15854 PyObject
* obj6
= 0 ;
15855 PyObject
* obj7
= 0 ;
15856 PyObject
* obj8
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail
;
15864 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15865 if (SWIG_arg_fail(2)) SWIG_fail
;
15868 arg3
= (int)(SWIG_As_int(obj2
));
15869 if (SWIG_arg_fail(3)) SWIG_fail
;
15874 arg4
= wxString_in_helper(obj3
);
15875 if (arg4
== NULL
) SWIG_fail
;
15882 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15888 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15893 arg7
= (long)(SWIG_As_long(obj6
));
15894 if (SWIG_arg_fail(7)) SWIG_fail
;
15899 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
15900 if (SWIG_arg_fail(8)) SWIG_fail
;
15901 if (arg8
== NULL
) {
15902 SWIG_null_ref("wxValidator");
15904 if (SWIG_arg_fail(8)) SWIG_fail
;
15909 arg9
= wxString_in_helper(obj8
);
15910 if (arg9
== NULL
) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15946 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
;
15948 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15950 PyObject
* obj0
= 0 ;
15951 PyObject
* obj1
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self",(char *) "value", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15958 if (SWIG_arg_fail(1)) SWIG_fail
;
15960 arg2
= (bool)(SWIG_As_bool(obj1
));
15961 if (SWIG_arg_fail(2)) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 (arg1
)->SetValue(arg2
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 Py_INCREF(Py_None
); resultobj
= Py_None
;
15977 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
15987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
15988 if (SWIG_arg_fail(1)) SWIG_fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16005 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
16008 wxString
*arg2
= 0 ;
16009 bool temp2
= false ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "label", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_EXCEPTION
| 0);
16018 if (SWIG_arg_fail(1)) SWIG_fail
;
16020 arg2
= wxString_in_helper(obj1
);
16021 if (arg2
== NULL
) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 (arg1
)->SetLabel((wxString
const &)*arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 Py_INCREF(Py_None
); resultobj
= Py_None
;
16046 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16049 wxVisualAttributes result
;
16050 PyObject
* obj0
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "variant", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16058 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16059 if (SWIG_arg_fail(1)) SWIG_fail
;
16063 if (!wxPyCheckForApp()) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 wxVisualAttributes
* resultptr
;
16072 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16081 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
16083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16084 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
16086 return Py_BuildValue((char *)"");
16088 static int _wrap_NotebookNameStr_set(PyObject
*) {
16089 PyErr_SetString(PyExc_TypeError
,"Variable NotebookNameStr is read-only.");
16094 static PyObject
*_wrap_NotebookNameStr_get(void) {
16099 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16101 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
16108 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16112 PyObject
* obj0
= 0 ;
16113 char *kwnames
[] = {
16114 (char *) "self", NULL
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
16118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16119 if (SWIG_arg_fail(1)) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
16136 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 char *kwnames
[] = {
16144 (char *) "self",(char *) "n", NULL
16147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
16148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16149 if (SWIG_arg_fail(1)) SWIG_fail
;
16151 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16152 if (SWIG_arg_fail(2)) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= wxPyMake_wxObject(result
, 0);
16170 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
16180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16181 if (SWIG_arg_fail(1)) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= wxPyMake_wxObject(result
, 0);
16198 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
16208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16209 if (SWIG_arg_fail(1)) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= SWIG_From_int((int)(result
));
16226 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16230 wxString
*arg3
= 0 ;
16232 bool temp3
= false ;
16233 PyObject
* obj0
= 0 ;
16234 PyObject
* obj1
= 0 ;
16235 PyObject
* obj2
= 0 ;
16236 char *kwnames
[] = {
16237 (char *) "self",(char *) "n",(char *) "strText", NULL
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16242 if (SWIG_arg_fail(1)) SWIG_fail
;
16244 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16245 if (SWIG_arg_fail(2)) SWIG_fail
;
16248 arg3
= wxString_in_helper(obj2
);
16249 if (arg3
== NULL
) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16276 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 PyObject
* obj1
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self",(char *) "n", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
16288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail
;
16291 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16292 if (SWIG_arg_fail(2)) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16314 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16317 wxImageList
*arg2
= (wxImageList
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 PyObject
* obj1
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self",(char *) "imageList", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail
;
16327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
16328 if (SWIG_arg_fail(2)) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 (arg1
)->SetImageList(arg2
);
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 Py_INCREF(Py_None
); resultobj
= Py_None
;
16343 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16346 wxImageList
*arg2
= (wxImageList
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self",(char *) "imageList", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
16354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16355 if (SWIG_arg_fail(1)) SWIG_fail
;
16356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
16357 if (SWIG_arg_fail(2)) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 (arg1
)->AssignImageList(arg2
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16365 Py_INCREF(Py_None
); resultobj
= Py_None
;
16372 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16375 wxImageList
*result
;
16376 PyObject
* obj0
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
16382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16383 if (SWIG_arg_fail(1)) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= wxPyMake_wxObject(result
, 0);
16400 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 PyObject
* obj1
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self",(char *) "n", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
16412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16413 if (SWIG_arg_fail(1)) SWIG_fail
;
16415 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16416 if (SWIG_arg_fail(2)) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= SWIG_From_int((int)(result
));
16434 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 PyObject
* obj2
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self",(char *) "n",(char *) "imageId", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16449 if (SWIG_arg_fail(1)) SWIG_fail
;
16451 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16452 if (SWIG_arg_fail(2)) SWIG_fail
;
16455 arg3
= (int)(SWIG_As_int(obj2
));
16456 if (SWIG_arg_fail(3)) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16474 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
;
16476 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self",(char *) "size", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 Py_INCREF(Py_None
); resultobj
= Py_None
;
16506 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16512 PyObject
* obj0
= 0 ;
16513 PyObject
* obj1
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self",(char *) "sizePage", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",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
;
16523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16533 wxSize
* resultptr
;
16534 resultptr
= new wxSize((wxSize
&)(result
));
16535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16543 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self",(char *) "n", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16556 if (SWIG_arg_fail(1)) SWIG_fail
;
16558 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16559 if (SWIG_arg_fail(2)) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (bool)(arg1
)->DeletePage(arg2
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16577 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self",(char *) "n", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
16589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16590 if (SWIG_arg_fail(1)) SWIG_fail
;
16592 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16593 if (SWIG_arg_fail(2)) SWIG_fail
;
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= (bool)(arg1
)->RemovePage(arg2
);
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16611 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (bool)(arg1
)->DeleteAllPages();
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16639 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16642 wxWindow
*arg2
= (wxWindow
*) 0 ;
16643 wxString
*arg3
= 0 ;
16644 bool arg4
= (bool) false ;
16645 int arg5
= (int) -1 ;
16647 bool temp3
= false ;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 PyObject
* obj2
= 0 ;
16651 PyObject
* obj3
= 0 ;
16652 PyObject
* obj4
= 0 ;
16653 char *kwnames
[] = {
16654 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16659 if (SWIG_arg_fail(1)) SWIG_fail
;
16660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16661 if (SWIG_arg_fail(2)) SWIG_fail
;
16663 arg3
= wxString_in_helper(obj2
);
16664 if (arg3
== NULL
) SWIG_fail
;
16669 arg4
= (bool)(SWIG_As_bool(obj3
));
16670 if (SWIG_arg_fail(4)) SWIG_fail
;
16675 arg5
= (int)(SWIG_As_int(obj4
));
16676 if (SWIG_arg_fail(5)) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16703 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16707 wxWindow
*arg3
= (wxWindow
*) 0 ;
16708 wxString
*arg4
= 0 ;
16709 bool arg5
= (bool) false ;
16710 int arg6
= (int) -1 ;
16712 bool temp4
= false ;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 PyObject
* obj2
= 0 ;
16716 PyObject
* obj3
= 0 ;
16717 PyObject
* obj4
= 0 ;
16718 PyObject
* obj5
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16725 if (SWIG_arg_fail(1)) SWIG_fail
;
16727 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16728 if (SWIG_arg_fail(2)) SWIG_fail
;
16730 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16731 if (SWIG_arg_fail(3)) SWIG_fail
;
16733 arg4
= wxString_in_helper(obj3
);
16734 if (arg4
== NULL
) SWIG_fail
;
16739 arg5
= (bool)(SWIG_As_bool(obj4
));
16740 if (SWIG_arg_fail(5)) SWIG_fail
;
16745 arg6
= (int)(SWIG_As_int(obj5
));
16746 if (SWIG_arg_fail(6)) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16773 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16778 PyObject
* obj0
= 0 ;
16779 PyObject
* obj1
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self",(char *) "n", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail
;
16788 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
16789 if (SWIG_arg_fail(2)) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (int)(arg1
)->SetSelection(arg2
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= SWIG_From_int((int)(result
));
16807 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
;
16809 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16810 bool arg2
= (bool) true ;
16811 PyObject
* obj0
= 0 ;
16812 PyObject
* obj1
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "self",(char *) "forward", NULL
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
16819 if (SWIG_arg_fail(1)) SWIG_fail
;
16822 arg2
= (bool)(SWIG_As_bool(obj1
));
16823 if (SWIG_arg_fail(2)) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 (arg1
)->AdvanceSelection(arg2
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 Py_INCREF(Py_None
); resultobj
= Py_None
;
16840 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16843 wxVisualAttributes result
;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "variant", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16852 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
16853 if (SWIG_arg_fail(1)) SWIG_fail
;
16857 if (!wxPyCheckForApp()) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 wxVisualAttributes
* resultptr
;
16866 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
16867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16875 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
16877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16878 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
16880 return Py_BuildValue((char *)"");
16882 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16885 int arg2
= (int) 0 ;
16886 int arg3
= (int) -1 ;
16887 int arg4
= (int) -1 ;
16888 wxBookCtrlBaseEvent
*result
;
16889 PyObject
* obj0
= 0 ;
16890 PyObject
* obj1
= 0 ;
16891 PyObject
* obj2
= 0 ;
16892 PyObject
* obj3
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16900 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16901 if (SWIG_arg_fail(1)) SWIG_fail
;
16906 arg2
= (int)(SWIG_As_int(obj1
));
16907 if (SWIG_arg_fail(2)) SWIG_fail
;
16912 arg3
= (int)(SWIG_As_int(obj2
));
16913 if (SWIG_arg_fail(3)) SWIG_fail
;
16918 arg4
= (int)(SWIG_As_int(obj3
));
16919 if (SWIG_arg_fail(4)) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
16936 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 char *kwnames
[] = {
16942 (char *) "self", NULL
16945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
16946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16947 if (SWIG_arg_fail(1)) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= SWIG_From_int((int)(result
));
16964 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self",(char *) "nSel", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
16975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16976 if (SWIG_arg_fail(1)) SWIG_fail
;
16978 arg2
= (int)(SWIG_As_int(obj1
));
16979 if (SWIG_arg_fail(2)) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 (arg1
)->SetSelection(arg2
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 Py_INCREF(Py_None
); resultobj
= Py_None
;
16995 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
16999 PyObject
* obj0
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
17005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= SWIG_From_int((int)(result
));
17023 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 char *kwnames
[] = {
17030 (char *) "self",(char *) "nOldSel", NULL
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
17034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17035 if (SWIG_arg_fail(1)) SWIG_fail
;
17037 arg2
= (int)(SWIG_As_int(obj1
));
17038 if (SWIG_arg_fail(2)) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 (arg1
)->SetOldSelection(arg2
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17047 Py_INCREF(Py_None
); resultobj
= Py_None
;
17054 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
17056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17057 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
17059 return Py_BuildValue((char *)"");
17061 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17062 PyObject
*resultobj
;
17063 wxWindow
*arg1
= (wxWindow
*) 0 ;
17064 int arg2
= (int) -1 ;
17065 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17066 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17067 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17068 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17069 long arg5
= (long) 0 ;
17070 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
17071 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17072 wxNotebook
*result
;
17075 bool temp6
= false ;
17076 PyObject
* obj0
= 0 ;
17077 PyObject
* obj1
= 0 ;
17078 PyObject
* obj2
= 0 ;
17079 PyObject
* obj3
= 0 ;
17080 PyObject
* obj4
= 0 ;
17081 PyObject
* obj5
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail
;
17091 arg2
= (int)(SWIG_As_int(obj1
));
17092 if (SWIG_arg_fail(2)) SWIG_fail
;
17098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17104 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17109 arg5
= (long)(SWIG_As_long(obj4
));
17110 if (SWIG_arg_fail(5)) SWIG_fail
;
17115 arg6
= wxString_in_helper(obj5
);
17116 if (arg6
== NULL
) SWIG_fail
;
17121 if (!wxPyCheckForApp()) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17143 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxNotebook
*result
;
17146 char *kwnames
[] = {
17150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
17152 if (!wxPyCheckForApp()) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (wxNotebook
*)new wxNotebook();
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
17166 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
;
17168 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17169 wxWindow
*arg2
= (wxWindow
*) 0 ;
17170 int arg3
= (int) -1 ;
17171 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17172 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17173 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17174 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17175 long arg6
= (long) 0 ;
17176 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
17177 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17181 bool temp7
= false ;
17182 PyObject
* obj0
= 0 ;
17183 PyObject
* obj1
= 0 ;
17184 PyObject
* obj2
= 0 ;
17185 PyObject
* obj3
= 0 ;
17186 PyObject
* obj4
= 0 ;
17187 PyObject
* obj5
= 0 ;
17188 PyObject
* obj6
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail
;
17196 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17197 if (SWIG_arg_fail(2)) SWIG_fail
;
17200 arg3
= (int)(SWIG_As_int(obj2
));
17201 if (SWIG_arg_fail(3)) SWIG_fail
;
17207 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17213 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17218 arg6
= (long)(SWIG_As_long(obj5
));
17219 if (SWIG_arg_fail(6)) SWIG_fail
;
17224 arg7
= wxString_in_helper(obj6
);
17225 if (arg7
== NULL
) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17253 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "self", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
17263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17264 if (SWIG_arg_fail(1)) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= SWIG_From_int((int)(result
));
17281 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "padding", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
17293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17294 if (SWIG_arg_fail(1)) SWIG_fail
;
17297 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 (arg1
)->SetPadding((wxSize
const &)*arg2
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 Py_INCREF(Py_None
); resultobj
= Py_None
;
17313 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self",(char *) "sz", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17326 if (SWIG_arg_fail(1)) SWIG_fail
;
17329 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 Py_INCREF(Py_None
); resultobj
= Py_None
;
17345 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17348 wxPoint
*arg2
= 0 ;
17349 long *arg3
= (long *) 0 ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self",(char *) "pt", NULL
17360 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
17362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail
;
17366 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_From_int((int)(result
));
17378 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17379 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17386 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 PyObject
* obj1
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self",(char *) "sizePage", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
17399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17400 if (SWIG_arg_fail(1)) SWIG_fail
;
17403 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17413 wxSize
* resultptr
;
17414 resultptr
= new wxSize((wxSize
&)(result
));
17415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17423 static PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames
,&obj0
)) goto fail
;
17433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
17434 if (SWIG_arg_fail(1)) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 wxColour
* resultptr
;
17444 resultptr
= new wxColour((wxColour
&)(result
));
17445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17453 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17456 wxVisualAttributes result
;
17457 PyObject
* obj0
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "variant", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17465 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
17466 if (SWIG_arg_fail(1)) SWIG_fail
;
17470 if (!wxPyCheckForApp()) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17478 wxVisualAttributes
* resultptr
;
17479 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
17480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17488 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
17490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17491 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
17493 return Py_BuildValue((char *)"");
17495 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17498 int arg2
= (int) 0 ;
17499 int arg3
= (int) -1 ;
17500 int arg4
= (int) -1 ;
17501 wxNotebookEvent
*result
;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 PyObject
* obj2
= 0 ;
17505 PyObject
* obj3
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17513 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17514 if (SWIG_arg_fail(1)) SWIG_fail
;
17519 arg2
= (int)(SWIG_As_int(obj1
));
17520 if (SWIG_arg_fail(2)) SWIG_fail
;
17525 arg3
= (int)(SWIG_As_int(obj2
));
17526 if (SWIG_arg_fail(3)) SWIG_fail
;
17531 arg4
= (int)(SWIG_As_int(obj3
));
17532 if (SWIG_arg_fail(4)) SWIG_fail
;
17536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
17549 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
17551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
17554 return Py_BuildValue((char *)"");
17556 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxWindow
*arg1
= (wxWindow
*) 0 ;
17559 int arg2
= (int) -1 ;
17560 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17561 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17562 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17563 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17564 long arg5
= (long) 0 ;
17565 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17566 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17567 wxListbook
*result
;
17570 bool temp6
= false ;
17571 PyObject
* obj0
= 0 ;
17572 PyObject
* obj1
= 0 ;
17573 PyObject
* obj2
= 0 ;
17574 PyObject
* obj3
= 0 ;
17575 PyObject
* obj4
= 0 ;
17576 PyObject
* obj5
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail
;
17586 arg2
= (int)(SWIG_As_int(obj1
));
17587 if (SWIG_arg_fail(2)) SWIG_fail
;
17593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17604 arg5
= (long)(SWIG_As_long(obj4
));
17605 if (SWIG_arg_fail(5)) SWIG_fail
;
17610 arg6
= wxString_in_helper(obj5
);
17611 if (arg6
== NULL
) SWIG_fail
;
17616 if (!wxPyCheckForApp()) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17638 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxListbook
*result
;
17641 char *kwnames
[] = {
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
17647 if (!wxPyCheckForApp()) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (wxListbook
*)new wxListbook();
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
17661 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxListbook
*arg1
= (wxListbook
*) 0 ;
17664 wxWindow
*arg2
= (wxWindow
*) 0 ;
17665 int arg3
= (int) -1 ;
17666 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17667 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17668 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17669 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17670 long arg6
= (long) 0 ;
17671 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17672 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17676 bool temp7
= false ;
17677 PyObject
* obj0
= 0 ;
17678 PyObject
* obj1
= 0 ;
17679 PyObject
* obj2
= 0 ;
17680 PyObject
* obj3
= 0 ;
17681 PyObject
* obj4
= 0 ;
17682 PyObject
* obj5
= 0 ;
17683 PyObject
* obj6
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail
;
17691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17692 if (SWIG_arg_fail(2)) SWIG_fail
;
17695 arg3
= (int)(SWIG_As_int(obj2
));
17696 if (SWIG_arg_fail(3)) SWIG_fail
;
17702 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17708 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17713 arg6
= (long)(SWIG_As_long(obj5
));
17714 if (SWIG_arg_fail(6)) SWIG_fail
;
17719 arg7
= wxString_in_helper(obj6
);
17720 if (arg7
== NULL
) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17748 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxListbook
*arg1
= (wxListbook
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "self", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
17758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17759 if (SWIG_arg_fail(1)) SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17776 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxListbook
*arg1
= (wxListbook
*) 0 ;
17779 wxListView
*result
;
17780 PyObject
* obj0
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "self", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
17786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListbook
, SWIG_POINTER_EXCEPTION
| 0);
17787 if (SWIG_arg_fail(1)) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (wxListView
*)(arg1
)->GetListView();
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
17802 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
17804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17805 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
17807 return Py_BuildValue((char *)"");
17809 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17812 int arg2
= (int) 0 ;
17813 int arg3
= (int) -1 ;
17814 int arg4
= (int) -1 ;
17815 wxListbookEvent
*result
;
17816 PyObject
* obj0
= 0 ;
17817 PyObject
* obj1
= 0 ;
17818 PyObject
* obj2
= 0 ;
17819 PyObject
* obj3
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17827 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17828 if (SWIG_arg_fail(1)) SWIG_fail
;
17833 arg2
= (int)(SWIG_As_int(obj1
));
17834 if (SWIG_arg_fail(2)) SWIG_fail
;
17839 arg3
= (int)(SWIG_As_int(obj2
));
17840 if (SWIG_arg_fail(3)) SWIG_fail
;
17845 arg4
= (int)(SWIG_As_int(obj3
));
17846 if (SWIG_arg_fail(4)) SWIG_fail
;
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
17863 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
17865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17866 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
17868 return Py_BuildValue((char *)"");
17870 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxWindow
*arg1
= (wxWindow
*) 0 ;
17874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17878 long arg5
= (long) 0 ;
17879 wxString
const &arg6_defvalue
= wxPyEmptyString
;
17880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17881 wxChoicebook
*result
;
17884 bool temp6
= false ;
17885 PyObject
* obj0
= 0 ;
17886 PyObject
* obj1
= 0 ;
17887 PyObject
* obj2
= 0 ;
17888 PyObject
* obj3
= 0 ;
17889 PyObject
* obj4
= 0 ;
17890 PyObject
* obj5
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail
;
17899 arg2
= (int)(SWIG_As_int(obj1
));
17900 if (SWIG_arg_fail(2)) SWIG_fail
;
17905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17911 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17916 arg5
= (long)(SWIG_As_long(obj4
));
17917 if (SWIG_arg_fail(5)) SWIG_fail
;
17922 arg6
= wxString_in_helper(obj5
);
17923 if (arg6
== NULL
) SWIG_fail
;
17928 if (!wxPyCheckForApp()) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17950 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxChoicebook
*result
;
17953 char *kwnames
[] = {
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
17959 if (!wxPyCheckForApp()) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (wxChoicebook
*)new wxChoicebook();
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
17973 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
17976 wxWindow
*arg2
= (wxWindow
*) 0 ;
17978 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17979 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17980 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17981 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17982 long arg6
= (long) 0 ;
17983 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17984 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17988 bool temp7
= false ;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 PyObject
* obj2
= 0 ;
17992 PyObject
* obj3
= 0 ;
17993 PyObject
* obj4
= 0 ;
17994 PyObject
* obj5
= 0 ;
17995 PyObject
* obj6
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18002 if (SWIG_arg_fail(1)) SWIG_fail
;
18003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18004 if (SWIG_arg_fail(2)) SWIG_fail
;
18006 arg3
= (int)(SWIG_As_int(obj2
));
18007 if (SWIG_arg_fail(3)) SWIG_fail
;
18012 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18018 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18023 arg6
= (long)(SWIG_As_long(obj5
));
18024 if (SWIG_arg_fail(6)) SWIG_fail
;
18029 arg7
= wxString_in_helper(obj6
);
18030 if (arg7
== NULL
) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18058 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
18068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18069 if (SWIG_arg_fail(1)) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18086 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
18096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_EXCEPTION
| 0);
18097 if (SWIG_arg_fail(1)) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (bool)(arg1
)->DeleteAllPages();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18114 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
18116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18117 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
18119 return Py_BuildValue((char *)"");
18121 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18124 int arg2
= (int) 0 ;
18125 int arg3
= (int) -1 ;
18126 int arg4
= (int) -1 ;
18127 wxChoicebookEvent
*result
;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 PyObject
* obj2
= 0 ;
18131 PyObject
* obj3
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18139 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18140 if (SWIG_arg_fail(1)) SWIG_fail
;
18145 arg2
= (int)(SWIG_As_int(obj1
));
18146 if (SWIG_arg_fail(2)) SWIG_fail
;
18151 arg3
= (int)(SWIG_As_int(obj2
));
18152 if (SWIG_arg_fail(3)) SWIG_fail
;
18157 arg4
= (int)(SWIG_As_int(obj3
));
18158 if (SWIG_arg_fail(4)) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
18175 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
18177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18178 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
18180 return Py_BuildValue((char *)"");
18182 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18185 wxBookCtrlSizer
*result
;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "nb", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
18192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlBase
, SWIG_POINTER_EXCEPTION
| 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
18208 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18211 PyObject
* obj0
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18218 if (SWIG_arg_fail(1)) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 (arg1
)->RecalcSizes();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 Py_INCREF(Py_None
); resultobj
= Py_None
;
18233 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18237 PyObject
* obj0
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18244 if (SWIG_arg_fail(1)) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= (arg1
)->CalcMin();
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18253 wxSize
* resultptr
;
18254 resultptr
= new wxSize((wxSize
&)(result
));
18255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18263 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
18266 wxBookCtrlBase
*result
;
18267 PyObject
* obj0
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "self", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
18273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBookCtrlSizer
, SWIG_POINTER_EXCEPTION
| 0);
18274 if (SWIG_arg_fail(1)) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
18289 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
18291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18292 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
18294 return Py_BuildValue((char *)"");
18296 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
18299 wxNotebookSizer
*result
;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "nb", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
18306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebook
, SWIG_POINTER_EXCEPTION
| 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
18322 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18325 PyObject
* obj0
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "self", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
18331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 (arg1
)->RecalcSizes();
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 Py_INCREF(Py_None
); resultobj
= Py_None
;
18347 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
18357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18358 if (SWIG_arg_fail(1)) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= (arg1
)->CalcMin();
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18367 wxSize
* resultptr
;
18368 resultptr
= new wxSize((wxSize
&)(result
));
18369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18377 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
18380 wxNotebook
*result
;
18381 PyObject
* obj0
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
18387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotebookSizer
, SWIG_POINTER_EXCEPTION
| 0);
18388 if (SWIG_arg_fail(1)) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (wxNotebook
*)(arg1
)->GetNotebook();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= wxPyMake_wxObject(result
, 0);
18405 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
18407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18408 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
18410 return Py_BuildValue((char *)"");
18412 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 char *kwnames
[] = {
18418 (char *) "self", NULL
18421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
18422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18423 if (SWIG_arg_fail(1)) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 result
= (int)(arg1
)->GetId();
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= SWIG_From_int((int)(result
));
18440 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
;
18442 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "self", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
18450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18451 if (SWIG_arg_fail(1)) SWIG_fail
;
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 result
= (wxControl
*)(arg1
)->GetControl();
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= wxPyMake_wxObject(result
, 0);
18468 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18471 wxToolBarBase
*result
;
18472 PyObject
* obj0
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
18478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18479 if (SWIG_arg_fail(1)) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= wxPyMake_wxObject(result
, 0);
18496 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18500 PyObject
* obj0
= 0 ;
18501 char *kwnames
[] = {
18502 (char *) "self", NULL
18505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
18506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18507 if (SWIG_arg_fail(1)) SWIG_fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 result
= (int)(arg1
)->IsButton();
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_From_int((int)(result
));
18524 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
18534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (int)(arg1
)->IsControl();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_From_int((int)(result
));
18552 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18556 PyObject
* obj0
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
18562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18563 if (SWIG_arg_fail(1)) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (int)(arg1
)->IsSeparator();
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= SWIG_From_int((int)(result
));
18580 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
18590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18591 if (SWIG_arg_fail(1)) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (int)(arg1
)->GetStyle();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= SWIG_From_int((int)(result
));
18608 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 char *kwnames
[] = {
18614 (char *) "self", NULL
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
18618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18619 if (SWIG_arg_fail(1)) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (wxItemKind
)(arg1
)->GetKind();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_From_int((result
));
18634 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
18644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 result
= (bool)(arg1
)->IsEnabled();
18650 wxPyEndAllowThreads(__tstate
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18662 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18666 PyObject
* obj0
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
18672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (bool)(arg1
)->IsToggled();
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18690 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
18700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18701 if (SWIG_arg_fail(1)) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= (bool)(arg1
)->CanBeToggled();
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18718 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
;
18720 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
18728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18729 if (SWIG_arg_fail(1)) SWIG_fail
;
18731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
18734 result
= (wxBitmap
*) &_result_ref
;
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18741 wxBitmap
* resultptr
= new wxBitmap(*result
);
18742 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18750 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
18760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
18766 result
= (wxBitmap
*) &_result_ref
;
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18773 wxBitmap
* resultptr
= new wxBitmap(*result
);
18774 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18782 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
;
18784 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18786 PyObject
* obj0
= 0 ;
18787 char *kwnames
[] = {
18788 (char *) "self", NULL
18791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
18792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18793 if (SWIG_arg_fail(1)) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (arg1
)->GetBitmap();
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18802 wxBitmap
* resultptr
;
18803 resultptr
= new wxBitmap((wxBitmap
&)(result
));
18804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
18812 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
18822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18823 if (SWIG_arg_fail(1)) SWIG_fail
;
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= (arg1
)->GetLabel();
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18844 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18848 PyObject
* obj0
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
18854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18855 if (SWIG_arg_fail(1)) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= (arg1
)->GetShortHelp();
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18876 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18880 PyObject
* obj0
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
18886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18887 if (SWIG_arg_fail(1)) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 result
= (arg1
)->GetLongHelp();
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18908 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self",(char *) "enable", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18921 if (SWIG_arg_fail(1)) SWIG_fail
;
18923 arg2
= (bool)(SWIG_As_bool(obj1
));
18924 if (SWIG_arg_fail(2)) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 result
= (bool)(arg1
)->Enable(arg2
);
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18942 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
18951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18952 if (SWIG_arg_fail(1)) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 Py_INCREF(Py_None
); resultobj
= Py_None
;
18967 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 char *kwnames
[] = {
18975 (char *) "self",(char *) "toggle", NULL
18978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
18979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
18980 if (SWIG_arg_fail(1)) SWIG_fail
;
18982 arg2
= (bool)(SWIG_As_bool(obj1
));
18983 if (SWIG_arg_fail(2)) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 result
= (bool)(arg1
)->SetToggle(arg2
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19001 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(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_SetShortHelp",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
)->SetShortHelp((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_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19048 wxString
*arg2
= 0 ;
19050 bool temp2
= false ;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "help", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19059 if (SWIG_arg_fail(1)) SWIG_fail
;
19061 arg2
= wxString_in_helper(obj1
);
19062 if (arg2
== NULL
) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19089 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
;
19091 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19092 wxBitmap
*arg2
= 0 ;
19093 PyObject
* obj0
= 0 ;
19094 PyObject
* obj1
= 0 ;
19095 char *kwnames
[] = {
19096 (char *) "self",(char *) "bmp", NULL
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19101 if (SWIG_arg_fail(1)) SWIG_fail
;
19103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19104 if (SWIG_arg_fail(2)) SWIG_fail
;
19105 if (arg2
== NULL
) {
19106 SWIG_null_ref("wxBitmap");
19108 if (SWIG_arg_fail(2)) SWIG_fail
;
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
19114 wxPyEndAllowThreads(__tstate
);
19115 if (PyErr_Occurred()) SWIG_fail
;
19117 Py_INCREF(Py_None
); resultobj
= Py_None
;
19124 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19127 wxBitmap
*arg2
= 0 ;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self",(char *) "bmp", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
19135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19136 if (SWIG_arg_fail(1)) SWIG_fail
;
19138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19139 if (SWIG_arg_fail(2)) SWIG_fail
;
19140 if (arg2
== NULL
) {
19141 SWIG_null_ref("wxBitmap");
19143 if (SWIG_arg_fail(2)) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 Py_INCREF(Py_None
); resultobj
= Py_None
;
19159 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19162 wxString
*arg2
= 0 ;
19163 bool temp2
= false ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self",(char *) "label", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19172 if (SWIG_arg_fail(1)) SWIG_fail
;
19174 arg2
= wxString_in_helper(obj1
);
19175 if (arg2
== NULL
) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->SetLabel((wxString
const &)*arg2
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 Py_INCREF(Py_None
); resultobj
= Py_None
;
19200 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19202 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
19209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19210 if (SWIG_arg_fail(1)) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 Py_INCREF(Py_None
); resultobj
= Py_None
;
19225 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19228 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "tbar", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19237 if (SWIG_arg_fail(1)) SWIG_fail
;
19238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19239 if (SWIG_arg_fail(2)) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 (arg1
)->Attach(arg2
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
19264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19265 if (SWIG_arg_fail(1)) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= result
;
19280 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
19283 PyObject
*arg2
= (PyObject
*) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "self",(char *) "clientData", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
19291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19292 if (SWIG_arg_fail(1)) SWIG_fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 wxToolBarToolBase_SetClientData(arg1
,arg2
);
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 Py_INCREF(Py_None
); resultobj
= Py_None
;
19308 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
19310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19311 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
19313 return Py_BuildValue((char *)"");
19315 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19319 wxString
*arg3
= 0 ;
19320 wxBitmap
*arg4
= 0 ;
19321 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
19322 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
19323 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
19324 wxString
const &arg7_defvalue
= wxPyEmptyString
;
19325 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19326 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19327 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19328 PyObject
*arg9
= (PyObject
*) NULL
;
19329 wxToolBarToolBase
*result
;
19330 bool temp3
= false ;
19331 bool temp7
= false ;
19332 bool temp8
= false ;
19333 PyObject
* obj0
= 0 ;
19334 PyObject
* obj1
= 0 ;
19335 PyObject
* obj2
= 0 ;
19336 PyObject
* obj3
= 0 ;
19337 PyObject
* obj4
= 0 ;
19338 PyObject
* obj5
= 0 ;
19339 PyObject
* obj6
= 0 ;
19340 PyObject
* obj7
= 0 ;
19341 PyObject
* obj8
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
19347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19348 if (SWIG_arg_fail(1)) SWIG_fail
;
19350 arg2
= (int)(SWIG_As_int(obj1
));
19351 if (SWIG_arg_fail(2)) SWIG_fail
;
19354 arg3
= wxString_in_helper(obj2
);
19355 if (arg3
== NULL
) SWIG_fail
;
19359 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19360 if (SWIG_arg_fail(4)) SWIG_fail
;
19361 if (arg4
== NULL
) {
19362 SWIG_null_ref("wxBitmap");
19364 if (SWIG_arg_fail(4)) SWIG_fail
;
19368 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19369 if (SWIG_arg_fail(5)) SWIG_fail
;
19370 if (arg5
== NULL
) {
19371 SWIG_null_ref("wxBitmap");
19373 if (SWIG_arg_fail(5)) SWIG_fail
;
19378 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
19379 if (SWIG_arg_fail(6)) SWIG_fail
;
19384 arg7
= wxString_in_helper(obj6
);
19385 if (arg7
== NULL
) SWIG_fail
;
19391 arg8
= wxString_in_helper(obj7
);
19392 if (arg8
== NULL
) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= wxPyMake_wxObject(result
, 0);
19439 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
;
19441 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19444 wxString
*arg4
= 0 ;
19445 wxBitmap
*arg5
= 0 ;
19446 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
19447 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
19448 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
19449 wxString
const &arg8_defvalue
= wxPyEmptyString
;
19450 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19451 wxString
const &arg9_defvalue
= wxPyEmptyString
;
19452 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19453 PyObject
*arg10
= (PyObject
*) NULL
;
19454 wxToolBarToolBase
*result
;
19455 bool temp4
= false ;
19456 bool temp8
= false ;
19457 bool temp9
= false ;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 PyObject
* obj2
= 0 ;
19461 PyObject
* obj3
= 0 ;
19462 PyObject
* obj4
= 0 ;
19463 PyObject
* obj5
= 0 ;
19464 PyObject
* obj6
= 0 ;
19465 PyObject
* obj7
= 0 ;
19466 PyObject
* obj8
= 0 ;
19467 PyObject
* obj9
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
19473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19474 if (SWIG_arg_fail(1)) SWIG_fail
;
19476 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19477 if (SWIG_arg_fail(2)) SWIG_fail
;
19480 arg3
= (int)(SWIG_As_int(obj2
));
19481 if (SWIG_arg_fail(3)) SWIG_fail
;
19484 arg4
= wxString_in_helper(obj3
);
19485 if (arg4
== NULL
) SWIG_fail
;
19489 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19490 if (SWIG_arg_fail(5)) SWIG_fail
;
19491 if (arg5
== NULL
) {
19492 SWIG_null_ref("wxBitmap");
19494 if (SWIG_arg_fail(5)) SWIG_fail
;
19498 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
19499 if (SWIG_arg_fail(6)) SWIG_fail
;
19500 if (arg6
== NULL
) {
19501 SWIG_null_ref("wxBitmap");
19503 if (SWIG_arg_fail(6)) SWIG_fail
;
19508 arg7
= (wxItemKind
)(SWIG_As_int(obj6
));
19509 if (SWIG_arg_fail(7)) SWIG_fail
;
19514 arg8
= wxString_in_helper(obj7
);
19515 if (arg8
== NULL
) SWIG_fail
;
19521 arg9
= wxString_in_helper(obj8
);
19522 if (arg9
== NULL
) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 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
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= wxPyMake_wxObject(result
, 0);
19569 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19572 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
19573 wxToolBarToolBase
*result
;
19574 PyObject
* obj0
= 0 ;
19575 PyObject
* obj1
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self",(char *) "tool", NULL
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19582 if (SWIG_arg_fail(1)) SWIG_fail
;
19583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19584 if (SWIG_arg_fail(2)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= wxPyMake_wxObject(result
, 0);
19601 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
;
19603 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19605 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
19606 wxToolBarToolBase
*result
;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 PyObject
* obj2
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "self",(char *) "pos",(char *) "tool", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19616 if (SWIG_arg_fail(1)) SWIG_fail
;
19618 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19619 if (SWIG_arg_fail(2)) SWIG_fail
;
19621 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxToolBarToolBase
, SWIG_POINTER_EXCEPTION
| 0);
19622 if (SWIG_arg_fail(3)) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= wxPyMake_wxObject(result
, 0);
19639 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19642 wxControl
*arg2
= (wxControl
*) 0 ;
19643 wxToolBarToolBase
*result
;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self",(char *) "control", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19652 if (SWIG_arg_fail(1)) SWIG_fail
;
19653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19654 if (SWIG_arg_fail(2)) SWIG_fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19663 resultobj
= wxPyMake_wxObject(result
, 0);
19671 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19675 wxControl
*arg3
= (wxControl
*) 0 ;
19676 wxToolBarToolBase
*result
;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 PyObject
* obj2
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self",(char *) "pos",(char *) "control", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail
;
19688 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19689 if (SWIG_arg_fail(2)) SWIG_fail
;
19691 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
19692 if (SWIG_arg_fail(3)) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= wxPyMake_wxObject(result
, 0);
19709 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self",(char *) "id", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
19721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail
;
19724 arg2
= (int)(SWIG_As_int(obj1
));
19725 if (SWIG_arg_fail(2)) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= wxPyMake_wxObject(result
, 0);
19743 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19746 wxToolBarToolBase
*result
;
19747 PyObject
* obj0
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
19753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19754 if (SWIG_arg_fail(1)) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= wxPyMake_wxObject(result
, 0);
19771 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19775 wxToolBarToolBase
*result
;
19776 PyObject
* obj0
= 0 ;
19777 PyObject
* obj1
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self",(char *) "pos", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
19783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19784 if (SWIG_arg_fail(1)) SWIG_fail
;
19786 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19787 if (SWIG_arg_fail(2)) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= wxPyMake_wxObject(result
, 0);
19805 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19809 wxToolBarToolBase
*result
;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self",(char *) "id", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19818 if (SWIG_arg_fail(1)) SWIG_fail
;
19820 arg2
= (int)(SWIG_As_int(obj1
));
19821 if (SWIG_arg_fail(2)) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= wxPyMake_wxObject(result
, 0);
19839 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
;
19841 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19844 PyObject
* obj0
= 0 ;
19845 PyObject
* obj1
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self",(char *) "pos", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
19851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19852 if (SWIG_arg_fail(1)) SWIG_fail
;
19854 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
19855 if (SWIG_arg_fail(2)) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19873 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 PyObject
* obj1
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self",(char *) "id", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
19885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19886 if (SWIG_arg_fail(1)) SWIG_fail
;
19888 arg2
= (int)(SWIG_As_int(obj1
));
19889 if (SWIG_arg_fail(2)) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 result
= (bool)(arg1
)->DeleteTool(arg2
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19907 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
19916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19917 if (SWIG_arg_fail(1)) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 (arg1
)->ClearTools();
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 Py_INCREF(Py_None
); resultobj
= Py_None
;
19932 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19936 PyObject
* obj0
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
19942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19943 if (SWIG_arg_fail(1)) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (bool)(arg1
)->Realize();
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19960 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 PyObject
* obj2
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self",(char *) "id",(char *) "enable", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
19974 if (SWIG_arg_fail(1)) SWIG_fail
;
19976 arg2
= (int)(SWIG_As_int(obj1
));
19977 if (SWIG_arg_fail(2)) SWIG_fail
;
19980 arg3
= (bool)(SWIG_As_bool(obj2
));
19981 if (SWIG_arg_fail(3)) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 (arg1
)->EnableTool(arg2
,arg3
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 Py_INCREF(Py_None
); resultobj
= Py_None
;
19997 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 PyObject
* obj2
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self",(char *) "id",(char *) "toggle", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20011 if (SWIG_arg_fail(1)) SWIG_fail
;
20013 arg2
= (int)(SWIG_As_int(obj1
));
20014 if (SWIG_arg_fail(2)) SWIG_fail
;
20017 arg3
= (bool)(SWIG_As_bool(obj2
));
20018 if (SWIG_arg_fail(3)) SWIG_fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 (arg1
)->ToggleTool(arg2
,arg3
);
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 Py_INCREF(Py_None
); resultobj
= Py_None
;
20034 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 PyObject
* obj1
= 0 ;
20041 PyObject
* obj2
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self",(char *) "id",(char *) "toggle", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20048 if (SWIG_arg_fail(1)) SWIG_fail
;
20050 arg2
= (int)(SWIG_As_int(obj1
));
20051 if (SWIG_arg_fail(2)) SWIG_fail
;
20054 arg3
= (bool)(SWIG_As_bool(obj2
));
20055 if (SWIG_arg_fail(3)) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 (arg1
)->SetToggle(arg2
,arg3
);
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 Py_INCREF(Py_None
); resultobj
= Py_None
;
20071 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self",(char *) "id", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
20083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20084 if (SWIG_arg_fail(1)) SWIG_fail
;
20086 arg2
= (int)(SWIG_As_int(obj1
));
20087 if (SWIG_arg_fail(2)) SWIG_fail
;
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= result
;
20103 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20107 PyObject
*arg3
= (PyObject
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 PyObject
* obj2
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self",(char *) "id",(char *) "clientData", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20117 if (SWIG_arg_fail(1)) SWIG_fail
;
20119 arg2
= (int)(SWIG_As_int(obj1
));
20120 if (SWIG_arg_fail(2)) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self",(char *) "id", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
20149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail
;
20152 arg2
= (int)(SWIG_As_int(obj1
));
20153 if (SWIG_arg_fail(2)) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_From_int((int)(result
));
20171 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self",(char *) "id", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
20183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20184 if (SWIG_arg_fail(1)) SWIG_fail
;
20186 arg2
= (int)(SWIG_As_int(obj1
));
20187 if (SWIG_arg_fail(2)) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= (bool)(arg1
)->GetToolState(arg2
);
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20205 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "id", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail
;
20220 arg2
= (int)(SWIG_As_int(obj1
));
20221 if (SWIG_arg_fail(2)) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20239 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20243 wxString
*arg3
= 0 ;
20244 bool temp3
= false ;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20247 PyObject
* obj2
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self",(char *) "id",(char *) "helpString", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail
;
20256 arg2
= (int)(SWIG_As_int(obj1
));
20257 if (SWIG_arg_fail(2)) SWIG_fail
;
20260 arg3
= wxString_in_helper(obj2
);
20261 if (arg3
== NULL
) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 Py_INCREF(Py_None
); resultobj
= Py_None
;
20286 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
;
20288 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 PyObject
* obj1
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self",(char *) "id", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20299 if (SWIG_arg_fail(1)) SWIG_fail
;
20301 arg2
= (int)(SWIG_As_int(obj1
));
20302 if (SWIG_arg_fail(2)) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 result
= (arg1
)->GetToolShortHelp(arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20324 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20328 wxString
*arg3
= 0 ;
20329 bool temp3
= false ;
20330 PyObject
* obj0
= 0 ;
20331 PyObject
* obj1
= 0 ;
20332 PyObject
* obj2
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "self",(char *) "id",(char *) "helpString", NULL
20337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20339 if (SWIG_arg_fail(1)) SWIG_fail
;
20341 arg2
= (int)(SWIG_As_int(obj1
));
20342 if (SWIG_arg_fail(2)) SWIG_fail
;
20345 arg3
= wxString_in_helper(obj2
);
20346 if (arg3
== NULL
) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 Py_INCREF(Py_None
); resultobj
= Py_None
;
20371 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 PyObject
* obj1
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self",(char *) "id", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
20383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20384 if (SWIG_arg_fail(1)) SWIG_fail
;
20386 arg2
= (int)(SWIG_As_int(obj1
));
20387 if (SWIG_arg_fail(2)) SWIG_fail
;
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (arg1
)->GetToolLongHelp(arg2
);
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20409 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 PyObject
* obj2
= 0 ;
20417 char *kwnames
[] = {
20418 (char *) "self",(char *) "x",(char *) "y", NULL
20421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20423 if (SWIG_arg_fail(1)) SWIG_fail
;
20425 arg2
= (int)(SWIG_As_int(obj1
));
20426 if (SWIG_arg_fail(2)) SWIG_fail
;
20429 arg3
= (int)(SWIG_As_int(obj2
));
20430 if (SWIG_arg_fail(3)) SWIG_fail
;
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 (arg1
)->SetMargins(arg2
,arg3
);
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 Py_INCREF(Py_None
); resultobj
= Py_None
;
20446 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20453 char *kwnames
[] = {
20454 (char *) "self",(char *) "size", NULL
20457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20459 if (SWIG_arg_fail(1)) SWIG_fail
;
20462 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 (arg1
)->SetMargins((wxSize
const &)*arg2
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 Py_INCREF(Py_None
); resultobj
= Py_None
;
20478 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20482 PyObject
* obj0
= 0 ;
20483 PyObject
* obj1
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self",(char *) "packing", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
20489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail
;
20492 arg2
= (int)(SWIG_As_int(obj1
));
20493 if (SWIG_arg_fail(2)) SWIG_fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 (arg1
)->SetToolPacking(arg2
);
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 Py_INCREF(Py_None
); resultobj
= Py_None
;
20509 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
;
20511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20513 PyObject
* obj0
= 0 ;
20514 PyObject
* obj1
= 0 ;
20515 char *kwnames
[] = {
20516 (char *) "self",(char *) "separation", NULL
20519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
20520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20521 if (SWIG_arg_fail(1)) SWIG_fail
;
20523 arg2
= (int)(SWIG_As_int(obj1
));
20524 if (SWIG_arg_fail(2)) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 (arg1
)->SetToolSeparation(arg2
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 Py_INCREF(Py_None
); resultobj
= Py_None
;
20540 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20542 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20544 PyObject
* obj0
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
20550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail
;
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= (arg1
)->GetToolMargins();
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20560 wxSize
* resultptr
;
20561 resultptr
= new wxSize((wxSize
&)(result
));
20562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20570 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
;
20572 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20574 PyObject
* obj0
= 0 ;
20575 char *kwnames
[] = {
20576 (char *) "self", NULL
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
20580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20581 if (SWIG_arg_fail(1)) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= (arg1
)->GetMargins();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20590 wxSize
* resultptr
;
20591 resultptr
= new wxSize((wxSize
&)(result
));
20592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20600 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20604 PyObject
* obj0
= 0 ;
20605 char *kwnames
[] = {
20606 (char *) "self", NULL
20609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
20610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20611 if (SWIG_arg_fail(1)) SWIG_fail
;
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 result
= (int)(arg1
)->GetToolPacking();
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= SWIG_From_int((int)(result
));
20628 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
20638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20639 if (SWIG_arg_fail(1)) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (int)(arg1
)->GetToolSeparation();
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_From_int((int)(result
));
20656 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 char *kwnames
[] = {
20663 (char *) "self",(char *) "nRows", NULL
20666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
20667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20668 if (SWIG_arg_fail(1)) SWIG_fail
;
20670 arg2
= (int)(SWIG_As_int(obj1
));
20671 if (SWIG_arg_fail(2)) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 (arg1
)->SetRows(arg2
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 Py_INCREF(Py_None
); resultobj
= Py_None
;
20687 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20694 PyObject
* obj2
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self",(char *) "rows",(char *) "cols", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail
;
20703 arg2
= (int)(SWIG_As_int(obj1
));
20704 if (SWIG_arg_fail(2)) SWIG_fail
;
20707 arg3
= (int)(SWIG_As_int(obj2
));
20708 if (SWIG_arg_fail(3)) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 Py_INCREF(Py_None
); resultobj
= Py_None
;
20724 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20728 PyObject
* obj0
= 0 ;
20729 char *kwnames
[] = {
20730 (char *) "self", NULL
20733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
20734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20735 if (SWIG_arg_fail(1)) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 result
= (int)(arg1
)->GetMaxRows();
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= SWIG_From_int((int)(result
));
20752 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20754 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20756 PyObject
* obj0
= 0 ;
20757 char *kwnames
[] = {
20758 (char *) "self", NULL
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
20762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20763 if (SWIG_arg_fail(1)) SWIG_fail
;
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= (int)(arg1
)->GetMaxCols();
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= SWIG_From_int((int)(result
));
20780 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20785 PyObject
* obj0
= 0 ;
20786 PyObject
* obj1
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self",(char *) "size", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail
;
20796 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 Py_INCREF(Py_None
); resultobj
= Py_None
;
20812 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
;
20814 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20816 PyObject
* obj0
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
20822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20823 if (SWIG_arg_fail(1)) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (arg1
)->GetToolBitmapSize();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20832 wxSize
* resultptr
;
20833 resultptr
= new wxSize((wxSize
&)(result
));
20834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20842 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20844 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "self", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
20852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20853 if (SWIG_arg_fail(1)) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= (arg1
)->GetToolSize();
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20862 wxSize
* resultptr
;
20863 resultptr
= new wxSize((wxSize
&)(result
));
20864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20872 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20877 wxToolBarToolBase
*result
;
20878 PyObject
* obj0
= 0 ;
20879 PyObject
* obj1
= 0 ;
20880 PyObject
* obj2
= 0 ;
20881 char *kwnames
[] = {
20882 (char *) "self",(char *) "x",(char *) "y", NULL
20885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20887 if (SWIG_arg_fail(1)) SWIG_fail
;
20889 arg2
= (int)(SWIG_As_int(obj1
));
20890 if (SWIG_arg_fail(2)) SWIG_fail
;
20893 arg3
= (int)(SWIG_As_int(obj2
));
20894 if (SWIG_arg_fail(3)) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= wxPyMake_wxObject(result
, 0);
20912 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20913 PyObject
*resultobj
;
20914 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20916 wxToolBarToolBase
*result
;
20917 PyObject
* obj0
= 0 ;
20918 PyObject
* obj1
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self",(char *) "toolid", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
20924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20925 if (SWIG_arg_fail(1)) SWIG_fail
;
20927 arg2
= (int)(SWIG_As_int(obj1
));
20928 if (SWIG_arg_fail(2)) SWIG_fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= wxPyMake_wxObject(result
, 0);
20946 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
20956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBarBase
, SWIG_POINTER_EXCEPTION
| 0);
20957 if (SWIG_arg_fail(1)) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (bool)(arg1
)->IsVertical();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20974 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
20976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20977 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
20979 return Py_BuildValue((char *)"");
20981 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxWindow
*arg1
= (wxWindow
*) 0 ;
20984 int arg2
= (int) -1 ;
20985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20987 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20988 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20989 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
20990 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
20991 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20995 bool temp6
= false ;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 PyObject
* obj2
= 0 ;
20999 PyObject
* obj3
= 0 ;
21000 PyObject
* obj4
= 0 ;
21001 PyObject
* obj5
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21008 if (SWIG_arg_fail(1)) SWIG_fail
;
21011 arg2
= (int)(SWIG_As_int(obj1
));
21012 if (SWIG_arg_fail(2)) SWIG_fail
;
21018 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21024 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21029 arg5
= (long)(SWIG_As_long(obj4
));
21030 if (SWIG_arg_fail(5)) SWIG_fail
;
21035 arg6
= wxString_in_helper(obj5
);
21036 if (arg6
== NULL
) SWIG_fail
;
21041 if (!wxPyCheckForApp()) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21063 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21066 char *kwnames
[] = {
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
21072 if (!wxPyCheckForApp()) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 result
= (wxToolBar
*)new wxToolBar();
21076 wxPyEndAllowThreads(__tstate
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
21086 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21087 PyObject
*resultobj
;
21088 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21089 wxWindow
*arg2
= (wxWindow
*) 0 ;
21090 int arg3
= (int) -1 ;
21091 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21092 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21093 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21094 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21095 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
21096 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
21097 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21101 bool temp7
= false ;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 PyObject
* obj2
= 0 ;
21105 PyObject
* obj3
= 0 ;
21106 PyObject
* obj4
= 0 ;
21107 PyObject
* obj5
= 0 ;
21108 PyObject
* obj6
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21115 if (SWIG_arg_fail(1)) SWIG_fail
;
21116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21117 if (SWIG_arg_fail(2)) SWIG_fail
;
21120 arg3
= (int)(SWIG_As_int(obj2
));
21121 if (SWIG_arg_fail(3)) SWIG_fail
;
21127 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21133 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21138 arg6
= (long)(SWIG_As_long(obj5
));
21139 if (SWIG_arg_fail(6)) SWIG_fail
;
21144 arg7
= wxString_in_helper(obj6
);
21145 if (arg7
== NULL
) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21173 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
;
21175 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
21178 wxToolBarToolBase
*result
;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 PyObject
* obj2
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self",(char *) "x",(char *) "y", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
21188 if (SWIG_arg_fail(1)) SWIG_fail
;
21190 arg2
= (int)(SWIG_As_int(obj1
));
21191 if (SWIG_arg_fail(2)) SWIG_fail
;
21194 arg3
= (int)(SWIG_As_int(obj2
));
21195 if (SWIG_arg_fail(3)) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= wxPyMake_wxObject(result
, 0);
21213 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21215 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21216 wxVisualAttributes result
;
21217 PyObject
* obj0
= 0 ;
21218 char *kwnames
[] = {
21219 (char *) "variant", NULL
21222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
21225 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
21226 if (SWIG_arg_fail(1)) SWIG_fail
;
21230 if (!wxPyCheckForApp()) SWIG_fail
;
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21238 wxVisualAttributes
* resultptr
;
21239 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
21240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
21248 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
21250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21251 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
21253 return Py_BuildValue((char *)"");
21255 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
21256 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
21261 static PyObject
*_wrap_ListCtrlNameStr_get(void) {
21266 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21268 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
21275 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
;
21277 wxColour
const &arg1_defvalue
= wxNullColour
;
21278 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
21279 wxColour
const &arg2_defvalue
= wxNullColour
;
21280 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
21281 wxFont
const &arg3_defvalue
= wxNullFont
;
21282 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
21283 wxListItemAttr
*result
;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 PyObject
* obj2
= 0 ;
21289 char *kwnames
[] = {
21290 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21297 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
21303 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21308 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21309 if (SWIG_arg_fail(3)) SWIG_fail
;
21310 if (arg3
== NULL
) {
21311 SWIG_null_ref("wxFont");
21313 if (SWIG_arg_fail(3)) SWIG_fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
21330 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21332 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21333 wxColour
*arg2
= 0 ;
21335 PyObject
* obj0
= 0 ;
21336 PyObject
* obj1
= 0 ;
21337 char *kwnames
[] = {
21338 (char *) "self",(char *) "colText", NULL
21341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21343 if (SWIG_arg_fail(1)) SWIG_fail
;
21346 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 Py_INCREF(Py_None
); resultobj
= Py_None
;
21362 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
;
21364 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21365 wxColour
*arg2
= 0 ;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self",(char *) "colBack", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21375 if (SWIG_arg_fail(1)) SWIG_fail
;
21378 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 Py_INCREF(Py_None
); resultobj
= Py_None
;
21394 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21396 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 char *kwnames
[] = {
21401 (char *) "self",(char *) "font", NULL
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail
;
21408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
21409 if (SWIG_arg_fail(2)) SWIG_fail
;
21410 if (arg2
== NULL
) {
21411 SWIG_null_ref("wxFont");
21413 if (SWIG_arg_fail(2)) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 (arg1
)->SetFont((wxFont
const &)*arg2
);
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
21439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21440 if (SWIG_arg_fail(1)) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 result
= (bool)(arg1
)->HasTextColour();
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21457 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21461 PyObject
* obj0
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
21467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21468 if (SWIG_arg_fail(1)) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= (bool)(arg1
)->HasBackgroundColour();
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21485 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
21495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21496 if (SWIG_arg_fail(1)) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (bool)(arg1
)->HasFont();
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21513 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21517 PyObject
* obj0
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "self", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
21523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21524 if (SWIG_arg_fail(1)) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (arg1
)->GetTextColour();
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 wxColour
* resultptr
;
21534 resultptr
= new wxColour((wxColour
&)(result
));
21535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21543 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
21553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (arg1
)->GetBackgroundColour();
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21563 wxColour
* resultptr
;
21564 resultptr
= new wxColour((wxColour
&)(result
));
21565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21573 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
21583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21584 if (SWIG_arg_fail(1)) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= (arg1
)->GetFont();
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21593 wxFont
* resultptr
;
21594 resultptr
= new wxFont((wxFont
&)(result
));
21595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21603 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
21606 PyObject
* obj0
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
21612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_EXCEPTION
| 0);
21613 if (SWIG_arg_fail(1)) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 wxListItemAttr_Destroy(arg1
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 Py_INCREF(Py_None
); resultobj
= Py_None
;
21628 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
21630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21631 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
21633 return Py_BuildValue((char *)"");
21635 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxListItem
*result
;
21638 char *kwnames
[] = {
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= (wxListItem
*)new wxListItem();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= wxPyMake_wxObject(result
, 1);
21659 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
;
21661 wxListItem
*arg1
= (wxListItem
*) 0 ;
21662 PyObject
* obj0
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
21668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21669 if (SWIG_arg_fail(1)) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21677 Py_INCREF(Py_None
); resultobj
= Py_None
;
21684 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxListItem
*arg1
= (wxListItem
*) 0 ;
21687 PyObject
* obj0
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
21693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 Py_INCREF(Py_None
); resultobj
= Py_None
;
21709 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxListItem
*arg1
= (wxListItem
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
21718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 (arg1
)->ClearAttributes();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 Py_INCREF(Py_None
); resultobj
= Py_None
;
21734 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxListItem
*arg1
= (wxListItem
*) 0 ;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 char *kwnames
[] = {
21741 (char *) "self",(char *) "mask", NULL
21744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail
;
21748 arg2
= (long)(SWIG_As_long(obj1
));
21749 if (SWIG_arg_fail(2)) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 (arg1
)->SetMask(arg2
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 Py_INCREF(Py_None
); resultobj
= Py_None
;
21765 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxListItem
*arg1
= (wxListItem
*) 0 ;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self",(char *) "id", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21777 if (SWIG_arg_fail(1)) SWIG_fail
;
21779 arg2
= (long)(SWIG_As_long(obj1
));
21780 if (SWIG_arg_fail(2)) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 (arg1
)->SetId(arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 Py_INCREF(Py_None
); resultobj
= Py_None
;
21796 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxListItem
*arg1
= (wxListItem
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "col", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail
;
21810 arg2
= (int)(SWIG_As_int(obj1
));
21811 if (SWIG_arg_fail(2)) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 (arg1
)->SetColumn(arg2
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 Py_INCREF(Py_None
); resultobj
= Py_None
;
21827 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21829 wxListItem
*arg1
= (wxListItem
*) 0 ;
21831 PyObject
* obj0
= 0 ;
21832 PyObject
* obj1
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self",(char *) "state", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
21838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21839 if (SWIG_arg_fail(1)) SWIG_fail
;
21841 arg2
= (long)(SWIG_As_long(obj1
));
21842 if (SWIG_arg_fail(2)) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->SetState(arg2
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21858 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21860 wxListItem
*arg1
= (wxListItem
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 char *kwnames
[] = {
21865 (char *) "self",(char *) "stateMask", NULL
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
21869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail
;
21872 arg2
= (long)(SWIG_As_long(obj1
));
21873 if (SWIG_arg_fail(2)) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 (arg1
)->SetStateMask(arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 Py_INCREF(Py_None
); resultobj
= Py_None
;
21889 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxListItem
*arg1
= (wxListItem
*) 0 ;
21892 wxString
*arg2
= 0 ;
21893 bool temp2
= false ;
21894 PyObject
* obj0
= 0 ;
21895 PyObject
* obj1
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "self",(char *) "text", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21902 if (SWIG_arg_fail(1)) SWIG_fail
;
21904 arg2
= wxString_in_helper(obj1
);
21905 if (arg2
== NULL
) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 (arg1
)->SetText((wxString
const &)*arg2
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 Py_INCREF(Py_None
); resultobj
= Py_None
;
21930 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxListItem
*arg1
= (wxListItem
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 char *kwnames
[] = {
21937 (char *) "self",(char *) "image", NULL
21940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
21941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21942 if (SWIG_arg_fail(1)) SWIG_fail
;
21944 arg2
= (int)(SWIG_As_int(obj1
));
21945 if (SWIG_arg_fail(2)) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 (arg1
)->SetImage(arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 Py_INCREF(Py_None
); resultobj
= Py_None
;
21961 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxListItem
*arg1
= (wxListItem
*) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 PyObject
* obj1
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self",(char *) "data", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
21972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
21973 if (SWIG_arg_fail(1)) SWIG_fail
;
21975 arg2
= (long)(SWIG_As_long(obj1
));
21976 if (SWIG_arg_fail(2)) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 (arg1
)->SetData(arg2
);
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 Py_INCREF(Py_None
); resultobj
= Py_None
;
21992 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxListItem
*arg1
= (wxListItem
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self",(char *) "width", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22004 if (SWIG_arg_fail(1)) SWIG_fail
;
22006 arg2
= (int)(SWIG_As_int(obj1
));
22007 if (SWIG_arg_fail(2)) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 (arg1
)->SetWidth(arg2
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 Py_INCREF(Py_None
); resultobj
= Py_None
;
22023 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxListItem
*arg1
= (wxListItem
*) 0 ;
22026 wxListColumnFormat arg2
;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self",(char *) "align", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
22034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22035 if (SWIG_arg_fail(1)) SWIG_fail
;
22037 arg2
= (wxListColumnFormat
)(SWIG_As_int(obj1
));
22038 if (SWIG_arg_fail(2)) SWIG_fail
;
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 Py_INCREF(Py_None
); resultobj
= Py_None
;
22054 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
;
22056 wxListItem
*arg1
= (wxListItem
*) 0 ;
22057 wxColour
*arg2
= 0 ;
22059 PyObject
* obj0
= 0 ;
22060 PyObject
* obj1
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "self",(char *) "colText", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22067 if (SWIG_arg_fail(1)) SWIG_fail
;
22070 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 Py_INCREF(Py_None
); resultobj
= Py_None
;
22086 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22088 wxListItem
*arg1
= (wxListItem
*) 0 ;
22089 wxColour
*arg2
= 0 ;
22091 PyObject
* obj0
= 0 ;
22092 PyObject
* obj1
= 0 ;
22093 char *kwnames
[] = {
22094 (char *) "self",(char *) "colBack", NULL
22097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22099 if (SWIG_arg_fail(1)) SWIG_fail
;
22102 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 Py_INCREF(Py_None
); resultobj
= Py_None
;
22118 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxListItem
*arg1
= (wxListItem
*) 0 ;
22122 PyObject
* obj0
= 0 ;
22123 PyObject
* obj1
= 0 ;
22124 char *kwnames
[] = {
22125 (char *) "self",(char *) "font", NULL
22128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22130 if (SWIG_arg_fail(1)) SWIG_fail
;
22132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
22133 if (SWIG_arg_fail(2)) SWIG_fail
;
22134 if (arg2
== NULL
) {
22135 SWIG_null_ref("wxFont");
22137 if (SWIG_arg_fail(2)) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 (arg1
)->SetFont((wxFont
const &)*arg2
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 Py_INCREF(Py_None
); resultobj
= Py_None
;
22153 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxListItem
*arg1
= (wxListItem
*) 0 ;
22157 PyObject
* obj0
= 0 ;
22158 char *kwnames
[] = {
22159 (char *) "self", NULL
22162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
22163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22164 if (SWIG_arg_fail(1)) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (long)(arg1
)->GetMask();
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= SWIG_From_long((long)(result
));
22181 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
;
22183 wxListItem
*arg1
= (wxListItem
*) 0 ;
22185 PyObject
* obj0
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "self", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
22191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22192 if (SWIG_arg_fail(1)) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 result
= (long)(arg1
)->GetId();
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22201 resultobj
= SWIG_From_long((long)(result
));
22209 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
;
22211 wxListItem
*arg1
= (wxListItem
*) 0 ;
22213 PyObject
* obj0
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
22219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail
;
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= (int)(arg1
)->GetColumn();
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22229 resultobj
= SWIG_From_int((int)(result
));
22237 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22238 PyObject
*resultobj
;
22239 wxListItem
*arg1
= (wxListItem
*) 0 ;
22241 PyObject
* obj0
= 0 ;
22242 char *kwnames
[] = {
22243 (char *) "self", NULL
22246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
22247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22248 if (SWIG_arg_fail(1)) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (long)(arg1
)->GetState();
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_From_long((long)(result
));
22265 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxListItem
*arg1
= (wxListItem
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
22275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 wxString
const &_result_ref
= (arg1
)->GetText();
22281 result
= (wxString
*) &_result_ref
;
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22291 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22300 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxListItem
*arg1
= (wxListItem
*) 0 ;
22304 PyObject
* obj0
= 0 ;
22305 char *kwnames
[] = {
22306 (char *) "self", NULL
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
22310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22311 if (SWIG_arg_fail(1)) SWIG_fail
;
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 result
= (int)(arg1
)->GetImage();
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= SWIG_From_int((int)(result
));
22328 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxListItem
*arg1
= (wxListItem
*) 0 ;
22332 PyObject
* obj0
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
22338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22339 if (SWIG_arg_fail(1)) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= (long)(arg1
)->GetData();
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22348 resultobj
= SWIG_From_long((long)(result
));
22356 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxListItem
*arg1
= (wxListItem
*) 0 ;
22360 PyObject
* obj0
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
22366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22367 if (SWIG_arg_fail(1)) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= (int)(arg1
)->GetWidth();
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22376 resultobj
= SWIG_From_int((int)(result
));
22384 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
;
22386 wxListItem
*arg1
= (wxListItem
*) 0 ;
22387 wxListColumnFormat result
;
22388 PyObject
* obj0
= 0 ;
22389 char *kwnames
[] = {
22390 (char *) "self", NULL
22393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
22394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22395 if (SWIG_arg_fail(1)) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_From_int((result
));
22410 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
;
22412 wxListItem
*arg1
= (wxListItem
*) 0 ;
22413 wxListItemAttr
*result
;
22414 PyObject
* obj0
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "self", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
22420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22421 if (SWIG_arg_fail(1)) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
22436 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxListItem
*arg1
= (wxListItem
*) 0 ;
22440 PyObject
* obj0
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
22446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= (bool)(arg1
)->HasAttributes();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22464 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
;
22466 wxListItem
*arg1
= (wxListItem
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
22474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22475 if (SWIG_arg_fail(1)) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 result
= ((wxListItem
const *)arg1
)->GetTextColour();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22484 wxColour
* resultptr
;
22485 resultptr
= new wxColour((wxColour
&)(result
));
22486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22494 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxListItem
*arg1
= (wxListItem
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22505 if (SWIG_arg_fail(1)) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 wxColour
* resultptr
;
22515 resultptr
= new wxColour((wxColour
&)(result
));
22516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22524 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22526 wxListItem
*arg1
= (wxListItem
*) 0 ;
22528 PyObject
* obj0
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
22534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22535 if (SWIG_arg_fail(1)) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= ((wxListItem
const *)arg1
)->GetFont();
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22544 wxFont
* resultptr
;
22545 resultptr
= new wxFont((wxFont
&)(result
));
22546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22554 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
;
22556 wxListItem
*arg1
= (wxListItem
*) 0 ;
22558 PyObject
* obj0
= 0 ;
22559 PyObject
* obj1
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self",(char *) "m_mask", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22566 if (SWIG_arg_fail(1)) SWIG_fail
;
22568 arg2
= (long)(SWIG_As_long(obj1
));
22569 if (SWIG_arg_fail(2)) SWIG_fail
;
22571 if (arg1
) (arg1
)->m_mask
= arg2
;
22573 Py_INCREF(Py_None
); resultobj
= Py_None
;
22580 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxListItem
*arg1
= (wxListItem
*) 0 ;
22584 PyObject
* obj0
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
22590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail
;
22592 result
= (long) ((arg1
)->m_mask
);
22595 resultobj
= SWIG_From_long((long)(result
));
22603 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
;
22605 wxListItem
*arg1
= (wxListItem
*) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self",(char *) "m_itemId", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22615 if (SWIG_arg_fail(1)) SWIG_fail
;
22617 arg2
= (long)(SWIG_As_long(obj1
));
22618 if (SWIG_arg_fail(2)) SWIG_fail
;
22620 if (arg1
) (arg1
)->m_itemId
= arg2
;
22622 Py_INCREF(Py_None
); resultobj
= Py_None
;
22629 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxListItem
*arg1
= (wxListItem
*) 0 ;
22633 PyObject
* obj0
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
22639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22640 if (SWIG_arg_fail(1)) SWIG_fail
;
22641 result
= (long) ((arg1
)->m_itemId
);
22644 resultobj
= SWIG_From_long((long)(result
));
22652 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxListItem
*arg1
= (wxListItem
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 PyObject
* obj1
= 0 ;
22658 char *kwnames
[] = {
22659 (char *) "self",(char *) "m_col", NULL
22662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22664 if (SWIG_arg_fail(1)) SWIG_fail
;
22666 arg2
= (int)(SWIG_As_int(obj1
));
22667 if (SWIG_arg_fail(2)) SWIG_fail
;
22669 if (arg1
) (arg1
)->m_col
= arg2
;
22671 Py_INCREF(Py_None
); resultobj
= Py_None
;
22678 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxListItem
*arg1
= (wxListItem
*) 0 ;
22682 PyObject
* obj0
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
22688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22689 if (SWIG_arg_fail(1)) SWIG_fail
;
22690 result
= (int) ((arg1
)->m_col
);
22693 resultobj
= SWIG_From_int((int)(result
));
22701 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 wxListItem
*arg1
= (wxListItem
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 PyObject
* obj1
= 0 ;
22707 char *kwnames
[] = {
22708 (char *) "self",(char *) "m_state", NULL
22711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22713 if (SWIG_arg_fail(1)) SWIG_fail
;
22715 arg2
= (long)(SWIG_As_long(obj1
));
22716 if (SWIG_arg_fail(2)) SWIG_fail
;
22718 if (arg1
) (arg1
)->m_state
= arg2
;
22720 Py_INCREF(Py_None
); resultobj
= Py_None
;
22727 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22729 wxListItem
*arg1
= (wxListItem
*) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 char *kwnames
[] = {
22733 (char *) "self", NULL
22736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
22737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22738 if (SWIG_arg_fail(1)) SWIG_fail
;
22739 result
= (long) ((arg1
)->m_state
);
22742 resultobj
= SWIG_From_long((long)(result
));
22750 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxListItem
*arg1
= (wxListItem
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self",(char *) "m_stateMask", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22762 if (SWIG_arg_fail(1)) SWIG_fail
;
22764 arg2
= (long)(SWIG_As_long(obj1
));
22765 if (SWIG_arg_fail(2)) SWIG_fail
;
22767 if (arg1
) (arg1
)->m_stateMask
= arg2
;
22769 Py_INCREF(Py_None
); resultobj
= Py_None
;
22776 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22778 wxListItem
*arg1
= (wxListItem
*) 0 ;
22780 PyObject
* obj0
= 0 ;
22781 char *kwnames
[] = {
22782 (char *) "self", NULL
22785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
22786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22787 if (SWIG_arg_fail(1)) SWIG_fail
;
22788 result
= (long) ((arg1
)->m_stateMask
);
22791 resultobj
= SWIG_From_long((long)(result
));
22799 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxListItem
*arg1
= (wxListItem
*) 0 ;
22802 wxString
*arg2
= (wxString
*) 0 ;
22803 bool temp2
= false ;
22804 PyObject
* obj0
= 0 ;
22805 PyObject
* obj1
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self",(char *) "m_text", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail
;
22814 arg2
= wxString_in_helper(obj1
);
22815 if (arg2
== NULL
) SWIG_fail
;
22818 if (arg1
) (arg1
)->m_text
= *arg2
;
22820 Py_INCREF(Py_None
); resultobj
= Py_None
;
22835 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxListItem
*arg1
= (wxListItem
*) 0 ;
22839 PyObject
* obj0
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "self", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
22845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22846 if (SWIG_arg_fail(1)) SWIG_fail
;
22847 result
= (wxString
*)& ((arg1
)->m_text
);
22851 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22853 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22862 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22864 wxListItem
*arg1
= (wxListItem
*) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self",(char *) "m_image", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22874 if (SWIG_arg_fail(1)) SWIG_fail
;
22876 arg2
= (int)(SWIG_As_int(obj1
));
22877 if (SWIG_arg_fail(2)) SWIG_fail
;
22879 if (arg1
) (arg1
)->m_image
= arg2
;
22881 Py_INCREF(Py_None
); resultobj
= Py_None
;
22888 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22889 PyObject
*resultobj
;
22890 wxListItem
*arg1
= (wxListItem
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
22898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail
;
22900 result
= (int) ((arg1
)->m_image
);
22903 resultobj
= SWIG_From_int((int)(result
));
22911 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22912 PyObject
*resultobj
;
22913 wxListItem
*arg1
= (wxListItem
*) 0 ;
22915 PyObject
* obj0
= 0 ;
22916 PyObject
* obj1
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self",(char *) "m_data", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22923 if (SWIG_arg_fail(1)) SWIG_fail
;
22925 arg2
= (long)(SWIG_As_long(obj1
));
22926 if (SWIG_arg_fail(2)) SWIG_fail
;
22928 if (arg1
) (arg1
)->m_data
= arg2
;
22930 Py_INCREF(Py_None
); resultobj
= Py_None
;
22937 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxListItem
*arg1
= (wxListItem
*) 0 ;
22941 PyObject
* obj0
= 0 ;
22942 char *kwnames
[] = {
22943 (char *) "self", NULL
22946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
22947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22948 if (SWIG_arg_fail(1)) SWIG_fail
;
22949 result
= (long) ((arg1
)->m_data
);
22952 resultobj
= SWIG_From_long((long)(result
));
22960 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxListItem
*arg1
= (wxListItem
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 PyObject
* obj1
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self",(char *) "m_format", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail
;
22974 arg2
= (int)(SWIG_As_int(obj1
));
22975 if (SWIG_arg_fail(2)) SWIG_fail
;
22977 if (arg1
) (arg1
)->m_format
= arg2
;
22979 Py_INCREF(Py_None
); resultobj
= Py_None
;
22986 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22987 PyObject
*resultobj
;
22988 wxListItem
*arg1
= (wxListItem
*) 0 ;
22990 PyObject
* obj0
= 0 ;
22991 char *kwnames
[] = {
22992 (char *) "self", NULL
22995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
22996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
22997 if (SWIG_arg_fail(1)) SWIG_fail
;
22998 result
= (int) ((arg1
)->m_format
);
23001 resultobj
= SWIG_From_int((int)(result
));
23009 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxListItem
*arg1
= (wxListItem
*) 0 ;
23013 PyObject
* obj0
= 0 ;
23014 PyObject
* obj1
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self",(char *) "m_width", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23021 if (SWIG_arg_fail(1)) SWIG_fail
;
23023 arg2
= (int)(SWIG_As_int(obj1
));
23024 if (SWIG_arg_fail(2)) SWIG_fail
;
23026 if (arg1
) (arg1
)->m_width
= arg2
;
23028 Py_INCREF(Py_None
); resultobj
= Py_None
;
23035 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxListItem
*arg1
= (wxListItem
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
23045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail
;
23047 result
= (int) ((arg1
)->m_width
);
23050 resultobj
= SWIG_From_int((int)(result
));
23058 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
23060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23061 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
23063 return Py_BuildValue((char *)"");
23065 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23068 int arg2
= (int) 0 ;
23069 wxListEvent
*result
;
23070 PyObject
* obj0
= 0 ;
23071 PyObject
* obj1
= 0 ;
23072 char *kwnames
[] = {
23073 (char *) "commandType",(char *) "id", NULL
23076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23079 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
23080 if (SWIG_arg_fail(1)) SWIG_fail
;
23085 arg2
= (int)(SWIG_As_int(obj1
));
23086 if (SWIG_arg_fail(2)) SWIG_fail
;
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
23103 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
;
23105 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "m_code", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23115 if (SWIG_arg_fail(1)) SWIG_fail
;
23117 arg2
= (int)(SWIG_As_int(obj1
));
23118 if (SWIG_arg_fail(2)) SWIG_fail
;
23120 if (arg1
) (arg1
)->m_code
= arg2
;
23122 Py_INCREF(Py_None
); resultobj
= Py_None
;
23129 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
23139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23140 if (SWIG_arg_fail(1)) SWIG_fail
;
23141 result
= (int) ((arg1
)->m_code
);
23144 resultobj
= SWIG_From_int((int)(result
));
23152 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
;
23154 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self",(char *) "m_oldItemIndex", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23164 if (SWIG_arg_fail(1)) SWIG_fail
;
23166 arg2
= (long)(SWIG_As_long(obj1
));
23167 if (SWIG_arg_fail(2)) SWIG_fail
;
23169 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
23171 Py_INCREF(Py_None
); resultobj
= Py_None
;
23178 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23182 PyObject
* obj0
= 0 ;
23183 char *kwnames
[] = {
23184 (char *) "self", NULL
23187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
23188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23189 if (SWIG_arg_fail(1)) SWIG_fail
;
23190 result
= (long) ((arg1
)->m_oldItemIndex
);
23193 resultobj
= SWIG_From_long((long)(result
));
23201 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 char *kwnames
[] = {
23208 (char *) "self",(char *) "m_itemIndex", NULL
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23213 if (SWIG_arg_fail(1)) SWIG_fail
;
23215 arg2
= (long)(SWIG_As_long(obj1
));
23216 if (SWIG_arg_fail(2)) SWIG_fail
;
23218 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
23220 Py_INCREF(Py_None
); resultobj
= Py_None
;
23227 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23231 PyObject
* obj0
= 0 ;
23232 char *kwnames
[] = {
23233 (char *) "self", NULL
23236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
23237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23238 if (SWIG_arg_fail(1)) SWIG_fail
;
23239 result
= (long) ((arg1
)->m_itemIndex
);
23242 resultobj
= SWIG_From_long((long)(result
));
23250 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self",(char *) "m_col", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail
;
23264 arg2
= (int)(SWIG_As_int(obj1
));
23265 if (SWIG_arg_fail(2)) SWIG_fail
;
23267 if (arg1
) (arg1
)->m_col
= arg2
;
23269 Py_INCREF(Py_None
); resultobj
= Py_None
;
23276 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23280 PyObject
* obj0
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
23286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail
;
23288 result
= (int) ((arg1
)->m_col
);
23291 resultobj
= SWIG_From_int((int)(result
));
23299 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23302 wxPoint
*arg2
= (wxPoint
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "m_pointDrag", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
23313 if (SWIG_arg_fail(2)) SWIG_fail
;
23314 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
23316 Py_INCREF(Py_None
); resultobj
= Py_None
;
23323 static PyObject
*_wrap_ListEvent_m_pointDrag_get(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_m_pointDrag_get",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
;
23335 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
23337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
23344 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23347 wxListItem
*result
;
23348 PyObject
* obj0
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
23354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23355 if (SWIG_arg_fail(1)) SWIG_fail
;
23356 result
= (wxListItem
*)& ((arg1
)->m_item
);
23359 resultobj
= wxPyMake_wxObject(result
, 0);
23367 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
;
23369 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23371 PyObject
* obj0
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23378 if (SWIG_arg_fail(1)) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 result
= (int)(arg1
)->GetKeyCode();
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= SWIG_From_int((int)(result
));
23395 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23399 PyObject
* obj0
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
23405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23406 if (SWIG_arg_fail(1)) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (long)(arg1
)->GetIndex();
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= SWIG_From_long((long)(result
));
23423 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23427 PyObject
* obj0
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
23433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23434 if (SWIG_arg_fail(1)) SWIG_fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 result
= (int)(arg1
)->GetColumn();
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23443 resultobj
= SWIG_From_int((int)(result
));
23451 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
;
23453 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23455 PyObject
* obj0
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "self", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23462 if (SWIG_arg_fail(1)) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 result
= (arg1
)->GetPoint();
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23471 wxPoint
* resultptr
;
23472 resultptr
= new wxPoint((wxPoint
&)(result
));
23473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23481 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23492 if (SWIG_arg_fail(1)) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 wxString
const &_result_ref
= (arg1
)->GetLabel();
23497 result
= (wxString
*) &_result_ref
;
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23507 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23516 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
;
23518 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23520 PyObject
* obj0
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
23526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23527 if (SWIG_arg_fail(1)) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 wxString
const &_result_ref
= (arg1
)->GetText();
23532 result
= (wxString
*) &_result_ref
;
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23542 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23551 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
;
23553 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23555 PyObject
* obj0
= 0 ;
23556 char *kwnames
[] = {
23557 (char *) "self", NULL
23560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
23561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23562 if (SWIG_arg_fail(1)) SWIG_fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= (int)(arg1
)->GetImage();
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= SWIG_From_int((int)(result
));
23579 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23583 PyObject
* obj0
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
23589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (long)(arg1
)->GetData();
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_From_long((long)(result
));
23607 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23609 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23611 PyObject
* obj0
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "self", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
23617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23618 if (SWIG_arg_fail(1)) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (long)(arg1
)->GetMask();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= SWIG_From_long((long)(result
));
23635 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23638 wxListItem
*result
;
23639 PyObject
* obj0
= 0 ;
23640 char *kwnames
[] = {
23641 (char *) "self", NULL
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23646 if (SWIG_arg_fail(1)) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 wxListItem
const &_result_ref
= (arg1
)->GetItem();
23651 result
= (wxListItem
*) &_result_ref
;
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
23664 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23666 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23668 PyObject
* obj0
= 0 ;
23669 char *kwnames
[] = {
23670 (char *) "self", NULL
23673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
23674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23675 if (SWIG_arg_fail(1)) SWIG_fail
;
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 result
= (long)(arg1
)->GetCacheFrom();
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= SWIG_From_long((long)(result
));
23692 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
;
23694 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23696 PyObject
* obj0
= 0 ;
23697 char *kwnames
[] = {
23698 (char *) "self", NULL
23701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
23702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23703 if (SWIG_arg_fail(1)) SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= (long)(arg1
)->GetCacheTo();
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= SWIG_From_long((long)(result
));
23720 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23722 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23724 PyObject
* obj0
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "self", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23731 if (SWIG_arg_fail(1)) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23748 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self",(char *) "editCancelled", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListEvent
, SWIG_POINTER_EXCEPTION
| 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail
;
23762 arg2
= (bool)(SWIG_As_bool(obj1
));
23763 if (SWIG_arg_fail(2)) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 (arg1
)->SetEditCanceled(arg2
);
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 Py_INCREF(Py_None
); resultobj
= Py_None
;
23779 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
23781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23782 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
23784 return Py_BuildValue((char *)"");
23786 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxWindow
*arg1
= (wxWindow
*) 0 ;
23789 int arg2
= (int) -1 ;
23790 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23791 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23792 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23793 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23794 long arg5
= (long) wxLC_ICON
;
23795 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23796 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23797 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23798 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23799 wxPyListCtrl
*result
;
23802 bool temp7
= false ;
23803 PyObject
* obj0
= 0 ;
23804 PyObject
* obj1
= 0 ;
23805 PyObject
* obj2
= 0 ;
23806 PyObject
* obj3
= 0 ;
23807 PyObject
* obj4
= 0 ;
23808 PyObject
* obj5
= 0 ;
23809 PyObject
* obj6
= 0 ;
23810 char *kwnames
[] = {
23811 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23816 if (SWIG_arg_fail(1)) SWIG_fail
;
23819 arg2
= (int)(SWIG_As_int(obj1
));
23820 if (SWIG_arg_fail(2)) SWIG_fail
;
23826 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23832 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23837 arg5
= (long)(SWIG_As_long(obj4
));
23838 if (SWIG_arg_fail(5)) SWIG_fail
;
23843 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23844 if (SWIG_arg_fail(6)) SWIG_fail
;
23845 if (arg6
== NULL
) {
23846 SWIG_null_ref("wxValidator");
23848 if (SWIG_arg_fail(6)) SWIG_fail
;
23853 arg7
= wxString_in_helper(obj6
);
23854 if (arg7
== NULL
) SWIG_fail
;
23859 if (!wxPyCheckForApp()) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23881 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxPyListCtrl
*result
;
23884 char *kwnames
[] = {
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
23890 if (!wxPyCheckForApp()) SWIG_fail
;
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (wxPyListCtrl
*)new wxPyListCtrl();
23894 wxPyEndAllowThreads(__tstate
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
23904 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
;
23906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23907 wxWindow
*arg2
= (wxWindow
*) 0 ;
23908 int arg3
= (int) -1 ;
23909 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23910 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23911 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23912 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23913 long arg6
= (long) wxLC_ICON
;
23914 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23915 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23916 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23917 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23921 bool temp8
= false ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 PyObject
* obj2
= 0 ;
23925 PyObject
* obj3
= 0 ;
23926 PyObject
* obj4
= 0 ;
23927 PyObject
* obj5
= 0 ;
23928 PyObject
* obj6
= 0 ;
23929 PyObject
* obj7
= 0 ;
23930 char *kwnames
[] = {
23931 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
23936 if (SWIG_arg_fail(1)) SWIG_fail
;
23937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23938 if (SWIG_arg_fail(2)) SWIG_fail
;
23941 arg3
= (int)(SWIG_As_int(obj2
));
23942 if (SWIG_arg_fail(3)) SWIG_fail
;
23948 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23954 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23959 arg6
= (long)(SWIG_As_long(obj5
));
23960 if (SWIG_arg_fail(6)) SWIG_fail
;
23965 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
23966 if (SWIG_arg_fail(7)) SWIG_fail
;
23967 if (arg7
== NULL
) {
23968 SWIG_null_ref("wxValidator");
23970 if (SWIG_arg_fail(7)) SWIG_fail
;
23975 arg8
= wxString_in_helper(obj7
);
23976 if (arg8
== NULL
) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24004 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24007 PyObject
*arg2
= (PyObject
*) 0 ;
24008 PyObject
*arg3
= (PyObject
*) 0 ;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 PyObject
* obj2
= 0 ;
24012 char *kwnames
[] = {
24013 (char *) "self",(char *) "self",(char *) "_class", NULL
24016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24018 if (SWIG_arg_fail(1)) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 Py_INCREF(Py_None
); resultobj
= Py_None
;
24035 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24038 wxColour
*arg2
= 0 ;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self",(char *) "col", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail
;
24052 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24070 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24073 wxColour
*arg2
= 0 ;
24076 PyObject
* obj0
= 0 ;
24077 PyObject
* obj1
= 0 ;
24078 char *kwnames
[] = {
24079 (char *) "self",(char *) "col", NULL
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24084 if (SWIG_arg_fail(1)) SWIG_fail
;
24087 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24105 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
;
24107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24109 wxListItem
*result
;
24110 PyObject
* obj0
= 0 ;
24111 PyObject
* obj1
= 0 ;
24112 char *kwnames
[] = {
24113 (char *) "self",(char *) "col", NULL
24116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
24117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24118 if (SWIG_arg_fail(1)) SWIG_fail
;
24120 arg2
= (int)(SWIG_As_int(obj1
));
24121 if (SWIG_arg_fail(2)) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= wxPyMake_wxObject(result
, 0);
24139 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
;
24141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24143 wxListItem
*arg3
= 0 ;
24145 PyObject
* obj0
= 0 ;
24146 PyObject
* obj1
= 0 ;
24147 PyObject
* obj2
= 0 ;
24148 char *kwnames
[] = {
24149 (char *) "self",(char *) "col",(char *) "item", NULL
24152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24154 if (SWIG_arg_fail(1)) SWIG_fail
;
24156 arg2
= (int)(SWIG_As_int(obj1
));
24157 if (SWIG_arg_fail(2)) SWIG_fail
;
24160 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24161 if (SWIG_arg_fail(3)) SWIG_fail
;
24162 if (arg3
== NULL
) {
24163 SWIG_null_ref("wxListItem");
24165 if (SWIG_arg_fail(3)) SWIG_fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24183 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24188 PyObject
* obj0
= 0 ;
24189 PyObject
* obj1
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self",(char *) "col", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
24195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail
;
24198 arg2
= (int)(SWIG_As_int(obj1
));
24199 if (SWIG_arg_fail(2)) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= SWIG_From_int((int)(result
));
24217 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 PyObject
* obj2
= 0 ;
24226 char *kwnames
[] = {
24227 (char *) "self",(char *) "col",(char *) "width", NULL
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24232 if (SWIG_arg_fail(1)) SWIG_fail
;
24234 arg2
= (int)(SWIG_As_int(obj1
));
24235 if (SWIG_arg_fail(2)) SWIG_fail
;
24238 arg3
= (int)(SWIG_As_int(obj2
));
24239 if (SWIG_arg_fail(3)) SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24257 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24258 PyObject
*resultobj
;
24259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24261 PyObject
* obj0
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
24267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= SWIG_From_int((int)(result
));
24285 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
24295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24296 if (SWIG_arg_fail(1)) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24305 wxRect
* resultptr
;
24306 resultptr
= new wxRect((wxRect
&)(result
));
24307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24315 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24319 int arg3
= (int) 0 ;
24320 wxListItem
*result
;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 PyObject
* obj2
= 0 ;
24324 char *kwnames
[] = {
24325 (char *) "self",(char *) "itemId",(char *) "col", NULL
24328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24330 if (SWIG_arg_fail(1)) SWIG_fail
;
24332 arg2
= (long)(SWIG_As_long(obj1
));
24333 if (SWIG_arg_fail(2)) SWIG_fail
;
24337 arg3
= (int)(SWIG_As_int(obj2
));
24338 if (SWIG_arg_fail(3)) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= wxPyMake_wxObject(result
, 0);
24357 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24360 wxListItem
*arg2
= 0 ;
24362 PyObject
* obj0
= 0 ;
24363 PyObject
* obj1
= 0 ;
24364 char *kwnames
[] = {
24365 (char *) "self",(char *) "info", NULL
24368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24370 if (SWIG_arg_fail(1)) SWIG_fail
;
24372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
24373 if (SWIG_arg_fail(2)) SWIG_fail
;
24374 if (arg2
== NULL
) {
24375 SWIG_null_ref("wxListItem");
24377 if (SWIG_arg_fail(2)) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= (bool)(arg1
)->SetItem(*arg2
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24395 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
;
24397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24400 wxString
*arg4
= 0 ;
24401 int arg5
= (int) -1 ;
24403 bool temp4
= false ;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24406 PyObject
* obj2
= 0 ;
24407 PyObject
* obj3
= 0 ;
24408 PyObject
* obj4
= 0 ;
24409 char *kwnames
[] = {
24410 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24415 if (SWIG_arg_fail(1)) SWIG_fail
;
24417 arg2
= (long)(SWIG_As_long(obj1
));
24418 if (SWIG_arg_fail(2)) SWIG_fail
;
24421 arg3
= (int)(SWIG_As_int(obj2
));
24422 if (SWIG_arg_fail(3)) SWIG_fail
;
24425 arg4
= wxString_in_helper(obj3
);
24426 if (arg4
== NULL
) SWIG_fail
;
24431 arg5
= (int)(SWIG_As_int(obj4
));
24432 if (SWIG_arg_fail(5)) SWIG_fail
;
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24443 resultobj
= SWIG_From_long((long)(result
));
24459 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24465 PyObject
* obj0
= 0 ;
24466 PyObject
* obj1
= 0 ;
24467 PyObject
* obj2
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24474 if (SWIG_arg_fail(1)) SWIG_fail
;
24476 arg2
= (long)(SWIG_As_long(obj1
));
24477 if (SWIG_arg_fail(2)) SWIG_fail
;
24480 arg3
= (long)(SWIG_As_long(obj2
));
24481 if (SWIG_arg_fail(3)) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= SWIG_From_int((int)(result
));
24499 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24506 PyObject
* obj0
= 0 ;
24507 PyObject
* obj1
= 0 ;
24508 PyObject
* obj2
= 0 ;
24509 PyObject
* obj3
= 0 ;
24510 char *kwnames
[] = {
24511 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24516 if (SWIG_arg_fail(1)) SWIG_fail
;
24518 arg2
= (long)(SWIG_As_long(obj1
));
24519 if (SWIG_arg_fail(2)) SWIG_fail
;
24522 arg3
= (long)(SWIG_As_long(obj2
));
24523 if (SWIG_arg_fail(3)) SWIG_fail
;
24526 arg4
= (long)(SWIG_As_long(obj3
));
24527 if (SWIG_arg_fail(4)) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24545 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
;
24547 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24550 int arg4
= (int) -1 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 PyObject
* obj2
= 0 ;
24555 PyObject
* obj3
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg3
= (int)(SWIG_As_int(obj2
));
24569 if (SWIG_arg_fail(3)) SWIG_fail
;
24573 arg4
= (int)(SWIG_As_int(obj3
));
24574 if (SWIG_arg_fail(4)) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24593 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self",(char *) "item", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24606 if (SWIG_arg_fail(1)) SWIG_fail
;
24608 arg2
= (long)(SWIG_As_long(obj1
));
24609 if (SWIG_arg_fail(2)) SWIG_fail
;
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24631 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
;
24633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24635 wxString
*arg3
= 0 ;
24636 bool temp3
= false ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 PyObject
* obj2
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self",(char *) "item",(char *) "str", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24646 if (SWIG_arg_fail(1)) SWIG_fail
;
24648 arg2
= (long)(SWIG_As_long(obj1
));
24649 if (SWIG_arg_fail(2)) SWIG_fail
;
24652 arg3
= wxString_in_helper(obj2
);
24653 if (arg3
== NULL
) SWIG_fail
;
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 Py_INCREF(Py_None
); resultobj
= Py_None
;
24678 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self",(char *) "item", NULL
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24691 if (SWIG_arg_fail(1)) SWIG_fail
;
24693 arg2
= (long)(SWIG_As_long(obj1
));
24694 if (SWIG_arg_fail(2)) SWIG_fail
;
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24704 resultobj
= SWIG_From_long((long)(result
));
24712 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
;
24714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24718 PyObject
* obj0
= 0 ;
24719 PyObject
* obj1
= 0 ;
24720 PyObject
* obj2
= 0 ;
24721 char *kwnames
[] = {
24722 (char *) "self",(char *) "item",(char *) "data", NULL
24725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24727 if (SWIG_arg_fail(1)) SWIG_fail
;
24729 arg2
= (long)(SWIG_As_long(obj1
));
24730 if (SWIG_arg_fail(2)) SWIG_fail
;
24733 arg3
= (long)(SWIG_As_long(obj2
));
24734 if (SWIG_arg_fail(3)) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24752 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
;
24754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self",(char *) "item", NULL
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
24764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24765 if (SWIG_arg_fail(1)) SWIG_fail
;
24767 arg2
= (long)(SWIG_As_long(obj1
));
24768 if (SWIG_arg_fail(2)) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24778 wxPoint
* resultptr
;
24779 resultptr
= new wxPoint((wxPoint
&)(result
));
24780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24788 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24792 int arg3
= (int) wxLIST_RECT_BOUNDS
;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 PyObject
* obj2
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self",(char *) "item",(char *) "code", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24803 if (SWIG_arg_fail(1)) SWIG_fail
;
24805 arg2
= (long)(SWIG_As_long(obj1
));
24806 if (SWIG_arg_fail(2)) SWIG_fail
;
24810 arg3
= (int)(SWIG_As_int(obj2
));
24811 if (SWIG_arg_fail(3)) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 wxRect
* resultptr
;
24823 resultptr
= new wxRect((wxRect
&)(result
));
24824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24832 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24836 wxPoint
*arg3
= 0 ;
24839 PyObject
* obj0
= 0 ;
24840 PyObject
* obj1
= 0 ;
24841 PyObject
* obj2
= 0 ;
24842 char *kwnames
[] = {
24843 (char *) "self",(char *) "item",(char *) "pos", NULL
24846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24848 if (SWIG_arg_fail(1)) SWIG_fail
;
24850 arg2
= (long)(SWIG_As_long(obj1
));
24851 if (SWIG_arg_fail(2)) SWIG_fail
;
24855 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24873 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24877 PyObject
* obj0
= 0 ;
24878 char *kwnames
[] = {
24879 (char *) "self", NULL
24882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
24883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24884 if (SWIG_arg_fail(1)) SWIG_fail
;
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_From_int((int)(result
));
24901 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
;
24903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24905 PyObject
* obj0
= 0 ;
24906 char *kwnames
[] = {
24907 (char *) "self", NULL
24910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
24911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24912 if (SWIG_arg_fail(1)) SWIG_fail
;
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_From_int((int)(result
));
24929 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
24939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24940 if (SWIG_arg_fail(1)) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24949 wxSize
* resultptr
;
24950 resultptr
= new wxSize((wxSize
&)(result
));
24951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24959 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
;
24961 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24963 bool arg3
= (bool) false ;
24964 PyObject
* obj0
= 0 ;
24965 PyObject
* obj1
= 0 ;
24966 PyObject
* obj2
= 0 ;
24967 char *kwnames
[] = {
24968 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
24973 if (SWIG_arg_fail(1)) SWIG_fail
;
24975 arg2
= (int)(SWIG_As_int(obj1
));
24976 if (SWIG_arg_fail(2)) SWIG_fail
;
24980 arg3
= (bool)(SWIG_As_bool(obj2
));
24981 if (SWIG_arg_fail(3)) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 (arg1
)->SetItemSpacing(arg2
,arg3
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24991 Py_INCREF(Py_None
); resultobj
= Py_None
;
24998 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
;
25000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25002 PyObject
* obj0
= 0 ;
25003 char *kwnames
[] = {
25004 (char *) "self", NULL
25007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
25008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25009 if (SWIG_arg_fail(1)) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= SWIG_From_int((int)(result
));
25026 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
;
25028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25030 PyObject
* obj0
= 0 ;
25031 char *kwnames
[] = {
25032 (char *) "self", NULL
25035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
25036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25037 if (SWIG_arg_fail(1)) SWIG_fail
;
25039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25040 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
25042 wxPyEndAllowThreads(__tstate
);
25043 if (PyErr_Occurred()) SWIG_fail
;
25046 wxColour
* resultptr
;
25047 resultptr
= new wxColour((wxColour
&)(result
));
25048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25056 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25057 PyObject
*resultobj
;
25058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25059 wxColour
*arg2
= 0 ;
25061 PyObject
* obj0
= 0 ;
25062 PyObject
* obj1
= 0 ;
25063 char *kwnames
[] = {
25064 (char *) "self",(char *) "col", NULL
25067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25069 if (SWIG_arg_fail(1)) SWIG_fail
;
25072 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25081 Py_INCREF(Py_None
); resultobj
= Py_None
;
25088 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25089 PyObject
*resultobj
;
25090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25092 PyObject
* obj0
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
25098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25099 if (SWIG_arg_fail(1)) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_From_long((long)(result
));
25116 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25120 bool arg3
= (bool) true ;
25121 PyObject
* obj0
= 0 ;
25122 PyObject
* obj1
= 0 ;
25123 PyObject
* obj2
= 0 ;
25124 char *kwnames
[] = {
25125 (char *) "self",(char *) "style",(char *) "add", NULL
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail
;
25132 arg2
= (long)(SWIG_As_long(obj1
));
25133 if (SWIG_arg_fail(2)) SWIG_fail
;
25137 arg3
= (bool)(SWIG_As_bool(obj2
));
25138 if (SWIG_arg_fail(3)) SWIG_fail
;
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 (arg1
)->SetSingleStyle(arg2
,arg3
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 Py_INCREF(Py_None
); resultobj
= Py_None
;
25155 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
;
25157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25159 PyObject
* obj0
= 0 ;
25160 PyObject
* obj1
= 0 ;
25161 char *kwnames
[] = {
25162 (char *) "self",(char *) "style", NULL
25165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
25166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25167 if (SWIG_arg_fail(1)) SWIG_fail
;
25169 arg2
= (long)(SWIG_As_long(obj1
));
25170 if (SWIG_arg_fail(2)) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 (arg1
)->SetWindowStyleFlag(arg2
);
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25179 Py_INCREF(Py_None
); resultobj
= Py_None
;
25186 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25190 int arg3
= (int) wxLIST_NEXT_ALL
;
25191 int arg4
= (int) wxLIST_STATE_DONTCARE
;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 PyObject
* obj2
= 0 ;
25196 PyObject
* obj3
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25203 if (SWIG_arg_fail(1)) SWIG_fail
;
25205 arg2
= (long)(SWIG_As_long(obj1
));
25206 if (SWIG_arg_fail(2)) SWIG_fail
;
25210 arg3
= (int)(SWIG_As_int(obj2
));
25211 if (SWIG_arg_fail(3)) SWIG_fail
;
25216 arg4
= (int)(SWIG_As_int(obj3
));
25217 if (SWIG_arg_fail(4)) SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= SWIG_From_long((long)(result
));
25236 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25237 PyObject
*resultobj
;
25238 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25240 wxImageList
*result
;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 char *kwnames
[] = {
25244 (char *) "self",(char *) "which", NULL
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25249 if (SWIG_arg_fail(1)) SWIG_fail
;
25251 arg2
= (int)(SWIG_As_int(obj1
));
25252 if (SWIG_arg_fail(2)) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= wxPyMake_wxObject(result
, 0);
25270 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
;
25272 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25273 wxImageList
*arg2
= (wxImageList
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 PyObject
* obj2
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "self",(char *) "imageList",(char *) "which", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25284 if (SWIG_arg_fail(1)) SWIG_fail
;
25285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
25286 if (SWIG_arg_fail(2)) SWIG_fail
;
25288 arg3
= (int)(SWIG_As_int(obj2
));
25289 if (SWIG_arg_fail(3)) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 (arg1
)->SetImageList(arg2
,arg3
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 Py_INCREF(Py_None
); resultobj
= Py_None
;
25305 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
;
25307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25308 wxImageList
*arg2
= (wxImageList
*) 0 ;
25310 PyObject
* obj0
= 0 ;
25311 PyObject
* obj1
= 0 ;
25312 PyObject
* obj2
= 0 ;
25313 char *kwnames
[] = {
25314 (char *) "self",(char *) "imageList",(char *) "which", NULL
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25319 if (SWIG_arg_fail(1)) SWIG_fail
;
25320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
25321 if (SWIG_arg_fail(2)) SWIG_fail
;
25323 arg3
= (int)(SWIG_As_int(obj2
));
25324 if (SWIG_arg_fail(3)) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 (arg1
)->AssignImageList(arg2
,arg3
);
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 Py_INCREF(Py_None
); resultobj
= Py_None
;
25340 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25344 PyObject
* obj0
= 0 ;
25345 char *kwnames
[] = {
25346 (char *) "self", NULL
25349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
25350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25351 if (SWIG_arg_fail(1)) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25368 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25372 PyObject
* obj0
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
25378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25379 if (SWIG_arg_fail(1)) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25396 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25400 PyObject
* obj0
= 0 ;
25401 PyObject
* obj1
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "self",(char *) "item", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25408 if (SWIG_arg_fail(1)) SWIG_fail
;
25410 arg2
= (long)(SWIG_As_long(obj1
));
25411 if (SWIG_arg_fail(2)) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 (arg1
)->RefreshItem(arg2
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 Py_INCREF(Py_None
); resultobj
= Py_None
;
25427 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 PyObject
* obj1
= 0 ;
25434 PyObject
* obj2
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25441 if (SWIG_arg_fail(1)) SWIG_fail
;
25443 arg2
= (long)(SWIG_As_long(obj1
));
25444 if (SWIG_arg_fail(2)) SWIG_fail
;
25447 arg3
= (long)(SWIG_As_long(obj2
));
25448 if (SWIG_arg_fail(3)) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->RefreshItems(arg2
,arg3
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 Py_INCREF(Py_None
); resultobj
= Py_None
;
25464 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25467 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 char *kwnames
[] = {
25472 (char *) "self",(char *) "flag", NULL
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
25476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25477 if (SWIG_arg_fail(1)) SWIG_fail
;
25480 arg2
= (int)(SWIG_As_int(obj1
));
25481 if (SWIG_arg_fail(2)) SWIG_fail
;
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 result
= (bool)(arg1
)->Arrange(arg2
);
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25500 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
;
25502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25505 PyObject
* obj0
= 0 ;
25506 PyObject
* obj1
= 0 ;
25507 char *kwnames
[] = {
25508 (char *) "self",(char *) "item", NULL
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail
;
25515 arg2
= (long)(SWIG_As_long(obj1
));
25516 if (SWIG_arg_fail(2)) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 result
= (bool)(arg1
)->DeleteItem(arg2
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25534 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25538 PyObject
* obj0
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (bool)(arg1
)->DeleteAllItems();
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25562 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
;
25564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self",(char *) "col", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
25574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25575 if (SWIG_arg_fail(1)) SWIG_fail
;
25577 arg2
= (int)(SWIG_As_int(obj1
));
25578 if (SWIG_arg_fail(2)) SWIG_fail
;
25581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 result
= (bool)(arg1
)->DeleteColumn(arg2
);
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25596 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
25606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 result
= (bool)(arg1
)->DeleteAllColumns();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25624 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
;
25626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25627 PyObject
* obj0
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "self", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
25633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25634 if (SWIG_arg_fail(1)) SWIG_fail
;
25636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 (arg1
)->ClearAll();
25639 wxPyEndAllowThreads(__tstate
);
25640 if (PyErr_Occurred()) SWIG_fail
;
25642 Py_INCREF(Py_None
); resultobj
= Py_None
;
25649 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
;
25651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25653 PyObject
* obj0
= 0 ;
25654 PyObject
* obj1
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "self",(char *) "item", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25661 if (SWIG_arg_fail(1)) SWIG_fail
;
25663 arg2
= (long)(SWIG_As_long(obj1
));
25664 if (SWIG_arg_fail(2)) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 (arg1
)->EditLabel(arg2
);
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25673 Py_INCREF(Py_None
); resultobj
= Py_None
;
25680 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
;
25682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25685 PyObject
* obj0
= 0 ;
25686 PyObject
* obj1
= 0 ;
25687 char *kwnames
[] = {
25688 (char *) "self",(char *) "item", NULL
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25693 if (SWIG_arg_fail(1)) SWIG_fail
;
25695 arg2
= (long)(SWIG_As_long(obj1
));
25696 if (SWIG_arg_fail(2)) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 result
= (bool)(arg1
)->EnsureVisible(arg2
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25714 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25715 PyObject
*resultobj
;
25716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25718 wxString
*arg3
= 0 ;
25719 bool arg4
= (bool) false ;
25721 bool temp3
= false ;
25722 PyObject
* obj0
= 0 ;
25723 PyObject
* obj1
= 0 ;
25724 PyObject
* obj2
= 0 ;
25725 PyObject
* obj3
= 0 ;
25726 char *kwnames
[] = {
25727 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25732 if (SWIG_arg_fail(1)) SWIG_fail
;
25734 arg2
= (long)(SWIG_As_long(obj1
));
25735 if (SWIG_arg_fail(2)) SWIG_fail
;
25738 arg3
= wxString_in_helper(obj2
);
25739 if (arg3
== NULL
) SWIG_fail
;
25744 arg4
= (bool)(SWIG_As_bool(obj3
));
25745 if (SWIG_arg_fail(4)) SWIG_fail
;
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25756 resultobj
= SWIG_From_long((long)(result
));
25772 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 PyObject
* obj2
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "start",(char *) "data", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail
;
25789 arg2
= (long)(SWIG_As_long(obj1
));
25790 if (SWIG_arg_fail(2)) SWIG_fail
;
25793 arg3
= (long)(SWIG_As_long(obj2
));
25794 if (SWIG_arg_fail(3)) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25804 resultobj
= SWIG_From_long((long)(result
));
25812 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
;
25814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25816 wxPoint
*arg3
= 0 ;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 PyObject
* obj2
= 0 ;
25823 PyObject
* obj3
= 0 ;
25824 char *kwnames
[] = {
25825 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25830 if (SWIG_arg_fail(1)) SWIG_fail
;
25832 arg2
= (long)(SWIG_As_long(obj1
));
25833 if (SWIG_arg_fail(2)) SWIG_fail
;
25837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25840 arg4
= (int)(SWIG_As_int(obj3
));
25841 if (SWIG_arg_fail(4)) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
25847 wxPyEndAllowThreads(__tstate
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_From_long((long)(result
));
25859 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
;
25861 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25862 wxPoint
*arg2
= 0 ;
25868 PyObject
* obj0
= 0 ;
25869 PyObject
* obj1
= 0 ;
25870 char *kwnames
[] = {
25871 (char *) "self",(char *) "point", NULL
25874 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25877 if (SWIG_arg_fail(1)) SWIG_fail
;
25880 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_From_long((long)(result
));
25892 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25893 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25900 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
;
25902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25903 wxListItem
*arg2
= 0 ;
25905 PyObject
* obj0
= 0 ;
25906 PyObject
* obj1
= 0 ;
25907 char *kwnames
[] = {
25908 (char *) "self",(char *) "info", NULL
25911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail
;
25915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
25916 if (SWIG_arg_fail(2)) SWIG_fail
;
25917 if (arg2
== NULL
) {
25918 SWIG_null_ref("wxListItem");
25920 if (SWIG_arg_fail(2)) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (long)(arg1
)->InsertItem(*arg2
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= SWIG_From_long((long)(result
));
25938 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25942 wxString
*arg3
= 0 ;
25944 bool temp3
= false ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 PyObject
* obj2
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self",(char *) "index",(char *) "label", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
25954 if (SWIG_arg_fail(1)) SWIG_fail
;
25956 arg2
= (long)(SWIG_As_long(obj1
));
25957 if (SWIG_arg_fail(2)) SWIG_fail
;
25960 arg3
= wxString_in_helper(obj2
);
25961 if (arg3
== NULL
) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= SWIG_From_long((long)(result
));
25988 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 PyObject
* obj2
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail
;
26005 arg2
= (long)(SWIG_As_long(obj1
));
26006 if (SWIG_arg_fail(2)) SWIG_fail
;
26009 arg3
= (int)(SWIG_As_int(obj2
));
26010 if (SWIG_arg_fail(3)) SWIG_fail
;
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= SWIG_From_long((long)(result
));
26028 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26032 wxString
*arg3
= 0 ;
26035 bool temp3
= false ;
26036 PyObject
* obj0
= 0 ;
26037 PyObject
* obj1
= 0 ;
26038 PyObject
* obj2
= 0 ;
26039 PyObject
* obj3
= 0 ;
26040 char *kwnames
[] = {
26041 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
26044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26046 if (SWIG_arg_fail(1)) SWIG_fail
;
26048 arg2
= (long)(SWIG_As_long(obj1
));
26049 if (SWIG_arg_fail(2)) SWIG_fail
;
26052 arg3
= wxString_in_helper(obj2
);
26053 if (arg3
== NULL
) SWIG_fail
;
26057 arg4
= (int)(SWIG_As_int(obj3
));
26058 if (SWIG_arg_fail(4)) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 resultobj
= SWIG_From_long((long)(result
));
26084 static PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26088 wxListItem
*arg3
= 0 ;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 PyObject
* obj2
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self",(char *) "col",(char *) "info", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26099 if (SWIG_arg_fail(1)) SWIG_fail
;
26101 arg2
= (long)(SWIG_As_long(obj1
));
26102 if (SWIG_arg_fail(2)) SWIG_fail
;
26105 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxListItem
, SWIG_POINTER_EXCEPTION
| 0);
26106 if (SWIG_arg_fail(3)) SWIG_fail
;
26107 if (arg3
== NULL
) {
26108 SWIG_null_ref("wxListItem");
26110 if (SWIG_arg_fail(3)) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26120 resultobj
= SWIG_From_long((long)(result
));
26128 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26132 wxString
*arg3
= 0 ;
26133 int arg4
= (int) wxLIST_FORMAT_LEFT
;
26134 int arg5
= (int) -1 ;
26136 bool temp3
= false ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 PyObject
* obj2
= 0 ;
26140 PyObject
* obj3
= 0 ;
26141 PyObject
* obj4
= 0 ;
26142 char *kwnames
[] = {
26143 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26148 if (SWIG_arg_fail(1)) SWIG_fail
;
26150 arg2
= (long)(SWIG_As_long(obj1
));
26151 if (SWIG_arg_fail(2)) SWIG_fail
;
26154 arg3
= wxString_in_helper(obj2
);
26155 if (arg3
== NULL
) SWIG_fail
;
26160 arg4
= (int)(SWIG_As_int(obj3
));
26161 if (SWIG_arg_fail(4)) SWIG_fail
;
26166 arg5
= (int)(SWIG_As_int(obj4
));
26167 if (SWIG_arg_fail(5)) SWIG_fail
;
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= SWIG_From_long((long)(result
));
26194 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
;
26196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26198 PyObject
* obj0
= 0 ;
26199 PyObject
* obj1
= 0 ;
26200 char *kwnames
[] = {
26201 (char *) "self",(char *) "count", NULL
26204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
26205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26206 if (SWIG_arg_fail(1)) SWIG_fail
;
26208 arg2
= (long)(SWIG_As_long(obj1
));
26209 if (SWIG_arg_fail(2)) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 (arg1
)->SetItemCount(arg2
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 Py_INCREF(Py_None
); resultobj
= Py_None
;
26225 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26231 PyObject
* obj0
= 0 ;
26232 PyObject
* obj1
= 0 ;
26233 PyObject
* obj2
= 0 ;
26234 char *kwnames
[] = {
26235 (char *) "self",(char *) "dx",(char *) "dy", NULL
26238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26240 if (SWIG_arg_fail(1)) SWIG_fail
;
26242 arg2
= (int)(SWIG_As_int(obj1
));
26243 if (SWIG_arg_fail(2)) SWIG_fail
;
26246 arg3
= (int)(SWIG_As_int(obj2
));
26247 if (SWIG_arg_fail(3)) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26265 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26269 wxColour
*arg3
= 0 ;
26271 PyObject
* obj0
= 0 ;
26272 PyObject
* obj1
= 0 ;
26273 PyObject
* obj2
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self",(char *) "item",(char *) "col", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26280 if (SWIG_arg_fail(1)) SWIG_fail
;
26282 arg2
= (long)(SWIG_As_long(obj1
));
26283 if (SWIG_arg_fail(2)) SWIG_fail
;
26287 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 Py_INCREF(Py_None
); resultobj
= Py_None
;
26303 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
;
26305 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 char *kwnames
[] = {
26311 (char *) "self",(char *) "item", NULL
26314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26316 if (SWIG_arg_fail(1)) SWIG_fail
;
26318 arg2
= (long)(SWIG_As_long(obj1
));
26319 if (SWIG_arg_fail(2)) SWIG_fail
;
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26329 wxColour
* resultptr
;
26330 resultptr
= new wxColour((wxColour
&)(result
));
26331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26339 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
;
26341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26343 wxColour
*arg3
= 0 ;
26345 PyObject
* obj0
= 0 ;
26346 PyObject
* obj1
= 0 ;
26347 PyObject
* obj2
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self",(char *) "item",(char *) "col", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail
;
26356 arg2
= (long)(SWIG_As_long(obj1
));
26357 if (SWIG_arg_fail(2)) SWIG_fail
;
26361 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 Py_INCREF(Py_None
); resultobj
= Py_None
;
26377 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26378 PyObject
*resultobj
;
26379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "item", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26390 if (SWIG_arg_fail(1)) SWIG_fail
;
26392 arg2
= (long)(SWIG_As_long(obj1
));
26393 if (SWIG_arg_fail(2)) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26403 wxColour
* resultptr
;
26404 resultptr
= new wxColour((wxColour
&)(result
));
26405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26413 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26416 PyObject
*arg2
= (PyObject
*) 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "func", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
26425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail
;
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26444 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26445 PyObject
*resultobj
;
26446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
26448 PyObject
* obj0
= 0 ;
26449 char *kwnames
[] = {
26450 (char *) "self", NULL
26453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
26454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
26455 if (SWIG_arg_fail(1)) SWIG_fail
;
26457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26458 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
26460 wxPyEndAllowThreads(__tstate
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26464 resultobj
= wxPyMake_wxObject(result
, 0);
26472 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26475 wxVisualAttributes result
;
26476 PyObject
* obj0
= 0 ;
26477 char *kwnames
[] = {
26478 (char *) "variant", NULL
26481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26484 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
26485 if (SWIG_arg_fail(1)) SWIG_fail
;
26489 if (!wxPyCheckForApp()) SWIG_fail
;
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26497 wxVisualAttributes
* resultptr
;
26498 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
26499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26507 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
26509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26510 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
26512 return Py_BuildValue((char *)"");
26514 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
;
26516 wxWindow
*arg1
= (wxWindow
*) 0 ;
26517 int arg2
= (int) -1 ;
26518 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26519 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26520 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26521 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26522 long arg5
= (long) wxLC_REPORT
;
26523 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
26524 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
26525 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
26526 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26527 wxListView
*result
;
26530 bool temp7
= false ;
26531 PyObject
* obj0
= 0 ;
26532 PyObject
* obj1
= 0 ;
26533 PyObject
* obj2
= 0 ;
26534 PyObject
* obj3
= 0 ;
26535 PyObject
* obj4
= 0 ;
26536 PyObject
* obj5
= 0 ;
26537 PyObject
* obj6
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26544 if (SWIG_arg_fail(1)) SWIG_fail
;
26547 arg2
= (int)(SWIG_As_int(obj1
));
26548 if (SWIG_arg_fail(2)) SWIG_fail
;
26554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26560 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26565 arg5
= (long)(SWIG_As_long(obj4
));
26566 if (SWIG_arg_fail(5)) SWIG_fail
;
26571 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26572 if (SWIG_arg_fail(6)) SWIG_fail
;
26573 if (arg6
== NULL
) {
26574 SWIG_null_ref("wxValidator");
26576 if (SWIG_arg_fail(6)) SWIG_fail
;
26581 arg7
= wxString_in_helper(obj6
);
26582 if (arg7
== NULL
) SWIG_fail
;
26587 if (!wxPyCheckForApp()) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26609 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxListView
*result
;
26612 char *kwnames
[] = {
26616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
26618 if (!wxPyCheckForApp()) SWIG_fail
;
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 result
= (wxListView
*)new wxListView();
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
26632 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
;
26634 wxListView
*arg1
= (wxListView
*) 0 ;
26635 wxWindow
*arg2
= (wxWindow
*) 0 ;
26636 int arg3
= (int) -1 ;
26637 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26638 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26639 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26640 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26641 long arg6
= (long) wxLC_REPORT
;
26642 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
26643 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
26644 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
26645 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26649 bool temp8
= false ;
26650 PyObject
* obj0
= 0 ;
26651 PyObject
* obj1
= 0 ;
26652 PyObject
* obj2
= 0 ;
26653 PyObject
* obj3
= 0 ;
26654 PyObject
* obj4
= 0 ;
26655 PyObject
* obj5
= 0 ;
26656 PyObject
* obj6
= 0 ;
26657 PyObject
* obj7
= 0 ;
26658 char *kwnames
[] = {
26659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
26663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26664 if (SWIG_arg_fail(1)) SWIG_fail
;
26665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26666 if (SWIG_arg_fail(2)) SWIG_fail
;
26669 arg3
= (int)(SWIG_As_int(obj2
));
26670 if (SWIG_arg_fail(3)) SWIG_fail
;
26676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26687 arg6
= (long)(SWIG_As_long(obj5
));
26688 if (SWIG_arg_fail(6)) SWIG_fail
;
26693 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
26694 if (SWIG_arg_fail(7)) SWIG_fail
;
26695 if (arg7
== NULL
) {
26696 SWIG_null_ref("wxValidator");
26698 if (SWIG_arg_fail(7)) SWIG_fail
;
26703 arg8
= wxString_in_helper(obj7
);
26704 if (arg8
== NULL
) SWIG_fail
;
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26732 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26733 PyObject
*resultobj
;
26734 wxListView
*arg1
= (wxListView
*) 0 ;
26736 bool arg3
= (bool) true ;
26737 PyObject
* obj0
= 0 ;
26738 PyObject
* obj1
= 0 ;
26739 PyObject
* obj2
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self",(char *) "n",(char *) "on", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail
;
26748 arg2
= (long)(SWIG_As_long(obj1
));
26749 if (SWIG_arg_fail(2)) SWIG_fail
;
26753 arg3
= (bool)(SWIG_As_bool(obj2
));
26754 if (SWIG_arg_fail(3)) SWIG_fail
;
26758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26759 (arg1
)->Select(arg2
,arg3
);
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26764 Py_INCREF(Py_None
); resultobj
= Py_None
;
26771 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
;
26773 wxListView
*arg1
= (wxListView
*) 0 ;
26775 PyObject
* obj0
= 0 ;
26776 PyObject
* obj1
= 0 ;
26777 char *kwnames
[] = {
26778 (char *) "self",(char *) "index", NULL
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
26782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail
;
26785 arg2
= (long)(SWIG_As_long(obj1
));
26786 if (SWIG_arg_fail(2)) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 (arg1
)->Focus(arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 Py_INCREF(Py_None
); resultobj
= Py_None
;
26802 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
;
26804 wxListView
*arg1
= (wxListView
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 char *kwnames
[] = {
26808 (char *) "self", NULL
26811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
26812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26813 if (SWIG_arg_fail(1)) SWIG_fail
;
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26822 resultobj
= SWIG_From_long((long)(result
));
26830 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
;
26832 wxListView
*arg1
= (wxListView
*) 0 ;
26835 PyObject
* obj0
= 0 ;
26836 PyObject
* obj1
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self",(char *) "item", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26843 if (SWIG_arg_fail(1)) SWIG_fail
;
26845 arg2
= (long)(SWIG_As_long(obj1
));
26846 if (SWIG_arg_fail(2)) SWIG_fail
;
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26856 resultobj
= SWIG_From_long((long)(result
));
26864 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
;
26866 wxListView
*arg1
= (wxListView
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
26874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26875 if (SWIG_arg_fail(1)) SWIG_fail
;
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= SWIG_From_long((long)(result
));
26892 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26893 PyObject
*resultobj
;
26894 wxListView
*arg1
= (wxListView
*) 0 ;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 char *kwnames
[] = {
26900 (char *) "self",(char *) "index", NULL
26903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26905 if (SWIG_arg_fail(1)) SWIG_fail
;
26907 arg2
= (long)(SWIG_As_long(obj1
));
26908 if (SWIG_arg_fail(2)) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (bool)(arg1
)->IsSelected(arg2
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26926 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
;
26928 wxListView
*arg1
= (wxListView
*) 0 ;
26931 PyObject
* obj0
= 0 ;
26932 PyObject
* obj1
= 0 ;
26933 PyObject
* obj2
= 0 ;
26934 char *kwnames
[] = {
26935 (char *) "self",(char *) "col",(char *) "image", NULL
26938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26940 if (SWIG_arg_fail(1)) SWIG_fail
;
26942 arg2
= (int)(SWIG_As_int(obj1
));
26943 if (SWIG_arg_fail(2)) SWIG_fail
;
26946 arg3
= (int)(SWIG_As_int(obj2
));
26947 if (SWIG_arg_fail(3)) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 (arg1
)->SetColumnImage(arg2
,arg3
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 Py_INCREF(Py_None
); resultobj
= Py_None
;
26963 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26964 PyObject
*resultobj
;
26965 wxListView
*arg1
= (wxListView
*) 0 ;
26967 PyObject
* obj0
= 0 ;
26968 PyObject
* obj1
= 0 ;
26969 char *kwnames
[] = {
26970 (char *) "self",(char *) "col", NULL
26973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxListView
, SWIG_POINTER_EXCEPTION
| 0);
26975 if (SWIG_arg_fail(1)) SWIG_fail
;
26977 arg2
= (int)(SWIG_As_int(obj1
));
26978 if (SWIG_arg_fail(2)) SWIG_fail
;
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 (arg1
)->ClearColumnImage(arg2
);
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 Py_INCREF(Py_None
); resultobj
= Py_None
;
26994 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
26996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26997 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
26999 return Py_BuildValue((char *)"");
27001 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
27002 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
27007 static PyObject
*_wrap_TreeCtrlNameStr_get(void) {
27012 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27014 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
27021 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
;
27023 wxTreeItemId
*result
;
27024 char *kwnames
[] = {
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 result
= (wxTreeItemId
*)new wxTreeItemId();
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
27043 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
;
27045 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27046 PyObject
* obj0
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
27052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 Py_INCREF(Py_None
); resultobj
= Py_None
;
27068 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27072 PyObject
* obj0
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
27078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27079 if (SWIG_arg_fail(1)) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27096 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27099 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27101 PyObject
* obj0
= 0 ;
27102 PyObject
* obj1
= 0 ;
27103 char *kwnames
[] = {
27104 (char *) "self",(char *) "other", NULL
27107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27109 if (SWIG_arg_fail(1)) SWIG_fail
;
27110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27111 if (SWIG_arg_fail(2)) SWIG_fail
;
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27128 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27131 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self",(char *) "other", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail
;
27142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27143 if (SWIG_arg_fail(2)) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27160 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27163 void *arg2
= (void *) 0 ;
27164 PyObject
* obj0
= 0 ;
27165 PyObject
* obj1
= 0 ;
27166 char *kwnames
[] = {
27167 (char *) "self",(char *) "m_pItem", NULL
27170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27172 if (SWIG_arg_fail(1)) SWIG_fail
;
27174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),0,SWIG_POINTER_EXCEPTION
|SWIG_POINTER_DISOWN
))== -1) {
27175 SWIG_arg_fail(2);SWIG_fail
;
27178 if (arg1
) (arg1
)->m_pItem
= arg2
;
27180 Py_INCREF(Py_None
); resultobj
= Py_None
;
27187 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27188 PyObject
*resultobj
;
27189 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
27191 PyObject
* obj0
= 0 ;
27192 char *kwnames
[] = {
27193 (char *) "self", NULL
27196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
27197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27198 if (SWIG_arg_fail(1)) SWIG_fail
;
27199 result
= (void *) ((arg1
)->m_pItem
);
27201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
27208 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
27210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27211 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
27213 return Py_BuildValue((char *)"");
27215 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 PyObject
*arg1
= (PyObject
*) NULL
;
27218 wxPyTreeItemData
*result
;
27219 PyObject
* obj0
= 0 ;
27220 char *kwnames
[] = {
27221 (char *) "obj", NULL
27224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
27242 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
;
27244 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27246 PyObject
* obj0
= 0 ;
27247 char *kwnames
[] = {
27248 (char *) "self", NULL
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
27252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail
;
27255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27256 result
= (PyObject
*)(arg1
)->GetData();
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 resultobj
= result
;
27268 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27269 PyObject
*resultobj
;
27270 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27271 PyObject
*arg2
= (PyObject
*) 0 ;
27272 PyObject
* obj0
= 0 ;
27273 PyObject
* obj1
= 0 ;
27274 char *kwnames
[] = {
27275 (char *) "self",(char *) "obj", NULL
27278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27280 if (SWIG_arg_fail(1)) SWIG_fail
;
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 (arg1
)->SetData(arg2
);
27286 wxPyEndAllowThreads(__tstate
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 Py_INCREF(Py_None
); resultobj
= Py_None
;
27296 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27297 PyObject
*resultobj
;
27298 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27299 wxTreeItemId
*result
;
27300 PyObject
* obj0
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
27306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27307 if (SWIG_arg_fail(1)) SWIG_fail
;
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
27312 result
= (wxTreeItemId
*) &_result_ref
;
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
27325 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27328 wxTreeItemId
*arg2
= 0 ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "self",(char *) "id", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
27336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail
;
27339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27340 if (SWIG_arg_fail(2)) SWIG_fail
;
27341 if (arg2
== NULL
) {
27342 SWIG_null_ref("wxTreeItemId");
27344 if (SWIG_arg_fail(2)) SWIG_fail
;
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 Py_INCREF(Py_None
); resultobj
= Py_None
;
27360 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
27369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
27370 if (SWIG_arg_fail(1)) SWIG_fail
;
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 wxPyTreeItemData_Destroy(arg1
);
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 Py_INCREF(Py_None
); resultobj
= Py_None
;
27385 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
27387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27388 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
27390 return Py_BuildValue((char *)"");
27392 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
;
27394 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27395 int arg2
= (int) 0 ;
27396 wxTreeEvent
*result
;
27397 PyObject
* obj0
= 0 ;
27398 PyObject
* obj1
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "commandType",(char *) "id", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27406 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
27407 if (SWIG_arg_fail(1)) SWIG_fail
;
27412 arg2
= (int)(SWIG_As_int(obj1
));
27413 if (SWIG_arg_fail(2)) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
27430 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27433 wxTreeItemId result
;
27434 PyObject
* obj0
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
27440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27450 wxTreeItemId
* resultptr
;
27451 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27460 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27463 wxTreeItemId
*arg2
= 0 ;
27464 PyObject
* obj0
= 0 ;
27465 PyObject
* obj1
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self",(char *) "item", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27472 if (SWIG_arg_fail(1)) SWIG_fail
;
27474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27475 if (SWIG_arg_fail(2)) SWIG_fail
;
27476 if (arg2
== NULL
) {
27477 SWIG_null_ref("wxTreeItemId");
27479 if (SWIG_arg_fail(2)) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27488 Py_INCREF(Py_None
); resultobj
= Py_None
;
27495 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27496 PyObject
*resultobj
;
27497 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27498 wxTreeItemId result
;
27499 PyObject
* obj0
= 0 ;
27500 char *kwnames
[] = {
27501 (char *) "self", NULL
27504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
27505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27506 if (SWIG_arg_fail(1)) SWIG_fail
;
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27515 wxTreeItemId
* resultptr
;
27516 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
27517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27525 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27526 PyObject
*resultobj
;
27527 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27528 wxTreeItemId
*arg2
= 0 ;
27529 PyObject
* obj0
= 0 ;
27530 PyObject
* obj1
= 0 ;
27531 char *kwnames
[] = {
27532 (char *) "self",(char *) "item", NULL
27535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27537 if (SWIG_arg_fail(1)) SWIG_fail
;
27539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
27540 if (SWIG_arg_fail(2)) SWIG_fail
;
27541 if (arg2
== NULL
) {
27542 SWIG_null_ref("wxTreeItemId");
27544 if (SWIG_arg_fail(2)) SWIG_fail
;
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
27550 wxPyEndAllowThreads(__tstate
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27553 Py_INCREF(Py_None
); resultobj
= Py_None
;
27560 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
;
27562 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27564 PyObject
* obj0
= 0 ;
27565 char *kwnames
[] = {
27566 (char *) "self", NULL
27569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
27570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27571 if (SWIG_arg_fail(1)) SWIG_fail
;
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27580 wxPoint
* resultptr
;
27581 resultptr
= new wxPoint((wxPoint
&)(result
));
27582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27590 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
;
27592 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27593 wxPoint
*arg2
= 0 ;
27595 PyObject
* obj0
= 0 ;
27596 PyObject
* obj1
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self",(char *) "pt", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
27602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27603 if (SWIG_arg_fail(1)) SWIG_fail
;
27606 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 Py_INCREF(Py_None
); resultobj
= Py_None
;
27622 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27623 PyObject
*resultobj
;
27624 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27625 wxKeyEvent
*result
;
27626 PyObject
* obj0
= 0 ;
27627 char *kwnames
[] = {
27628 (char *) "self", NULL
27631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
27632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27633 if (SWIG_arg_fail(1)) SWIG_fail
;
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
27638 result
= (wxKeyEvent
*) &_result_ref
;
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
27651 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27655 PyObject
* obj0
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "self", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
27661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27662 if (SWIG_arg_fail(1)) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27671 resultobj
= SWIG_From_int((int)(result
));
27679 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27681 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27682 wxKeyEvent
*arg2
= 0 ;
27683 PyObject
* obj0
= 0 ;
27684 PyObject
* obj1
= 0 ;
27685 char *kwnames
[] = {
27686 (char *) "self",(char *) "evt", NULL
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
27690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27691 if (SWIG_arg_fail(1)) SWIG_fail
;
27693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
27694 if (SWIG_arg_fail(2)) SWIG_fail
;
27695 if (arg2
== NULL
) {
27696 SWIG_null_ref("wxKeyEvent");
27698 if (SWIG_arg_fail(2)) SWIG_fail
;
27701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27702 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
27704 wxPyEndAllowThreads(__tstate
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27707 Py_INCREF(Py_None
); resultobj
= Py_None
;
27714 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27715 PyObject
*resultobj
;
27716 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27718 PyObject
* obj0
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
27724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27725 if (SWIG_arg_fail(1)) SWIG_fail
;
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
27730 result
= (wxString
*) &_result_ref
;
27733 wxPyEndAllowThreads(__tstate
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27738 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27740 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27749 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27750 PyObject
*resultobj
;
27751 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27752 wxString
*arg2
= 0 ;
27753 bool temp2
= false ;
27754 PyObject
* obj0
= 0 ;
27755 PyObject
* obj1
= 0 ;
27756 char *kwnames
[] = {
27757 (char *) "self",(char *) "label", NULL
27760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27762 if (SWIG_arg_fail(1)) SWIG_fail
;
27764 arg2
= wxString_in_helper(obj1
);
27765 if (arg2
== NULL
) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 (arg1
)->SetLabel((wxString
const &)*arg2
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 Py_INCREF(Py_None
); resultobj
= Py_None
;
27790 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27791 PyObject
*resultobj
;
27792 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27794 PyObject
* obj0
= 0 ;
27795 char *kwnames
[] = {
27796 (char *) "self", NULL
27799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
27800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27801 if (SWIG_arg_fail(1)) SWIG_fail
;
27803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27804 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
27806 wxPyEndAllowThreads(__tstate
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27818 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27822 PyObject
* obj0
= 0 ;
27823 PyObject
* obj1
= 0 ;
27824 char *kwnames
[] = {
27825 (char *) "self",(char *) "editCancelled", NULL
27828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
27829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27830 if (SWIG_arg_fail(1)) SWIG_fail
;
27832 arg2
= (bool)(SWIG_As_bool(obj1
));
27833 if (SWIG_arg_fail(2)) SWIG_fail
;
27836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27837 (arg1
)->SetEditCanceled(arg2
);
27839 wxPyEndAllowThreads(__tstate
);
27840 if (PyErr_Occurred()) SWIG_fail
;
27842 Py_INCREF(Py_None
); resultobj
= Py_None
;
27849 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27850 PyObject
*resultobj
;
27851 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27852 wxString
*arg2
= 0 ;
27853 bool temp2
= false ;
27854 PyObject
* obj0
= 0 ;
27855 PyObject
* obj1
= 0 ;
27856 char *kwnames
[] = {
27857 (char *) "self",(char *) "toolTip", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27862 if (SWIG_arg_fail(1)) SWIG_fail
;
27864 arg2
= wxString_in_helper(obj1
);
27865 if (arg2
== NULL
) SWIG_fail
;
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27875 Py_INCREF(Py_None
); resultobj
= Py_None
;
27890 static PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
;
27892 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
27894 PyObject
* obj0
= 0 ;
27895 char *kwnames
[] = {
27896 (char *) "self", NULL
27899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetToolTip",kwnames
,&obj0
)) goto fail
;
27900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_EXCEPTION
| 0);
27901 if (SWIG_arg_fail(1)) SWIG_fail
;
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 result
= (arg1
)->GetToolTip();
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27922 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
27924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27925 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
27927 return Py_BuildValue((char *)"");
27929 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27930 PyObject
*resultobj
;
27931 wxWindow
*arg1
= (wxWindow
*) 0 ;
27932 int arg2
= (int) -1 ;
27933 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27934 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27935 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27936 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27937 long arg5
= (long) wxTR_DEFAULT_STYLE
;
27938 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27939 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27940 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
27941 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27942 wxPyTreeCtrl
*result
;
27945 bool temp7
= false ;
27946 PyObject
* obj0
= 0 ;
27947 PyObject
* obj1
= 0 ;
27948 PyObject
* obj2
= 0 ;
27949 PyObject
* obj3
= 0 ;
27950 PyObject
* obj4
= 0 ;
27951 PyObject
* obj5
= 0 ;
27952 PyObject
* obj6
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27959 if (SWIG_arg_fail(1)) SWIG_fail
;
27962 arg2
= (int)(SWIG_As_int(obj1
));
27963 if (SWIG_arg_fail(2)) SWIG_fail
;
27969 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27975 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27980 arg5
= (long)(SWIG_As_long(obj4
));
27981 if (SWIG_arg_fail(5)) SWIG_fail
;
27986 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27987 if (SWIG_arg_fail(6)) SWIG_fail
;
27988 if (arg6
== NULL
) {
27989 SWIG_null_ref("wxValidator");
27991 if (SWIG_arg_fail(6)) SWIG_fail
;
27996 arg7
= wxString_in_helper(obj6
);
27997 if (arg7
== NULL
) SWIG_fail
;
28002 if (!wxPyCheckForApp()) SWIG_fail
;
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28024 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
;
28026 wxPyTreeCtrl
*result
;
28027 char *kwnames
[] = {
28031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
28033 if (!wxPyCheckForApp()) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
28047 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
;
28049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28050 wxWindow
*arg2
= (wxWindow
*) 0 ;
28051 int arg3
= (int) -1 ;
28052 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28053 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28054 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28055 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28056 long arg6
= (long) wxTR_DEFAULT_STYLE
;
28057 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28058 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28059 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
28060 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28064 bool temp8
= false ;
28065 PyObject
* obj0
= 0 ;
28066 PyObject
* obj1
= 0 ;
28067 PyObject
* obj2
= 0 ;
28068 PyObject
* obj3
= 0 ;
28069 PyObject
* obj4
= 0 ;
28070 PyObject
* obj5
= 0 ;
28071 PyObject
* obj6
= 0 ;
28072 PyObject
* obj7
= 0 ;
28073 char *kwnames
[] = {
28074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
28078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28079 if (SWIG_arg_fail(1)) SWIG_fail
;
28080 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28081 if (SWIG_arg_fail(2)) SWIG_fail
;
28084 arg3
= (int)(SWIG_As_int(obj2
));
28085 if (SWIG_arg_fail(3)) SWIG_fail
;
28091 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28097 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28102 arg6
= (long)(SWIG_As_long(obj5
));
28103 if (SWIG_arg_fail(6)) SWIG_fail
;
28108 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28109 if (SWIG_arg_fail(7)) SWIG_fail
;
28110 if (arg7
== NULL
) {
28111 SWIG_null_ref("wxValidator");
28113 if (SWIG_arg_fail(7)) SWIG_fail
;
28118 arg8
= wxString_in_helper(obj7
);
28119 if (arg8
== NULL
) SWIG_fail
;
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28127 wxPyEndAllowThreads(__tstate
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28147 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28150 PyObject
*arg2
= (PyObject
*) 0 ;
28151 PyObject
*arg3
= (PyObject
*) 0 ;
28152 PyObject
* obj0
= 0 ;
28153 PyObject
* obj1
= 0 ;
28154 PyObject
* obj2
= 0 ;
28155 char *kwnames
[] = {
28156 (char *) "self",(char *) "self",(char *) "_class", NULL
28159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28161 if (SWIG_arg_fail(1)) SWIG_fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 Py_INCREF(Py_None
); resultobj
= Py_None
;
28178 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28179 PyObject
*resultobj
;
28180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28182 PyObject
* obj0
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "self", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
28188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28189 if (SWIG_arg_fail(1)) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
28206 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
;
28208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28209 unsigned int result
;
28210 PyObject
* obj0
= 0 ;
28211 char *kwnames
[] = {
28212 (char *) "self", NULL
28215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
28216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28217 if (SWIG_arg_fail(1)) SWIG_fail
;
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28234 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28235 PyObject
*resultobj
;
28236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28237 unsigned int arg2
;
28238 PyObject
* obj0
= 0 ;
28239 PyObject
* obj1
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self",(char *) "indent", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
28245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28246 if (SWIG_arg_fail(1)) SWIG_fail
;
28248 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28249 if (SWIG_arg_fail(2)) SWIG_fail
;
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 (arg1
)->SetIndent(arg2
);
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 Py_INCREF(Py_None
); resultobj
= Py_None
;
28265 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
;
28267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28268 unsigned int result
;
28269 PyObject
* obj0
= 0 ;
28270 char *kwnames
[] = {
28271 (char *) "self", NULL
28274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
28275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28276 if (SWIG_arg_fail(1)) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
28293 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28294 PyObject
*resultobj
;
28295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28296 unsigned int arg2
;
28297 PyObject
* obj0
= 0 ;
28298 PyObject
* obj1
= 0 ;
28299 char *kwnames
[] = {
28300 (char *) "self",(char *) "spacing", NULL
28303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
28304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28305 if (SWIG_arg_fail(1)) SWIG_fail
;
28307 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
28308 if (SWIG_arg_fail(2)) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 (arg1
)->SetSpacing(arg2
);
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 Py_INCREF(Py_None
); resultobj
= Py_None
;
28324 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
;
28326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28327 wxImageList
*result
;
28328 PyObject
* obj0
= 0 ;
28329 char *kwnames
[] = {
28330 (char *) "self", NULL
28333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
28334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28335 if (SWIG_arg_fail(1)) SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28344 resultobj
= wxPyMake_wxObject(result
, 0);
28352 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
;
28354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28355 wxImageList
*result
;
28356 PyObject
* obj0
= 0 ;
28357 char *kwnames
[] = {
28358 (char *) "self", NULL
28361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
28362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28363 if (SWIG_arg_fail(1)) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= wxPyMake_wxObject(result
, 0);
28380 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
;
28382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28383 wxImageList
*arg2
= (wxImageList
*) 0 ;
28384 PyObject
* obj0
= 0 ;
28385 PyObject
* obj1
= 0 ;
28386 char *kwnames
[] = {
28387 (char *) "self",(char *) "imageList", NULL
28390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28392 if (SWIG_arg_fail(1)) SWIG_fail
;
28393 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28394 if (SWIG_arg_fail(2)) SWIG_fail
;
28396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28397 (arg1
)->SetImageList(arg2
);
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 Py_INCREF(Py_None
); resultobj
= Py_None
;
28409 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
;
28411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28412 wxImageList
*arg2
= (wxImageList
*) 0 ;
28413 PyObject
* obj0
= 0 ;
28414 PyObject
* obj1
= 0 ;
28415 char *kwnames
[] = {
28416 (char *) "self",(char *) "imageList", NULL
28419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28421 if (SWIG_arg_fail(1)) SWIG_fail
;
28422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| 0);
28423 if (SWIG_arg_fail(2)) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 (arg1
)->SetStateImageList(arg2
);
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28431 Py_INCREF(Py_None
); resultobj
= Py_None
;
28438 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
;
28440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28441 wxImageList
*arg2
= (wxImageList
*) 0 ;
28442 PyObject
* obj0
= 0 ;
28443 PyObject
* obj1
= 0 ;
28444 char *kwnames
[] = {
28445 (char *) "self",(char *) "imageList", NULL
28448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28450 if (SWIG_arg_fail(1)) SWIG_fail
;
28451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28452 if (SWIG_arg_fail(2)) SWIG_fail
;
28454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28455 (arg1
)->AssignImageList(arg2
);
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28460 Py_INCREF(Py_None
); resultobj
= Py_None
;
28467 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
;
28469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28470 wxImageList
*arg2
= (wxImageList
*) 0 ;
28471 PyObject
* obj0
= 0 ;
28472 PyObject
* obj1
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self",(char *) "imageList", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
28478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail
;
28480 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageList
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
28481 if (SWIG_arg_fail(2)) SWIG_fail
;
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 (arg1
)->AssignStateImageList(arg2
);
28486 wxPyEndAllowThreads(__tstate
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 Py_INCREF(Py_None
); resultobj
= Py_None
;
28496 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28499 wxTreeItemId
*arg2
= 0 ;
28501 PyObject
* obj0
= 0 ;
28502 PyObject
* obj1
= 0 ;
28503 char *kwnames
[] = {
28504 (char *) "self",(char *) "item", NULL
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) 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
;
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28538 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28539 PyObject
*resultobj
;
28540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28541 wxTreeItemId
*arg2
= 0 ;
28542 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 PyObject
* obj2
= 0 ;
28547 char *kwnames
[] = {
28548 (char *) "self",(char *) "item",(char *) "which", NULL
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
28564 arg3
= (wxTreeItemIcon
)(SWIG_As_int(obj2
));
28565 if (SWIG_arg_fail(3)) SWIG_fail
;
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28576 resultobj
= SWIG_From_int((int)(result
));
28584 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
;
28586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28587 wxTreeItemId
*arg2
= 0 ;
28588 wxPyTreeItemData
*result
;
28589 PyObject
* obj0
= 0 ;
28590 PyObject
* obj1
= 0 ;
28591 char *kwnames
[] = {
28592 (char *) "self",(char *) "item", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
28596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28597 if (SWIG_arg_fail(1)) SWIG_fail
;
28599 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28600 if (SWIG_arg_fail(2)) SWIG_fail
;
28601 if (arg2
== NULL
) {
28602 SWIG_null_ref("wxTreeItemId");
28604 if (SWIG_arg_fail(2)) SWIG_fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
28620 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28621 PyObject
*resultobj
;
28622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28623 wxTreeItemId
*arg2
= 0 ;
28625 PyObject
* obj0
= 0 ;
28626 PyObject
* obj1
= 0 ;
28627 char *kwnames
[] = {
28628 (char *) "self",(char *) "item", NULL
28631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
28632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28633 if (SWIG_arg_fail(1)) SWIG_fail
;
28635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28636 if (SWIG_arg_fail(2)) SWIG_fail
;
28637 if (arg2
== NULL
) {
28638 SWIG_null_ref("wxTreeItemId");
28640 if (SWIG_arg_fail(2)) SWIG_fail
;
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= result
;
28656 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28659 wxTreeItemId
*arg2
= 0 ;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 char *kwnames
[] = {
28664 (char *) "self",(char *) "item", NULL
28667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28669 if (SWIG_arg_fail(1)) SWIG_fail
;
28671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28672 if (SWIG_arg_fail(2)) SWIG_fail
;
28673 if (arg2
== NULL
) {
28674 SWIG_null_ref("wxTreeItemId");
28676 if (SWIG_arg_fail(2)) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28686 wxColour
* resultptr
;
28687 resultptr
= new wxColour((wxColour
&)(result
));
28688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28696 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28699 wxTreeItemId
*arg2
= 0 ;
28701 PyObject
* obj0
= 0 ;
28702 PyObject
* obj1
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self",(char *) "item", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail
;
28711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(2)) SWIG_fail
;
28713 if (arg2
== NULL
) {
28714 SWIG_null_ref("wxTreeItemId");
28716 if (SWIG_arg_fail(2)) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28726 wxColour
* resultptr
;
28727 resultptr
= new wxColour((wxColour
&)(result
));
28728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
28736 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28739 wxTreeItemId
*arg2
= 0 ;
28741 PyObject
* obj0
= 0 ;
28742 PyObject
* obj1
= 0 ;
28743 char *kwnames
[] = {
28744 (char *) "self",(char *) "item", NULL
28747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28749 if (SWIG_arg_fail(1)) SWIG_fail
;
28751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28752 if (SWIG_arg_fail(2)) SWIG_fail
;
28753 if (arg2
== NULL
) {
28754 SWIG_null_ref("wxTreeItemId");
28756 if (SWIG_arg_fail(2)) SWIG_fail
;
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28760 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28766 wxFont
* resultptr
;
28767 resultptr
= new wxFont((wxFont
&)(result
));
28768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
28776 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
;
28778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28779 wxTreeItemId
*arg2
= 0 ;
28780 wxString
*arg3
= 0 ;
28781 bool temp3
= false ;
28782 PyObject
* obj0
= 0 ;
28783 PyObject
* obj1
= 0 ;
28784 PyObject
* obj2
= 0 ;
28785 char *kwnames
[] = {
28786 (char *) "self",(char *) "item",(char *) "text", NULL
28789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28791 if (SWIG_arg_fail(1)) SWIG_fail
;
28793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28794 if (SWIG_arg_fail(2)) SWIG_fail
;
28795 if (arg2
== NULL
) {
28796 SWIG_null_ref("wxTreeItemId");
28798 if (SWIG_arg_fail(2)) SWIG_fail
;
28801 arg3
= wxString_in_helper(obj2
);
28802 if (arg3
== NULL
) SWIG_fail
;
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 Py_INCREF(Py_None
); resultobj
= Py_None
;
28827 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28828 PyObject
*resultobj
;
28829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28830 wxTreeItemId
*arg2
= 0 ;
28832 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
28833 PyObject
* obj0
= 0 ;
28834 PyObject
* obj1
= 0 ;
28835 PyObject
* obj2
= 0 ;
28836 PyObject
* obj3
= 0 ;
28837 char *kwnames
[] = {
28838 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28843 if (SWIG_arg_fail(1)) SWIG_fail
;
28845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28846 if (SWIG_arg_fail(2)) SWIG_fail
;
28847 if (arg2
== NULL
) {
28848 SWIG_null_ref("wxTreeItemId");
28850 if (SWIG_arg_fail(2)) SWIG_fail
;
28853 arg3
= (int)(SWIG_As_int(obj2
));
28854 if (SWIG_arg_fail(3)) SWIG_fail
;
28858 arg4
= (wxTreeItemIcon
)(SWIG_As_int(obj3
));
28859 if (SWIG_arg_fail(4)) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 Py_INCREF(Py_None
); resultobj
= Py_None
;
28876 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28877 PyObject
*resultobj
;
28878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28879 wxTreeItemId
*arg2
= 0 ;
28880 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
28881 PyObject
* obj0
= 0 ;
28882 PyObject
* obj1
= 0 ;
28883 PyObject
* obj2
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "self",(char *) "item",(char *) "data", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28890 if (SWIG_arg_fail(1)) SWIG_fail
;
28892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28893 if (SWIG_arg_fail(2)) SWIG_fail
;
28894 if (arg2
== NULL
) {
28895 SWIG_null_ref("wxTreeItemId");
28897 if (SWIG_arg_fail(2)) SWIG_fail
;
28899 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
28900 if (SWIG_arg_fail(3)) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 Py_INCREF(Py_None
); resultobj
= Py_None
;
28915 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
;
28917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28918 wxTreeItemId
*arg2
= 0 ;
28919 PyObject
*arg3
= (PyObject
*) 0 ;
28920 PyObject
* obj0
= 0 ;
28921 PyObject
* obj1
= 0 ;
28922 PyObject
* obj2
= 0 ;
28923 char *kwnames
[] = {
28924 (char *) "self",(char *) "item",(char *) "obj", NULL
28927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28929 if (SWIG_arg_fail(1)) SWIG_fail
;
28931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28932 if (SWIG_arg_fail(2)) SWIG_fail
;
28933 if (arg2
== NULL
) {
28934 SWIG_null_ref("wxTreeItemId");
28936 if (SWIG_arg_fail(2)) SWIG_fail
;
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 Py_INCREF(Py_None
); resultobj
= Py_None
;
28953 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28954 PyObject
*resultobj
;
28955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28956 wxTreeItemId
*arg2
= 0 ;
28957 bool arg3
= (bool) true ;
28958 PyObject
* obj0
= 0 ;
28959 PyObject
* obj1
= 0 ;
28960 PyObject
* obj2
= 0 ;
28961 char *kwnames
[] = {
28962 (char *) "self",(char *) "item",(char *) "has", NULL
28965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
28967 if (SWIG_arg_fail(1)) SWIG_fail
;
28969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
28970 if (SWIG_arg_fail(2)) SWIG_fail
;
28971 if (arg2
== NULL
) {
28972 SWIG_null_ref("wxTreeItemId");
28974 if (SWIG_arg_fail(2)) SWIG_fail
;
28978 arg3
= (bool)(SWIG_As_bool(obj2
));
28979 if (SWIG_arg_fail(3)) SWIG_fail
;
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28989 Py_INCREF(Py_None
); resultobj
= Py_None
;
28996 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28997 PyObject
*resultobj
;
28998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28999 wxTreeItemId
*arg2
= 0 ;
29000 bool arg3
= (bool) true ;
29001 PyObject
* obj0
= 0 ;
29002 PyObject
* obj1
= 0 ;
29003 PyObject
* obj2
= 0 ;
29004 char *kwnames
[] = {
29005 (char *) "self",(char *) "item",(char *) "bold", NULL
29008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29010 if (SWIG_arg_fail(1)) SWIG_fail
;
29012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29013 if (SWIG_arg_fail(2)) SWIG_fail
;
29014 if (arg2
== NULL
) {
29015 SWIG_null_ref("wxTreeItemId");
29017 if (SWIG_arg_fail(2)) SWIG_fail
;
29021 arg3
= (bool)(SWIG_As_bool(obj2
));
29022 if (SWIG_arg_fail(3)) SWIG_fail
;
29026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 Py_INCREF(Py_None
); resultobj
= Py_None
;
29039 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29040 PyObject
*resultobj
;
29041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29042 wxTreeItemId
*arg2
= 0 ;
29043 bool arg3
= (bool) true ;
29044 PyObject
* obj0
= 0 ;
29045 PyObject
* obj1
= 0 ;
29046 PyObject
* obj2
= 0 ;
29047 char *kwnames
[] = {
29048 (char *) "self",(char *) "item",(char *) "highlight", NULL
29051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",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 arg3
= (bool)(SWIG_As_bool(obj2
));
29065 if (SWIG_arg_fail(3)) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 Py_INCREF(Py_None
); resultobj
= Py_None
;
29082 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29085 wxTreeItemId
*arg2
= 0 ;
29086 wxColour
*arg3
= 0 ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 PyObject
* obj2
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self",(char *) "item",(char *) "col", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail
;
29099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29100 if (SWIG_arg_fail(2)) SWIG_fail
;
29101 if (arg2
== NULL
) {
29102 SWIG_null_ref("wxTreeItemId");
29104 if (SWIG_arg_fail(2)) SWIG_fail
;
29108 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29117 Py_INCREF(Py_None
); resultobj
= Py_None
;
29124 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29125 PyObject
*resultobj
;
29126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29127 wxTreeItemId
*arg2
= 0 ;
29128 wxColour
*arg3
= 0 ;
29130 PyObject
* obj0
= 0 ;
29131 PyObject
* obj1
= 0 ;
29132 PyObject
* obj2
= 0 ;
29133 char *kwnames
[] = {
29134 (char *) "self",(char *) "item",(char *) "col", NULL
29137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29139 if (SWIG_arg_fail(1)) SWIG_fail
;
29141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29142 if (SWIG_arg_fail(2)) SWIG_fail
;
29143 if (arg2
== NULL
) {
29144 SWIG_null_ref("wxTreeItemId");
29146 if (SWIG_arg_fail(2)) SWIG_fail
;
29150 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29154 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
29156 wxPyEndAllowThreads(__tstate
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29159 Py_INCREF(Py_None
); resultobj
= Py_None
;
29166 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29167 PyObject
*resultobj
;
29168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29169 wxTreeItemId
*arg2
= 0 ;
29171 PyObject
* obj0
= 0 ;
29172 PyObject
* obj1
= 0 ;
29173 PyObject
* obj2
= 0 ;
29174 char *kwnames
[] = {
29175 (char *) "self",(char *) "item",(char *) "font", NULL
29178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) 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 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29191 if (SWIG_arg_fail(3)) SWIG_fail
;
29192 if (arg3
== NULL
) {
29193 SWIG_null_ref("wxFont");
29195 if (SWIG_arg_fail(3)) SWIG_fail
;
29198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29199 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 Py_INCREF(Py_None
); resultobj
= Py_None
;
29211 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
;
29213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29214 wxTreeItemId
*arg2
= 0 ;
29216 PyObject
* obj0
= 0 ;
29217 PyObject
* obj1
= 0 ;
29218 char *kwnames
[] = {
29219 (char *) "self",(char *) "item", NULL
29222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29224 if (SWIG_arg_fail(1)) SWIG_fail
;
29226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29227 if (SWIG_arg_fail(2)) SWIG_fail
;
29228 if (arg2
== NULL
) {
29229 SWIG_null_ref("wxTreeItemId");
29231 if (SWIG_arg_fail(2)) SWIG_fail
;
29234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29235 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
29237 wxPyEndAllowThreads(__tstate
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29249 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29250 PyObject
*resultobj
;
29251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29252 wxTreeItemId
*arg2
= 0 ;
29254 PyObject
* obj0
= 0 ;
29255 PyObject
* obj1
= 0 ;
29256 char *kwnames
[] = {
29257 (char *) "self",(char *) "item", NULL
29260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
29261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29262 if (SWIG_arg_fail(1)) SWIG_fail
;
29264 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29265 if (SWIG_arg_fail(2)) SWIG_fail
;
29266 if (arg2
== NULL
) {
29267 SWIG_null_ref("wxTreeItemId");
29269 if (SWIG_arg_fail(2)) SWIG_fail
;
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29287 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29288 PyObject
*resultobj
;
29289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29290 wxTreeItemId
*arg2
= 0 ;
29292 PyObject
* obj0
= 0 ;
29293 PyObject
* obj1
= 0 ;
29294 char *kwnames
[] = {
29295 (char *) "self",(char *) "item", NULL
29298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
29299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29300 if (SWIG_arg_fail(1)) SWIG_fail
;
29302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29303 if (SWIG_arg_fail(2)) SWIG_fail
;
29304 if (arg2
== NULL
) {
29305 SWIG_null_ref("wxTreeItemId");
29307 if (SWIG_arg_fail(2)) SWIG_fail
;
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29325 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29326 PyObject
*resultobj
;
29327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29328 wxTreeItemId
*arg2
= 0 ;
29330 PyObject
* obj0
= 0 ;
29331 PyObject
* obj1
= 0 ;
29332 char *kwnames
[] = {
29333 (char *) "self",(char *) "item", NULL
29336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
29337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29338 if (SWIG_arg_fail(1)) SWIG_fail
;
29340 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29341 if (SWIG_arg_fail(2)) SWIG_fail
;
29342 if (arg2
== NULL
) {
29343 SWIG_null_ref("wxTreeItemId");
29345 if (SWIG_arg_fail(2)) SWIG_fail
;
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
29351 wxPyEndAllowThreads(__tstate
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29363 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
;
29365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29366 wxTreeItemId
*arg2
= 0 ;
29368 PyObject
* obj0
= 0 ;
29369 PyObject
* obj1
= 0 ;
29370 char *kwnames
[] = {
29371 (char *) "self",(char *) "item", NULL
29374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
29375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29376 if (SWIG_arg_fail(1)) SWIG_fail
;
29378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29379 if (SWIG_arg_fail(2)) SWIG_fail
;
29380 if (arg2
== NULL
) {
29381 SWIG_null_ref("wxTreeItemId");
29383 if (SWIG_arg_fail(2)) SWIG_fail
;
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29401 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29402 PyObject
*resultobj
;
29403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29404 wxTreeItemId
*arg2
= 0 ;
29405 bool arg3
= (bool) true ;
29407 PyObject
* obj0
= 0 ;
29408 PyObject
* obj1
= 0 ;
29409 PyObject
* obj2
= 0 ;
29410 char *kwnames
[] = {
29411 (char *) "self",(char *) "item",(char *) "recursively", NULL
29414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29416 if (SWIG_arg_fail(1)) SWIG_fail
;
29418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29419 if (SWIG_arg_fail(2)) SWIG_fail
;
29420 if (arg2
== NULL
) {
29421 SWIG_null_ref("wxTreeItemId");
29423 if (SWIG_arg_fail(2)) SWIG_fail
;
29427 arg3
= (bool)(SWIG_As_bool(obj2
));
29428 if (SWIG_arg_fail(3)) SWIG_fail
;
29432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29433 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29439 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
29447 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29448 PyObject
*resultobj
;
29449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29450 wxTreeItemId result
;
29451 PyObject
* obj0
= 0 ;
29452 char *kwnames
[] = {
29453 (char *) "self", NULL
29456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
29457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29458 if (SWIG_arg_fail(1)) SWIG_fail
;
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29467 wxTreeItemId
* resultptr
;
29468 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29477 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
;
29479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29480 wxTreeItemId result
;
29481 PyObject
* obj0
= 0 ;
29482 char *kwnames
[] = {
29483 (char *) "self", NULL
29486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
29487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29488 if (SWIG_arg_fail(1)) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29497 wxTreeItemId
* resultptr
;
29498 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29507 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29508 PyObject
*resultobj
;
29509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29511 PyObject
* obj0
= 0 ;
29512 char *kwnames
[] = {
29513 (char *) "self", NULL
29516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
29517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29518 if (SWIG_arg_fail(1)) SWIG_fail
;
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29526 resultobj
= result
;
29533 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29534 PyObject
*resultobj
;
29535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29536 wxTreeItemId
*arg2
= 0 ;
29537 wxTreeItemId result
;
29538 PyObject
* obj0
= 0 ;
29539 PyObject
* obj1
= 0 ;
29540 char *kwnames
[] = {
29541 (char *) "self",(char *) "item", NULL
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29546 if (SWIG_arg_fail(1)) SWIG_fail
;
29548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29549 if (SWIG_arg_fail(2)) SWIG_fail
;
29550 if (arg2
== NULL
) {
29551 SWIG_null_ref("wxTreeItemId");
29553 if (SWIG_arg_fail(2)) SWIG_fail
;
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29563 wxTreeItemId
* resultptr
;
29564 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29573 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29574 PyObject
*resultobj
;
29575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29576 wxTreeItemId
*arg2
= 0 ;
29578 PyObject
* obj0
= 0 ;
29579 PyObject
* obj1
= 0 ;
29580 char *kwnames
[] = {
29581 (char *) "self",(char *) "item", NULL
29584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29586 if (SWIG_arg_fail(1)) SWIG_fail
;
29588 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29589 if (SWIG_arg_fail(2)) SWIG_fail
;
29590 if (arg2
== NULL
) {
29591 SWIG_null_ref("wxTreeItemId");
29593 if (SWIG_arg_fail(2)) SWIG_fail
;
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= result
;
29609 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29610 PyObject
*resultobj
;
29611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29612 wxTreeItemId
*arg2
= 0 ;
29613 void *arg3
= (void *) 0 ;
29615 PyObject
* obj0
= 0 ;
29616 PyObject
* obj1
= 0 ;
29617 PyObject
* obj2
= 0 ;
29618 char *kwnames
[] = {
29619 (char *) "self",(char *) "item",(char *) "cookie", NULL
29622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29624 if (SWIG_arg_fail(1)) SWIG_fail
;
29626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29627 if (SWIG_arg_fail(2)) SWIG_fail
;
29628 if (arg2
== NULL
) {
29629 SWIG_null_ref("wxTreeItemId");
29631 if (SWIG_arg_fail(2)) SWIG_fail
;
29634 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),0,SWIG_POINTER_EXCEPTION
|0))== -1) {
29635 SWIG_arg_fail(3);SWIG_fail
;
29639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29640 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
29642 wxPyEndAllowThreads(__tstate
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29645 resultobj
= result
;
29652 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29653 PyObject
*resultobj
;
29654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29655 wxTreeItemId
*arg2
= 0 ;
29656 wxTreeItemId result
;
29657 PyObject
* obj0
= 0 ;
29658 PyObject
* obj1
= 0 ;
29659 char *kwnames
[] = {
29660 (char *) "self",(char *) "item", NULL
29663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29665 if (SWIG_arg_fail(1)) SWIG_fail
;
29667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29668 if (SWIG_arg_fail(2)) SWIG_fail
;
29669 if (arg2
== NULL
) {
29670 SWIG_null_ref("wxTreeItemId");
29672 if (SWIG_arg_fail(2)) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29682 wxTreeItemId
* resultptr
;
29683 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29692 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29695 wxTreeItemId
*arg2
= 0 ;
29696 wxTreeItemId result
;
29697 PyObject
* obj0
= 0 ;
29698 PyObject
* obj1
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "self",(char *) "item", NULL
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29705 if (SWIG_arg_fail(1)) SWIG_fail
;
29707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29708 if (SWIG_arg_fail(2)) SWIG_fail
;
29709 if (arg2
== NULL
) {
29710 SWIG_null_ref("wxTreeItemId");
29712 if (SWIG_arg_fail(2)) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
29718 wxPyEndAllowThreads(__tstate
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29722 wxTreeItemId
* resultptr
;
29723 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29732 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29733 PyObject
*resultobj
;
29734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29735 wxTreeItemId
*arg2
= 0 ;
29736 wxTreeItemId result
;
29737 PyObject
* obj0
= 0 ;
29738 PyObject
* obj1
= 0 ;
29739 char *kwnames
[] = {
29740 (char *) "self",(char *) "item", NULL
29743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
29744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29745 if (SWIG_arg_fail(1)) SWIG_fail
;
29747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29748 if (SWIG_arg_fail(2)) SWIG_fail
;
29749 if (arg2
== NULL
) {
29750 SWIG_null_ref("wxTreeItemId");
29752 if (SWIG_arg_fail(2)) SWIG_fail
;
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29756 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29762 wxTreeItemId
* resultptr
;
29763 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29772 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29773 PyObject
*resultobj
;
29774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29775 wxTreeItemId result
;
29776 PyObject
* obj0
= 0 ;
29777 char *kwnames
[] = {
29778 (char *) "self", NULL
29781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
29782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29783 if (SWIG_arg_fail(1)) SWIG_fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29792 wxTreeItemId
* resultptr
;
29793 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29802 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
;
29804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29805 wxTreeItemId
*arg2
= 0 ;
29806 wxTreeItemId result
;
29807 PyObject
* obj0
= 0 ;
29808 PyObject
* obj1
= 0 ;
29809 char *kwnames
[] = {
29810 (char *) "self",(char *) "item", NULL
29813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29815 if (SWIG_arg_fail(1)) SWIG_fail
;
29817 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29818 if (SWIG_arg_fail(2)) SWIG_fail
;
29819 if (arg2
== NULL
) {
29820 SWIG_null_ref("wxTreeItemId");
29822 if (SWIG_arg_fail(2)) SWIG_fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29832 wxTreeItemId
* resultptr
;
29833 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29842 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
;
29844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29845 wxTreeItemId
*arg2
= 0 ;
29846 wxTreeItemId result
;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 char *kwnames
[] = {
29850 (char *) "self",(char *) "item", NULL
29853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
29854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29855 if (SWIG_arg_fail(1)) SWIG_fail
;
29857 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29858 if (SWIG_arg_fail(2)) SWIG_fail
;
29859 if (arg2
== NULL
) {
29860 SWIG_null_ref("wxTreeItemId");
29862 if (SWIG_arg_fail(2)) SWIG_fail
;
29865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29866 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
29868 wxPyEndAllowThreads(__tstate
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29872 wxTreeItemId
* resultptr
;
29873 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29882 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
;
29884 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29885 wxString
*arg2
= 0 ;
29886 int arg3
= (int) -1 ;
29887 int arg4
= (int) -1 ;
29888 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
29889 wxTreeItemId result
;
29890 bool temp2
= false ;
29891 PyObject
* obj0
= 0 ;
29892 PyObject
* obj1
= 0 ;
29893 PyObject
* obj2
= 0 ;
29894 PyObject
* obj3
= 0 ;
29895 PyObject
* obj4
= 0 ;
29896 char *kwnames
[] = {
29897 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29902 if (SWIG_arg_fail(1)) SWIG_fail
;
29904 arg2
= wxString_in_helper(obj1
);
29905 if (arg2
== NULL
) SWIG_fail
;
29910 arg3
= (int)(SWIG_As_int(obj2
));
29911 if (SWIG_arg_fail(3)) SWIG_fail
;
29916 arg4
= (int)(SWIG_As_int(obj3
));
29917 if (SWIG_arg_fail(4)) SWIG_fail
;
29921 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
29922 if (SWIG_arg_fail(5)) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29932 wxTreeItemId
* resultptr
;
29933 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
29934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29950 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29951 PyObject
*resultobj
;
29952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
29953 wxTreeItemId
*arg2
= 0 ;
29954 wxString
*arg3
= 0 ;
29955 int arg4
= (int) -1 ;
29956 int arg5
= (int) -1 ;
29957 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
29958 wxTreeItemId result
;
29959 bool temp3
= false ;
29960 PyObject
* obj0
= 0 ;
29961 PyObject
* obj1
= 0 ;
29962 PyObject
* obj2
= 0 ;
29963 PyObject
* obj3
= 0 ;
29964 PyObject
* obj4
= 0 ;
29965 PyObject
* obj5
= 0 ;
29966 char *kwnames
[] = {
29967 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
29972 if (SWIG_arg_fail(1)) SWIG_fail
;
29974 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
29975 if (SWIG_arg_fail(2)) SWIG_fail
;
29976 if (arg2
== NULL
) {
29977 SWIG_null_ref("wxTreeItemId");
29979 if (SWIG_arg_fail(2)) SWIG_fail
;
29982 arg3
= wxString_in_helper(obj2
);
29983 if (arg3
== NULL
) SWIG_fail
;
29988 arg4
= (int)(SWIG_As_int(obj3
));
29989 if (SWIG_arg_fail(4)) SWIG_fail
;
29994 arg5
= (int)(SWIG_As_int(obj4
));
29995 if (SWIG_arg_fail(5)) SWIG_fail
;
29999 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30000 if (SWIG_arg_fail(6)) SWIG_fail
;
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30010 wxTreeItemId
* resultptr
;
30011 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30028 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
;
30030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30031 wxTreeItemId
*arg2
= 0 ;
30032 wxTreeItemId
*arg3
= 0 ;
30033 wxString
*arg4
= 0 ;
30034 int arg5
= (int) -1 ;
30035 int arg6
= (int) -1 ;
30036 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30037 wxTreeItemId result
;
30038 bool temp4
= false ;
30039 PyObject
* obj0
= 0 ;
30040 PyObject
* obj1
= 0 ;
30041 PyObject
* obj2
= 0 ;
30042 PyObject
* obj3
= 0 ;
30043 PyObject
* obj4
= 0 ;
30044 PyObject
* obj5
= 0 ;
30045 PyObject
* obj6
= 0 ;
30046 char *kwnames
[] = {
30047 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30052 if (SWIG_arg_fail(1)) SWIG_fail
;
30054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30055 if (SWIG_arg_fail(2)) SWIG_fail
;
30056 if (arg2
== NULL
) {
30057 SWIG_null_ref("wxTreeItemId");
30059 if (SWIG_arg_fail(2)) SWIG_fail
;
30062 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30063 if (SWIG_arg_fail(3)) SWIG_fail
;
30064 if (arg3
== NULL
) {
30065 SWIG_null_ref("wxTreeItemId");
30067 if (SWIG_arg_fail(3)) SWIG_fail
;
30070 arg4
= wxString_in_helper(obj3
);
30071 if (arg4
== NULL
) SWIG_fail
;
30076 arg5
= (int)(SWIG_As_int(obj4
));
30077 if (SWIG_arg_fail(5)) SWIG_fail
;
30082 arg6
= (int)(SWIG_As_int(obj5
));
30083 if (SWIG_arg_fail(6)) SWIG_fail
;
30087 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30088 if (SWIG_arg_fail(7)) SWIG_fail
;
30091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30098 wxTreeItemId
* resultptr
;
30099 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30116 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30117 PyObject
*resultobj
;
30118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30119 wxTreeItemId
*arg2
= 0 ;
30121 wxString
*arg4
= 0 ;
30122 int arg5
= (int) -1 ;
30123 int arg6
= (int) -1 ;
30124 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
30125 wxTreeItemId result
;
30126 bool temp4
= false ;
30127 PyObject
* obj0
= 0 ;
30128 PyObject
* obj1
= 0 ;
30129 PyObject
* obj2
= 0 ;
30130 PyObject
* obj3
= 0 ;
30131 PyObject
* obj4
= 0 ;
30132 PyObject
* obj5
= 0 ;
30133 PyObject
* obj6
= 0 ;
30134 char *kwnames
[] = {
30135 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30140 if (SWIG_arg_fail(1)) SWIG_fail
;
30142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30143 if (SWIG_arg_fail(2)) SWIG_fail
;
30144 if (arg2
== NULL
) {
30145 SWIG_null_ref("wxTreeItemId");
30147 if (SWIG_arg_fail(2)) SWIG_fail
;
30150 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
30151 if (SWIG_arg_fail(3)) SWIG_fail
;
30154 arg4
= wxString_in_helper(obj3
);
30155 if (arg4
== NULL
) SWIG_fail
;
30160 arg5
= (int)(SWIG_As_int(obj4
));
30161 if (SWIG_arg_fail(5)) SWIG_fail
;
30166 arg6
= (int)(SWIG_As_int(obj5
));
30167 if (SWIG_arg_fail(6)) SWIG_fail
;
30171 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30172 if (SWIG_arg_fail(7)) SWIG_fail
;
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30182 wxTreeItemId
* resultptr
;
30183 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30200 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
;
30202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30203 wxTreeItemId
*arg2
= 0 ;
30204 wxString
*arg3
= 0 ;
30205 int arg4
= (int) -1 ;
30206 int arg5
= (int) -1 ;
30207 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
30208 wxTreeItemId result
;
30209 bool temp3
= false ;
30210 PyObject
* obj0
= 0 ;
30211 PyObject
* obj1
= 0 ;
30212 PyObject
* obj2
= 0 ;
30213 PyObject
* obj3
= 0 ;
30214 PyObject
* obj4
= 0 ;
30215 PyObject
* obj5
= 0 ;
30216 char *kwnames
[] = {
30217 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30222 if (SWIG_arg_fail(1)) SWIG_fail
;
30224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30225 if (SWIG_arg_fail(2)) SWIG_fail
;
30226 if (arg2
== NULL
) {
30227 SWIG_null_ref("wxTreeItemId");
30229 if (SWIG_arg_fail(2)) SWIG_fail
;
30232 arg3
= wxString_in_helper(obj2
);
30233 if (arg3
== NULL
) SWIG_fail
;
30238 arg4
= (int)(SWIG_As_int(obj3
));
30239 if (SWIG_arg_fail(4)) SWIG_fail
;
30244 arg5
= (int)(SWIG_As_int(obj4
));
30245 if (SWIG_arg_fail(5)) SWIG_fail
;
30249 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_EXCEPTION
| 0);
30250 if (SWIG_arg_fail(6)) SWIG_fail
;
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30260 wxTreeItemId
* resultptr
;
30261 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30278 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30279 PyObject
*resultobj
;
30280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30281 wxTreeItemId
*arg2
= 0 ;
30282 PyObject
* obj0
= 0 ;
30283 PyObject
* obj1
= 0 ;
30284 char *kwnames
[] = {
30285 (char *) "self",(char *) "item", NULL
30288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30290 if (SWIG_arg_fail(1)) SWIG_fail
;
30292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30293 if (SWIG_arg_fail(2)) SWIG_fail
;
30294 if (arg2
== NULL
) {
30295 SWIG_null_ref("wxTreeItemId");
30297 if (SWIG_arg_fail(2)) SWIG_fail
;
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 Py_INCREF(Py_None
); resultobj
= Py_None
;
30313 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
;
30315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30316 wxTreeItemId
*arg2
= 0 ;
30317 PyObject
* obj0
= 0 ;
30318 PyObject
* obj1
= 0 ;
30319 char *kwnames
[] = {
30320 (char *) "self",(char *) "item", NULL
30323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30325 if (SWIG_arg_fail(1)) SWIG_fail
;
30327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30328 if (SWIG_arg_fail(2)) SWIG_fail
;
30329 if (arg2
== NULL
) {
30330 SWIG_null_ref("wxTreeItemId");
30332 if (SWIG_arg_fail(2)) SWIG_fail
;
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
30338 wxPyEndAllowThreads(__tstate
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30341 Py_INCREF(Py_None
); resultobj
= Py_None
;
30348 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30349 PyObject
*resultobj
;
30350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30351 PyObject
* obj0
= 0 ;
30352 char *kwnames
[] = {
30353 (char *) "self", NULL
30356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
30357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30358 if (SWIG_arg_fail(1)) SWIG_fail
;
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 (arg1
)->DeleteAllItems();
30363 wxPyEndAllowThreads(__tstate
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30366 Py_INCREF(Py_None
); resultobj
= Py_None
;
30373 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30374 PyObject
*resultobj
;
30375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30376 wxTreeItemId
*arg2
= 0 ;
30377 PyObject
* obj0
= 0 ;
30378 PyObject
* obj1
= 0 ;
30379 char *kwnames
[] = {
30380 (char *) "self",(char *) "item", NULL
30383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
30384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30385 if (SWIG_arg_fail(1)) SWIG_fail
;
30387 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30388 if (SWIG_arg_fail(2)) SWIG_fail
;
30389 if (arg2
== NULL
) {
30390 SWIG_null_ref("wxTreeItemId");
30392 if (SWIG_arg_fail(2)) SWIG_fail
;
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30401 Py_INCREF(Py_None
); resultobj
= Py_None
;
30408 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30409 PyObject
*resultobj
;
30410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30411 wxTreeItemId
*arg2
= 0 ;
30412 PyObject
* obj0
= 0 ;
30413 PyObject
* obj1
= 0 ;
30414 char *kwnames
[] = {
30415 (char *) "self",(char *) "item", NULL
30418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
30419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30420 if (SWIG_arg_fail(1)) SWIG_fail
;
30422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30423 if (SWIG_arg_fail(2)) SWIG_fail
;
30424 if (arg2
== NULL
) {
30425 SWIG_null_ref("wxTreeItemId");
30427 if (SWIG_arg_fail(2)) SWIG_fail
;
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 Py_INCREF(Py_None
); resultobj
= Py_None
;
30443 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
;
30445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30446 wxTreeItemId
*arg2
= 0 ;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 char *kwnames
[] = {
30450 (char *) "self",(char *) "item", NULL
30453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
30454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30455 if (SWIG_arg_fail(1)) SWIG_fail
;
30457 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30458 if (SWIG_arg_fail(2)) SWIG_fail
;
30459 if (arg2
== NULL
) {
30460 SWIG_null_ref("wxTreeItemId");
30462 if (SWIG_arg_fail(2)) SWIG_fail
;
30465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30466 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 Py_INCREF(Py_None
); resultobj
= Py_None
;
30478 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30479 PyObject
*resultobj
;
30480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30481 wxTreeItemId
*arg2
= 0 ;
30482 PyObject
* obj0
= 0 ;
30483 PyObject
* obj1
= 0 ;
30484 char *kwnames
[] = {
30485 (char *) "self",(char *) "item", NULL
30488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
30489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30490 if (SWIG_arg_fail(1)) SWIG_fail
;
30492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30493 if (SWIG_arg_fail(2)) SWIG_fail
;
30494 if (arg2
== NULL
) {
30495 SWIG_null_ref("wxTreeItemId");
30497 if (SWIG_arg_fail(2)) SWIG_fail
;
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
30503 wxPyEndAllowThreads(__tstate
);
30504 if (PyErr_Occurred()) SWIG_fail
;
30506 Py_INCREF(Py_None
); resultobj
= Py_None
;
30513 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30514 PyObject
*resultobj
;
30515 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30516 PyObject
* obj0
= 0 ;
30517 char *kwnames
[] = {
30518 (char *) "self", NULL
30521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
30522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30523 if (SWIG_arg_fail(1)) SWIG_fail
;
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 (arg1
)->Unselect();
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 Py_INCREF(Py_None
); resultobj
= Py_None
;
30538 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30539 PyObject
*resultobj
;
30540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30541 wxTreeItemId
*arg2
= 0 ;
30542 PyObject
* obj0
= 0 ;
30543 PyObject
* obj1
= 0 ;
30544 char *kwnames
[] = {
30545 (char *) "self",(char *) "item", NULL
30548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30550 if (SWIG_arg_fail(1)) SWIG_fail
;
30552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30553 if (SWIG_arg_fail(2)) SWIG_fail
;
30554 if (arg2
== NULL
) {
30555 SWIG_null_ref("wxTreeItemId");
30557 if (SWIG_arg_fail(2)) SWIG_fail
;
30560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30561 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
30563 wxPyEndAllowThreads(__tstate
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30566 Py_INCREF(Py_None
); resultobj
= Py_None
;
30573 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30576 PyObject
* obj0
= 0 ;
30577 char *kwnames
[] = {
30578 (char *) "self", NULL
30581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
30582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30583 if (SWIG_arg_fail(1)) SWIG_fail
;
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 (arg1
)->UnselectAll();
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 Py_INCREF(Py_None
); resultobj
= Py_None
;
30598 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
;
30600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30601 wxTreeItemId
*arg2
= 0 ;
30602 bool arg3
= (bool) true ;
30603 PyObject
* obj0
= 0 ;
30604 PyObject
* obj1
= 0 ;
30605 PyObject
* obj2
= 0 ;
30606 char *kwnames
[] = {
30607 (char *) "self",(char *) "item",(char *) "select", NULL
30610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30612 if (SWIG_arg_fail(1)) SWIG_fail
;
30614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30615 if (SWIG_arg_fail(2)) SWIG_fail
;
30616 if (arg2
== NULL
) {
30617 SWIG_null_ref("wxTreeItemId");
30619 if (SWIG_arg_fail(2)) SWIG_fail
;
30623 arg3
= (bool)(SWIG_As_bool(obj2
));
30624 if (SWIG_arg_fail(3)) SWIG_fail
;
30628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
30631 wxPyEndAllowThreads(__tstate
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30634 Py_INCREF(Py_None
); resultobj
= Py_None
;
30641 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30642 PyObject
*resultobj
;
30643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30644 wxTreeItemId
*arg2
= 0 ;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self",(char *) "item", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
30652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30653 if (SWIG_arg_fail(1)) SWIG_fail
;
30655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30656 if (SWIG_arg_fail(2)) SWIG_fail
;
30657 if (arg2
== NULL
) {
30658 SWIG_null_ref("wxTreeItemId");
30660 if (SWIG_arg_fail(2)) SWIG_fail
;
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 Py_INCREF(Py_None
); resultobj
= Py_None
;
30676 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
;
30678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30679 wxTreeItemId
*arg2
= 0 ;
30680 PyObject
* obj0
= 0 ;
30681 PyObject
* obj1
= 0 ;
30682 char *kwnames
[] = {
30683 (char *) "self",(char *) "item", NULL
30686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
30687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30688 if (SWIG_arg_fail(1)) SWIG_fail
;
30690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30691 if (SWIG_arg_fail(2)) SWIG_fail
;
30692 if (arg2
== NULL
) {
30693 SWIG_null_ref("wxTreeItemId");
30695 if (SWIG_arg_fail(2)) SWIG_fail
;
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
30701 wxPyEndAllowThreads(__tstate
);
30702 if (PyErr_Occurred()) SWIG_fail
;
30704 Py_INCREF(Py_None
); resultobj
= Py_None
;
30711 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30712 PyObject
*resultobj
;
30713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30714 wxTreeItemId
*arg2
= 0 ;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30717 char *kwnames
[] = {
30718 (char *) "self",(char *) "item", NULL
30721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
30722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30723 if (SWIG_arg_fail(1)) SWIG_fail
;
30725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30726 if (SWIG_arg_fail(2)) SWIG_fail
;
30727 if (arg2
== NULL
) {
30728 SWIG_null_ref("wxTreeItemId");
30730 if (SWIG_arg_fail(2)) SWIG_fail
;
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30734 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
30736 wxPyEndAllowThreads(__tstate
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30739 Py_INCREF(Py_None
); resultobj
= Py_None
;
30746 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
;
30748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30749 wxTreeItemId
*arg2
= 0 ;
30750 PyObject
* obj0
= 0 ;
30751 PyObject
* obj1
= 0 ;
30752 char *kwnames
[] = {
30753 (char *) "self",(char *) "item", NULL
30756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30758 if (SWIG_arg_fail(1)) SWIG_fail
;
30760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30761 if (SWIG_arg_fail(2)) SWIG_fail
;
30762 if (arg2
== NULL
) {
30763 SWIG_null_ref("wxTreeItemId");
30765 if (SWIG_arg_fail(2)) SWIG_fail
;
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 Py_INCREF(Py_None
); resultobj
= Py_None
;
30781 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
;
30783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30784 wxTextCtrl
*result
;
30785 PyObject
* obj0
= 0 ;
30786 char *kwnames
[] = {
30787 (char *) "self", NULL
30790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
30791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30792 if (SWIG_arg_fail(1)) SWIG_fail
;
30794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30795 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
30797 wxPyEndAllowThreads(__tstate
);
30798 if (PyErr_Occurred()) SWIG_fail
;
30801 resultobj
= wxPyMake_wxObject(result
, 0);
30809 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30810 PyObject
*resultobj
;
30811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30812 wxTreeItemId
*arg2
= 0 ;
30813 PyObject
* obj0
= 0 ;
30814 PyObject
* obj1
= 0 ;
30815 char *kwnames
[] = {
30816 (char *) "self",(char *) "item", NULL
30819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
30820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30821 if (SWIG_arg_fail(1)) SWIG_fail
;
30823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30824 if (SWIG_arg_fail(2)) SWIG_fail
;
30825 if (arg2
== NULL
) {
30826 SWIG_null_ref("wxTreeItemId");
30828 if (SWIG_arg_fail(2)) SWIG_fail
;
30831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30832 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30837 Py_INCREF(Py_None
); resultobj
= Py_None
;
30844 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30845 PyObject
*resultobj
;
30846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30847 wxPoint
*arg2
= 0 ;
30849 wxTreeItemId result
;
30853 PyObject
* obj0
= 0 ;
30854 PyObject
* obj1
= 0 ;
30855 char *kwnames
[] = {
30856 (char *) "self",(char *) "point", NULL
30859 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30862 if (SWIG_arg_fail(1)) SWIG_fail
;
30865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30869 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30875 wxTreeItemId
* resultptr
;
30876 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
30877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
30879 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30880 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30887 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
;
30889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
30890 wxTreeItemId
*arg2
= 0 ;
30891 bool arg3
= (bool) false ;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 PyObject
* obj2
= 0 ;
30896 char *kwnames
[] = {
30897 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
30902 if (SWIG_arg_fail(1)) SWIG_fail
;
30904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
30905 if (SWIG_arg_fail(2)) SWIG_fail
;
30906 if (arg2
== NULL
) {
30907 SWIG_null_ref("wxTreeItemId");
30909 if (SWIG_arg_fail(2)) SWIG_fail
;
30913 arg3
= (bool)(SWIG_As_bool(obj2
));
30914 if (SWIG_arg_fail(3)) SWIG_fail
;
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30924 resultobj
= result
;
30931 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
;
30933 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
30934 wxVisualAttributes result
;
30935 PyObject
* obj0
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "variant", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30943 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
30944 if (SWIG_arg_fail(1)) SWIG_fail
;
30948 if (!wxPyCheckForApp()) SWIG_fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30956 wxVisualAttributes
* resultptr
;
30957 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
30958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30966 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
30968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30969 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
30971 return Py_BuildValue((char *)"");
30973 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
30974 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
30979 static PyObject
*_wrap_DirDialogDefaultFolderStr_get(void) {
30984 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30986 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
30993 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxWindow
*arg1
= (wxWindow
*) 0 ;
30996 int arg2
= (int) (int)-1 ;
30997 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
30998 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31003 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31004 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31005 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31006 int arg8
= (int) 0 ;
31007 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
31008 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
31009 wxGenericDirCtrl
*result
;
31010 bool temp3
= false ;
31013 bool temp7
= false ;
31014 bool temp9
= false ;
31015 PyObject
* obj0
= 0 ;
31016 PyObject
* obj1
= 0 ;
31017 PyObject
* obj2
= 0 ;
31018 PyObject
* obj3
= 0 ;
31019 PyObject
* obj4
= 0 ;
31020 PyObject
* obj5
= 0 ;
31021 PyObject
* obj6
= 0 ;
31022 PyObject
* obj7
= 0 ;
31023 PyObject
* obj8
= 0 ;
31024 char *kwnames
[] = {
31025 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
31029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31030 if (SWIG_arg_fail(1)) SWIG_fail
;
31033 arg2
= (int const)(SWIG_As_int(obj1
));
31034 if (SWIG_arg_fail(2)) SWIG_fail
;
31039 arg3
= wxString_in_helper(obj2
);
31040 if (arg3
== NULL
) SWIG_fail
;
31047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31058 arg6
= (long)(SWIG_As_long(obj5
));
31059 if (SWIG_arg_fail(6)) SWIG_fail
;
31064 arg7
= wxString_in_helper(obj6
);
31065 if (arg7
== NULL
) SWIG_fail
;
31071 arg8
= (int)(SWIG_As_int(obj7
));
31072 if (SWIG_arg_fail(8)) SWIG_fail
;
31077 arg9
= wxString_in_helper(obj8
);
31078 if (arg9
== NULL
) SWIG_fail
;
31083 if (!wxPyCheckForApp()) SWIG_fail
;
31084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31085 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31121 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
;
31123 wxGenericDirCtrl
*result
;
31124 char *kwnames
[] = {
31128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
31130 if (!wxPyCheckForApp()) SWIG_fail
;
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
31144 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
;
31146 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31147 wxWindow
*arg2
= (wxWindow
*) 0 ;
31148 int arg3
= (int) (int)-1 ;
31149 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
31150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31151 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
31152 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
31153 wxSize
const &arg6_defvalue
= wxDefaultSize
;
31154 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
31155 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
31156 wxString
const &arg8_defvalue
= wxPyEmptyString
;
31157 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31158 int arg9
= (int) 0 ;
31159 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
31160 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
31162 bool temp4
= false ;
31165 bool temp8
= false ;
31166 bool temp10
= false ;
31167 PyObject
* obj0
= 0 ;
31168 PyObject
* obj1
= 0 ;
31169 PyObject
* obj2
= 0 ;
31170 PyObject
* obj3
= 0 ;
31171 PyObject
* obj4
= 0 ;
31172 PyObject
* obj5
= 0 ;
31173 PyObject
* obj6
= 0 ;
31174 PyObject
* obj7
= 0 ;
31175 PyObject
* obj8
= 0 ;
31176 PyObject
* obj9
= 0 ;
31177 char *kwnames
[] = {
31178 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
31182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31183 if (SWIG_arg_fail(1)) SWIG_fail
;
31184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31185 if (SWIG_arg_fail(2)) SWIG_fail
;
31188 arg3
= (int const)(SWIG_As_int(obj2
));
31189 if (SWIG_arg_fail(3)) SWIG_fail
;
31194 arg4
= wxString_in_helper(obj3
);
31195 if (arg4
== NULL
) SWIG_fail
;
31202 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
31208 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
31213 arg7
= (long)(SWIG_As_long(obj6
));
31214 if (SWIG_arg_fail(7)) SWIG_fail
;
31219 arg8
= wxString_in_helper(obj7
);
31220 if (arg8
== NULL
) SWIG_fail
;
31226 arg9
= (int)(SWIG_As_int(obj8
));
31227 if (SWIG_arg_fail(9)) SWIG_fail
;
31232 arg10
= wxString_in_helper(obj9
);
31233 if (arg10
== NULL
) SWIG_fail
;
31238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31277 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
;
31279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31280 wxString
*arg2
= 0 ;
31282 bool temp2
= false ;
31283 PyObject
* obj0
= 0 ;
31284 PyObject
* obj1
= 0 ;
31285 char *kwnames
[] = {
31286 (char *) "self",(char *) "path", NULL
31289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31291 if (SWIG_arg_fail(1)) SWIG_fail
;
31293 arg2
= wxString_in_helper(obj1
);
31294 if (arg2
== NULL
) SWIG_fail
;
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31321 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31322 PyObject
*resultobj
;
31323 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31325 PyObject
* obj0
= 0 ;
31326 char *kwnames
[] = {
31327 (char *) "self", NULL
31330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
31331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31332 if (SWIG_arg_fail(1)) SWIG_fail
;
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
31337 wxPyEndAllowThreads(__tstate
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31353 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31354 PyObject
*resultobj
;
31355 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31356 wxString
*arg2
= 0 ;
31357 bool temp2
= false ;
31358 PyObject
* obj0
= 0 ;
31359 PyObject
* obj1
= 0 ;
31360 char *kwnames
[] = {
31361 (char *) "self",(char *) "path", NULL
31364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31366 if (SWIG_arg_fail(1)) SWIG_fail
;
31368 arg2
= wxString_in_helper(obj1
);
31369 if (arg2
== NULL
) SWIG_fail
;
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
31376 wxPyEndAllowThreads(__tstate
);
31377 if (PyErr_Occurred()) SWIG_fail
;
31379 Py_INCREF(Py_None
); resultobj
= Py_None
;
31394 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31395 PyObject
*resultobj
;
31396 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31398 PyObject
* obj0
= 0 ;
31399 char *kwnames
[] = {
31400 (char *) "self", NULL
31403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
31404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31405 if (SWIG_arg_fail(1)) SWIG_fail
;
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31426 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
;
31428 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31430 PyObject
* obj0
= 0 ;
31431 char *kwnames
[] = {
31432 (char *) "self", NULL
31435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
31436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31437 if (SWIG_arg_fail(1)) SWIG_fail
;
31439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31440 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31458 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31459 PyObject
*resultobj
;
31460 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31461 wxString
*arg2
= 0 ;
31462 bool temp2
= false ;
31463 PyObject
* obj0
= 0 ;
31464 PyObject
* obj1
= 0 ;
31465 char *kwnames
[] = {
31466 (char *) "self",(char *) "path", NULL
31469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
31470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31471 if (SWIG_arg_fail(1)) SWIG_fail
;
31473 arg2
= wxString_in_helper(obj1
);
31474 if (arg2
== NULL
) SWIG_fail
;
31478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31479 (arg1
)->SetPath((wxString
const &)*arg2
);
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31484 Py_INCREF(Py_None
); resultobj
= Py_None
;
31499 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31500 PyObject
*resultobj
;
31501 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 char *kwnames
[] = {
31506 (char *) "self",(char *) "show", NULL
31509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
31510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31511 if (SWIG_arg_fail(1)) SWIG_fail
;
31513 arg2
= (bool)(SWIG_As_bool(obj1
));
31514 if (SWIG_arg_fail(2)) SWIG_fail
;
31517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31518 (arg1
)->ShowHidden(arg2
);
31520 wxPyEndAllowThreads(__tstate
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31523 Py_INCREF(Py_None
); resultobj
= Py_None
;
31530 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31531 PyObject
*resultobj
;
31532 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31534 PyObject
* obj0
= 0 ;
31535 char *kwnames
[] = {
31536 (char *) "self", NULL
31539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
31540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31541 if (SWIG_arg_fail(1)) SWIG_fail
;
31543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31544 result
= (bool)(arg1
)->GetShowHidden();
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31558 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31559 PyObject
*resultobj
;
31560 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31562 PyObject
* obj0
= 0 ;
31563 char *kwnames
[] = {
31564 (char *) "self", NULL
31567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
31568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31569 if (SWIG_arg_fail(1)) SWIG_fail
;
31571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31572 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
31574 wxPyEndAllowThreads(__tstate
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31590 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
;
31592 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31593 wxString
*arg2
= 0 ;
31594 bool temp2
= false ;
31595 PyObject
* obj0
= 0 ;
31596 PyObject
* obj1
= 0 ;
31597 char *kwnames
[] = {
31598 (char *) "self",(char *) "filter", NULL
31601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
31602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31603 if (SWIG_arg_fail(1)) SWIG_fail
;
31605 arg2
= wxString_in_helper(obj1
);
31606 if (arg2
== NULL
) SWIG_fail
;
31610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31611 (arg1
)->SetFilter((wxString
const &)*arg2
);
31613 wxPyEndAllowThreads(__tstate
);
31614 if (PyErr_Occurred()) SWIG_fail
;
31616 Py_INCREF(Py_None
); resultobj
= Py_None
;
31631 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31632 PyObject
*resultobj
;
31633 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31635 PyObject
* obj0
= 0 ;
31636 char *kwnames
[] = {
31637 (char *) "self", NULL
31640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
31641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31642 if (SWIG_arg_fail(1)) SWIG_fail
;
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31645 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31651 resultobj
= SWIG_From_int((int)(result
));
31659 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31660 PyObject
*resultobj
;
31661 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31663 PyObject
* obj0
= 0 ;
31664 PyObject
* obj1
= 0 ;
31665 char *kwnames
[] = {
31666 (char *) "self",(char *) "n", NULL
31669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
31670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31671 if (SWIG_arg_fail(1)) SWIG_fail
;
31673 arg2
= (int)(SWIG_As_int(obj1
));
31674 if (SWIG_arg_fail(2)) SWIG_fail
;
31677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 (arg1
)->SetFilterIndex(arg2
);
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31683 Py_INCREF(Py_None
); resultobj
= Py_None
;
31690 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
;
31692 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31693 wxTreeItemId result
;
31694 PyObject
* obj0
= 0 ;
31695 char *kwnames
[] = {
31696 (char *) "self", NULL
31699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
31700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31701 if (SWIG_arg_fail(1)) SWIG_fail
;
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 result
= (arg1
)->GetRootId();
31706 wxPyEndAllowThreads(__tstate
);
31707 if (PyErr_Occurred()) SWIG_fail
;
31710 wxTreeItemId
* resultptr
;
31711 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31720 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
;
31722 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31723 wxPyTreeCtrl
*result
;
31724 PyObject
* obj0
= 0 ;
31725 char *kwnames
[] = {
31726 (char *) "self", NULL
31729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
31730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31731 if (SWIG_arg_fail(1)) SWIG_fail
;
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
31736 wxPyEndAllowThreads(__tstate
);
31737 if (PyErr_Occurred()) SWIG_fail
;
31740 resultobj
= wxPyMake_wxObject(result
, 0);
31748 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31749 PyObject
*resultobj
;
31750 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31751 wxDirFilterListCtrl
*result
;
31752 PyObject
* obj0
= 0 ;
31753 char *kwnames
[] = {
31754 (char *) "self", NULL
31757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
31758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31759 if (SWIG_arg_fail(1)) SWIG_fail
;
31761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31762 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
31764 wxPyEndAllowThreads(__tstate
);
31765 if (PyErr_Occurred()) SWIG_fail
;
31767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
31774 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31775 PyObject
*resultobj
;
31776 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31777 wxTreeItemId arg2
;
31778 wxString
*arg3
= 0 ;
31780 wxTreeItemId result
;
31781 bool temp3
= false ;
31784 PyObject
* obj0
= 0 ;
31785 PyObject
* obj1
= 0 ;
31786 PyObject
* obj2
= 0 ;
31787 char *kwnames
[] = {
31788 (char *) "self",(char *) "parentId",(char *) "path", NULL
31791 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
31792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31794 if (SWIG_arg_fail(1)) SWIG_fail
;
31796 wxTreeItemId
* argp
;
31797 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
);
31798 if (SWIG_arg_fail(2)) SWIG_fail
;
31799 if (argp
== NULL
) {
31800 SWIG_null_ref("wxTreeItemId");
31802 if (SWIG_arg_fail(2)) SWIG_fail
;
31806 arg3
= wxString_in_helper(obj2
);
31807 if (arg3
== NULL
) SWIG_fail
;
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31818 wxTreeItemId
* resultptr
;
31819 resultptr
= new wxTreeItemId((wxTreeItemId
&)(result
));
31820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
31822 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
31823 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
31838 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
;
31840 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31841 PyObject
* obj0
= 0 ;
31842 char *kwnames
[] = {
31843 (char *) "self", NULL
31846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
31847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31848 if (SWIG_arg_fail(1)) SWIG_fail
;
31850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31851 (arg1
)->DoResize();
31853 wxPyEndAllowThreads(__tstate
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31856 Py_INCREF(Py_None
); resultobj
= Py_None
;
31863 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31864 PyObject
*resultobj
;
31865 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31866 PyObject
* obj0
= 0 ;
31867 char *kwnames
[] = {
31868 (char *) "self", NULL
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
31872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31873 if (SWIG_arg_fail(1)) SWIG_fail
;
31875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 (arg1
)->ReCreateTree();
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31881 Py_INCREF(Py_None
); resultobj
= Py_None
;
31888 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
31890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31891 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
31893 return Py_BuildValue((char *)"");
31895 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31896 PyObject
*resultobj
;
31897 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
31898 int arg2
= (int) (int)-1 ;
31899 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31900 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31901 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31902 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31903 long arg5
= (long) 0 ;
31904 wxDirFilterListCtrl
*result
;
31907 PyObject
* obj0
= 0 ;
31908 PyObject
* obj1
= 0 ;
31909 PyObject
* obj2
= 0 ;
31910 PyObject
* obj3
= 0 ;
31911 PyObject
* obj4
= 0 ;
31912 char *kwnames
[] = {
31913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
31918 if (SWIG_arg_fail(1)) SWIG_fail
;
31921 arg2
= (int const)(SWIG_As_int(obj1
));
31922 if (SWIG_arg_fail(2)) SWIG_fail
;
31928 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31934 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31939 arg5
= (long)(SWIG_As_long(obj4
));
31940 if (SWIG_arg_fail(5)) SWIG_fail
;
31944 if (!wxPyCheckForApp()) SWIG_fail
;
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31958 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
;
31960 wxDirFilterListCtrl
*result
;
31961 char *kwnames
[] = {
31965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
31967 if (!wxPyCheckForApp()) SWIG_fail
;
31968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31969 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
31971 wxPyEndAllowThreads(__tstate
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
31981 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
;
31983 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
31984 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
31985 int arg3
= (int) (int)-1 ;
31986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31990 long arg6
= (long) 0 ;
31994 PyObject
* obj0
= 0 ;
31995 PyObject
* obj1
= 0 ;
31996 PyObject
* obj2
= 0 ;
31997 PyObject
* obj3
= 0 ;
31998 PyObject
* obj4
= 0 ;
31999 PyObject
* obj5
= 0 ;
32000 char *kwnames
[] = {
32001 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
32004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32006 if (SWIG_arg_fail(1)) SWIG_fail
;
32007 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32008 if (SWIG_arg_fail(2)) SWIG_fail
;
32011 arg3
= (int const)(SWIG_As_int(obj2
));
32012 if (SWIG_arg_fail(3)) SWIG_fail
;
32018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32029 arg6
= (long)(SWIG_As_long(obj5
));
32030 if (SWIG_arg_fail(6)) SWIG_fail
;
32034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32035 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
32037 wxPyEndAllowThreads(__tstate
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32049 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32050 PyObject
*resultobj
;
32051 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
32052 wxString
*arg2
= 0 ;
32054 bool temp2
= false ;
32055 PyObject
* obj0
= 0 ;
32056 PyObject
* obj1
= 0 ;
32057 PyObject
* obj2
= 0 ;
32058 char *kwnames
[] = {
32059 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
32062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
32064 if (SWIG_arg_fail(1)) SWIG_fail
;
32066 arg2
= wxString_in_helper(obj1
);
32067 if (arg2
== NULL
) SWIG_fail
;
32071 arg3
= (int)(SWIG_As_int(obj2
));
32072 if (SWIG_arg_fail(3)) SWIG_fail
;
32075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
32078 wxPyEndAllowThreads(__tstate
);
32079 if (PyErr_Occurred()) SWIG_fail
;
32081 Py_INCREF(Py_None
); resultobj
= Py_None
;
32096 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
32098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32099 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
32101 return Py_BuildValue((char *)"");
32103 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
;
32105 wxWindow
*arg1
= (wxWindow
*) 0 ;
32106 int arg2
= (int) (int)-1 ;
32107 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32108 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32109 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32110 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32111 long arg5
= (long) 0 ;
32112 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32113 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32114 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32115 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32116 wxPyControl
*result
;
32119 bool temp7
= false ;
32120 PyObject
* obj0
= 0 ;
32121 PyObject
* obj1
= 0 ;
32122 PyObject
* obj2
= 0 ;
32123 PyObject
* obj3
= 0 ;
32124 PyObject
* obj4
= 0 ;
32125 PyObject
* obj5
= 0 ;
32126 PyObject
* obj6
= 0 ;
32127 char *kwnames
[] = {
32128 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32133 if (SWIG_arg_fail(1)) SWIG_fail
;
32136 arg2
= (int const)(SWIG_As_int(obj1
));
32137 if (SWIG_arg_fail(2)) SWIG_fail
;
32143 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32149 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32154 arg5
= (long)(SWIG_As_long(obj4
));
32155 if (SWIG_arg_fail(5)) SWIG_fail
;
32160 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32161 if (SWIG_arg_fail(6)) SWIG_fail
;
32162 if (arg6
== NULL
) {
32163 SWIG_null_ref("wxValidator");
32165 if (SWIG_arg_fail(6)) SWIG_fail
;
32170 arg7
= wxString_in_helper(obj6
);
32171 if (arg7
== NULL
) SWIG_fail
;
32176 if (!wxPyCheckForApp()) SWIG_fail
;
32177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32178 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32198 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32199 PyObject
*resultobj
;
32200 wxPyControl
*result
;
32201 char *kwnames
[] = {
32205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
32207 if (!wxPyCheckForApp()) SWIG_fail
;
32208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32209 result
= (wxPyControl
*)new wxPyControl();
32211 wxPyEndAllowThreads(__tstate
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
32221 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32222 PyObject
*resultobj
;
32223 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32224 PyObject
*arg2
= (PyObject
*) 0 ;
32225 PyObject
*arg3
= (PyObject
*) 0 ;
32226 PyObject
* obj0
= 0 ;
32227 PyObject
* obj1
= 0 ;
32228 PyObject
* obj2
= 0 ;
32229 char *kwnames
[] = {
32230 (char *) "self",(char *) "self",(char *) "_class", NULL
32233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32235 if (SWIG_arg_fail(1)) SWIG_fail
;
32239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32240 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32242 wxPyEndAllowThreads(__tstate
);
32243 if (PyErr_Occurred()) SWIG_fail
;
32245 Py_INCREF(Py_None
); resultobj
= Py_None
;
32252 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32253 PyObject
*resultobj
;
32254 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32257 PyObject
* obj0
= 0 ;
32258 PyObject
* obj1
= 0 ;
32259 char *kwnames
[] = {
32260 (char *) "self",(char *) "size", NULL
32263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32265 if (SWIG_arg_fail(1)) SWIG_fail
;
32268 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32272 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32277 Py_INCREF(Py_None
); resultobj
= Py_None
;
32284 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32285 PyObject
*resultobj
;
32286 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32291 PyObject
* obj0
= 0 ;
32292 PyObject
* obj1
= 0 ;
32293 PyObject
* obj2
= 0 ;
32294 PyObject
* obj3
= 0 ;
32295 PyObject
* obj4
= 0 ;
32296 char *kwnames
[] = {
32297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32302 if (SWIG_arg_fail(1)) SWIG_fail
;
32304 arg2
= (int)(SWIG_As_int(obj1
));
32305 if (SWIG_arg_fail(2)) SWIG_fail
;
32308 arg3
= (int)(SWIG_As_int(obj2
));
32309 if (SWIG_arg_fail(3)) SWIG_fail
;
32312 arg4
= (int)(SWIG_As_int(obj3
));
32313 if (SWIG_arg_fail(4)) SWIG_fail
;
32316 arg5
= (int)(SWIG_As_int(obj4
));
32317 if (SWIG_arg_fail(5)) SWIG_fail
;
32320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32321 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
32323 wxPyEndAllowThreads(__tstate
);
32324 if (PyErr_Occurred()) SWIG_fail
;
32326 Py_INCREF(Py_None
); resultobj
= Py_None
;
32333 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32334 PyObject
*resultobj
;
32335 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32340 int arg6
= (int) wxSIZE_AUTO
;
32341 PyObject
* obj0
= 0 ;
32342 PyObject
* obj1
= 0 ;
32343 PyObject
* obj2
= 0 ;
32344 PyObject
* obj3
= 0 ;
32345 PyObject
* obj4
= 0 ;
32346 PyObject
* obj5
= 0 ;
32347 char *kwnames
[] = {
32348 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32353 if (SWIG_arg_fail(1)) SWIG_fail
;
32355 arg2
= (int)(SWIG_As_int(obj1
));
32356 if (SWIG_arg_fail(2)) SWIG_fail
;
32359 arg3
= (int)(SWIG_As_int(obj2
));
32360 if (SWIG_arg_fail(3)) SWIG_fail
;
32363 arg4
= (int)(SWIG_As_int(obj3
));
32364 if (SWIG_arg_fail(4)) SWIG_fail
;
32367 arg5
= (int)(SWIG_As_int(obj4
));
32368 if (SWIG_arg_fail(5)) SWIG_fail
;
32372 arg6
= (int)(SWIG_As_int(obj5
));
32373 if (SWIG_arg_fail(6)) SWIG_fail
;
32377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32378 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
32380 wxPyEndAllowThreads(__tstate
);
32381 if (PyErr_Occurred()) SWIG_fail
;
32383 Py_INCREF(Py_None
); resultobj
= Py_None
;
32390 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32391 PyObject
*resultobj
;
32392 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32395 PyObject
* obj0
= 0 ;
32396 PyObject
* obj1
= 0 ;
32397 PyObject
* obj2
= 0 ;
32398 char *kwnames
[] = {
32399 (char *) "self",(char *) "width",(char *) "height", NULL
32402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32404 if (SWIG_arg_fail(1)) SWIG_fail
;
32406 arg2
= (int)(SWIG_As_int(obj1
));
32407 if (SWIG_arg_fail(2)) SWIG_fail
;
32410 arg3
= (int)(SWIG_As_int(obj2
));
32411 if (SWIG_arg_fail(3)) SWIG_fail
;
32414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32415 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
32417 wxPyEndAllowThreads(__tstate
);
32418 if (PyErr_Occurred()) SWIG_fail
;
32420 Py_INCREF(Py_None
); resultobj
= Py_None
;
32427 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32428 PyObject
*resultobj
;
32429 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32432 PyObject
* obj0
= 0 ;
32433 PyObject
* obj1
= 0 ;
32434 PyObject
* obj2
= 0 ;
32435 char *kwnames
[] = {
32436 (char *) "self",(char *) "x",(char *) "y", NULL
32439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32441 if (SWIG_arg_fail(1)) SWIG_fail
;
32443 arg2
= (int)(SWIG_As_int(obj1
));
32444 if (SWIG_arg_fail(2)) SWIG_fail
;
32447 arg3
= (int)(SWIG_As_int(obj2
));
32448 if (SWIG_arg_fail(3)) SWIG_fail
;
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32452 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
32454 wxPyEndAllowThreads(__tstate
);
32455 if (PyErr_Occurred()) SWIG_fail
;
32457 Py_INCREF(Py_None
); resultobj
= Py_None
;
32464 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32465 PyObject
*resultobj
;
32466 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32467 int *arg2
= (int *) 0 ;
32468 int *arg3
= (int *) 0 ;
32473 PyObject
* obj0
= 0 ;
32474 char *kwnames
[] = {
32475 (char *) "self", NULL
32478 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32479 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
32481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32482 if (SWIG_arg_fail(1)) SWIG_fail
;
32484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32485 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
32487 wxPyEndAllowThreads(__tstate
);
32488 if (PyErr_Occurred()) SWIG_fail
;
32490 Py_INCREF(Py_None
); resultobj
= Py_None
;
32491 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32492 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32493 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32494 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32501 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32502 PyObject
*resultobj
;
32503 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32504 int *arg2
= (int *) 0 ;
32505 int *arg3
= (int *) 0 ;
32510 PyObject
* obj0
= 0 ;
32511 char *kwnames
[] = {
32512 (char *) "self", NULL
32515 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32516 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
32518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32519 if (SWIG_arg_fail(1)) SWIG_fail
;
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 Py_INCREF(Py_None
); resultobj
= Py_None
;
32528 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32529 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32530 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32531 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32538 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32539 PyObject
*resultobj
;
32540 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32541 int *arg2
= (int *) 0 ;
32542 int *arg3
= (int *) 0 ;
32547 PyObject
* obj0
= 0 ;
32548 char *kwnames
[] = {
32549 (char *) "self", NULL
32552 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
32553 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
32554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
32555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32556 if (SWIG_arg_fail(1)) SWIG_fail
;
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32564 Py_INCREF(Py_None
); resultobj
= Py_None
;
32565 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
32566 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
32567 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
32568 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
32575 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32576 PyObject
*resultobj
;
32577 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32579 PyObject
* obj0
= 0 ;
32580 char *kwnames
[] = {
32581 (char *) "self", NULL
32584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
32585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32586 if (SWIG_arg_fail(1)) SWIG_fail
;
32588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32589 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
32591 wxPyEndAllowThreads(__tstate
);
32592 if (PyErr_Occurred()) SWIG_fail
;
32595 wxSize
* resultptr
;
32596 resultptr
= new wxSize((wxSize
&)(result
));
32597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32605 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32606 PyObject
*resultobj
;
32607 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32609 PyObject
* obj0
= 0 ;
32610 char *kwnames
[] = {
32611 (char *) "self", NULL
32614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
32615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32616 if (SWIG_arg_fail(1)) SWIG_fail
;
32618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32619 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
32621 wxPyEndAllowThreads(__tstate
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32625 wxSize
* resultptr
;
32626 resultptr
= new wxSize((wxSize
&)(result
));
32627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32635 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32636 PyObject
*resultobj
;
32637 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32638 PyObject
* obj0
= 0 ;
32639 char *kwnames
[] = {
32640 (char *) "self", NULL
32643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
32644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32645 if (SWIG_arg_fail(1)) SWIG_fail
;
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 (arg1
)->base_InitDialog();
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32653 Py_INCREF(Py_None
); resultobj
= Py_None
;
32660 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32661 PyObject
*resultobj
;
32662 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32664 PyObject
* obj0
= 0 ;
32665 char *kwnames
[] = {
32666 (char *) "self", NULL
32669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
32670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32671 if (SWIG_arg_fail(1)) SWIG_fail
;
32673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32674 result
= (bool)(arg1
)->base_TransferDataToWindow();
32676 wxPyEndAllowThreads(__tstate
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32688 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32689 PyObject
*resultobj
;
32690 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32692 PyObject
* obj0
= 0 ;
32693 char *kwnames
[] = {
32694 (char *) "self", NULL
32697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
32698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32699 if (SWIG_arg_fail(1)) SWIG_fail
;
32701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32702 result
= (bool)(arg1
)->base_TransferDataFromWindow();
32704 wxPyEndAllowThreads(__tstate
);
32705 if (PyErr_Occurred()) SWIG_fail
;
32708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32716 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32717 PyObject
*resultobj
;
32718 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32720 PyObject
* obj0
= 0 ;
32721 char *kwnames
[] = {
32722 (char *) "self", NULL
32725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
32726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32727 if (SWIG_arg_fail(1)) SWIG_fail
;
32729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32730 result
= (bool)(arg1
)->base_Validate();
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32744 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32745 PyObject
*resultobj
;
32746 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32748 PyObject
* obj0
= 0 ;
32749 char *kwnames
[] = {
32750 (char *) "self", NULL
32753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
32754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32755 if (SWIG_arg_fail(1)) SWIG_fail
;
32757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32758 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
32760 wxPyEndAllowThreads(__tstate
);
32761 if (PyErr_Occurred()) SWIG_fail
;
32764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32772 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32773 PyObject
*resultobj
;
32774 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32776 PyObject
* obj0
= 0 ;
32777 char *kwnames
[] = {
32778 (char *) "self", NULL
32781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
32782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32783 if (SWIG_arg_fail(1)) SWIG_fail
;
32785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32786 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
32788 wxPyEndAllowThreads(__tstate
);
32789 if (PyErr_Occurred()) SWIG_fail
;
32792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32800 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32801 PyObject
*resultobj
;
32802 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32804 PyObject
* obj0
= 0 ;
32805 char *kwnames
[] = {
32806 (char *) "self", NULL
32809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
32810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32811 if (SWIG_arg_fail(1)) SWIG_fail
;
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32820 wxSize
* resultptr
;
32821 resultptr
= new wxSize((wxSize
&)(result
));
32822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32830 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32831 PyObject
*resultobj
;
32832 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32833 wxWindow
*arg2
= (wxWindow
*) 0 ;
32834 PyObject
* obj0
= 0 ;
32835 PyObject
* obj1
= 0 ;
32836 char *kwnames
[] = {
32837 (char *) "self",(char *) "child", NULL
32840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32842 if (SWIG_arg_fail(1)) SWIG_fail
;
32843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32844 if (SWIG_arg_fail(2)) SWIG_fail
;
32846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32847 (arg1
)->base_AddChild(arg2
);
32849 wxPyEndAllowThreads(__tstate
);
32850 if (PyErr_Occurred()) SWIG_fail
;
32852 Py_INCREF(Py_None
); resultobj
= Py_None
;
32859 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32860 PyObject
*resultobj
;
32861 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32862 wxWindow
*arg2
= (wxWindow
*) 0 ;
32863 PyObject
* obj0
= 0 ;
32864 PyObject
* obj1
= 0 ;
32865 char *kwnames
[] = {
32866 (char *) "self",(char *) "child", NULL
32869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
32870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32871 if (SWIG_arg_fail(1)) SWIG_fail
;
32872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32873 if (SWIG_arg_fail(2)) SWIG_fail
;
32875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32876 (arg1
)->base_RemoveChild(arg2
);
32878 wxPyEndAllowThreads(__tstate
);
32879 if (PyErr_Occurred()) SWIG_fail
;
32881 Py_INCREF(Py_None
); resultobj
= Py_None
;
32888 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32889 PyObject
*resultobj
;
32890 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32892 PyObject
* obj0
= 0 ;
32893 char *kwnames
[] = {
32894 (char *) "self", NULL
32897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32899 if (SWIG_arg_fail(1)) SWIG_fail
;
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
32904 wxPyEndAllowThreads(__tstate
);
32905 if (PyErr_Occurred()) SWIG_fail
;
32908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32916 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32917 PyObject
*resultobj
;
32918 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32919 wxColour
*arg2
= 0 ;
32921 PyObject
* obj0
= 0 ;
32922 PyObject
* obj1
= 0 ;
32923 char *kwnames
[] = {
32924 (char *) "self",(char *) "c", NULL
32927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
32928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32929 if (SWIG_arg_fail(1)) SWIG_fail
;
32932 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32936 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
32938 wxPyEndAllowThreads(__tstate
);
32939 if (PyErr_Occurred()) SWIG_fail
;
32941 Py_INCREF(Py_None
); resultobj
= Py_None
;
32948 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32949 PyObject
*resultobj
;
32950 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
32951 wxVisualAttributes result
;
32952 PyObject
* obj0
= 0 ;
32953 char *kwnames
[] = {
32954 (char *) "self", NULL
32957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
32958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyControl
, SWIG_POINTER_EXCEPTION
| 0);
32959 if (SWIG_arg_fail(1)) SWIG_fail
;
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32962 result
= (arg1
)->base_GetDefaultAttributes();
32964 wxPyEndAllowThreads(__tstate
);
32965 if (PyErr_Occurred()) SWIG_fail
;
32968 wxVisualAttributes
* resultptr
;
32969 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
32970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
32978 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
32980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32981 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
32983 return Py_BuildValue((char *)"");
32985 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32986 PyObject
*resultobj
;
32987 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32988 int arg2
= (int) 0 ;
32989 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32990 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32991 wxHelpEvent
*result
;
32993 PyObject
* obj0
= 0 ;
32994 PyObject
* obj1
= 0 ;
32995 PyObject
* obj2
= 0 ;
32996 char *kwnames
[] = {
32997 (char *) "type",(char *) "winid",(char *) "pt", NULL
33000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33003 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
33004 if (SWIG_arg_fail(1)) SWIG_fail
;
33009 arg2
= (int)(SWIG_As_int(obj1
));
33010 if (SWIG_arg_fail(2)) SWIG_fail
;
33016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33021 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
33023 wxPyEndAllowThreads(__tstate
);
33024 if (PyErr_Occurred()) SWIG_fail
;
33026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
33033 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33034 PyObject
*resultobj
;
33035 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33037 PyObject
* obj0
= 0 ;
33038 char *kwnames
[] = {
33039 (char *) "self", NULL
33042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
33043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33044 if (SWIG_arg_fail(1)) SWIG_fail
;
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33053 wxPoint
* resultptr
;
33054 resultptr
= new wxPoint((wxPoint
const &)(result
));
33055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33063 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33064 PyObject
*resultobj
;
33065 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33066 wxPoint
*arg2
= 0 ;
33068 PyObject
* obj0
= 0 ;
33069 PyObject
* obj1
= 0 ;
33070 char *kwnames
[] = {
33071 (char *) "self",(char *) "pos", NULL
33074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33076 if (SWIG_arg_fail(1)) SWIG_fail
;
33079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33083 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
33085 wxPyEndAllowThreads(__tstate
);
33086 if (PyErr_Occurred()) SWIG_fail
;
33088 Py_INCREF(Py_None
); resultobj
= Py_None
;
33095 static PyObject
*_wrap_HelpEvent_GetLink(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_GetLink",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
)->GetLink();
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_SetLink(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 *) "link", NULL
33141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",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
)->SetLink((wxString
const &)*arg2
);
33153 wxPyEndAllowThreads(__tstate
);
33154 if (PyErr_Occurred()) SWIG_fail
;
33156 Py_INCREF(Py_None
); resultobj
= Py_None
;
33171 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33172 PyObject
*resultobj
;
33173 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33175 PyObject
* obj0
= 0 ;
33176 char *kwnames
[] = {
33177 (char *) "self", NULL
33180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
33181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33182 if (SWIG_arg_fail(1)) SWIG_fail
;
33184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
33187 result
= (wxString
*) &_result_ref
;
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33195 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33197 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33206 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33207 PyObject
*resultobj
;
33208 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
33209 wxString
*arg2
= 0 ;
33210 bool temp2
= false ;
33211 PyObject
* obj0
= 0 ;
33212 PyObject
* obj1
= 0 ;
33213 char *kwnames
[] = {
33214 (char *) "self",(char *) "target", NULL
33217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
33218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_EXCEPTION
| 0);
33219 if (SWIG_arg_fail(1)) SWIG_fail
;
33221 arg2
= wxString_in_helper(obj1
);
33222 if (arg2
== NULL
) SWIG_fail
;
33226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33227 (arg1
)->SetTarget((wxString
const &)*arg2
);
33229 wxPyEndAllowThreads(__tstate
);
33230 if (PyErr_Occurred()) SWIG_fail
;
33232 Py_INCREF(Py_None
); resultobj
= Py_None
;
33247 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
33249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33250 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
33252 return Py_BuildValue((char *)"");
33254 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33255 PyObject
*resultobj
;
33256 wxWindow
*arg1
= (wxWindow
*) NULL
;
33257 bool arg2
= (bool) true ;
33258 wxContextHelp
*result
;
33259 PyObject
* obj0
= 0 ;
33260 PyObject
* obj1
= 0 ;
33261 char *kwnames
[] = {
33262 (char *) "window",(char *) "doNow", NULL
33265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33268 if (SWIG_arg_fail(1)) SWIG_fail
;
33272 arg2
= (bool)(SWIG_As_bool(obj1
));
33273 if (SWIG_arg_fail(2)) SWIG_fail
;
33277 if (!wxPyCheckForApp()) SWIG_fail
;
33278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33279 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
33281 wxPyEndAllowThreads(__tstate
);
33282 if (PyErr_Occurred()) SWIG_fail
;
33284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
33291 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33292 PyObject
*resultobj
;
33293 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33294 PyObject
* obj0
= 0 ;
33295 char *kwnames
[] = {
33296 (char *) "self", NULL
33299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
33300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33301 if (SWIG_arg_fail(1)) SWIG_fail
;
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 Py_INCREF(Py_None
); resultobj
= Py_None
;
33316 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
;
33318 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33319 wxWindow
*arg2
= (wxWindow
*) NULL
;
33321 PyObject
* obj0
= 0 ;
33322 PyObject
* obj1
= 0 ;
33323 char *kwnames
[] = {
33324 (char *) "self",(char *) "window", NULL
33327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33329 if (SWIG_arg_fail(1)) SWIG_fail
;
33331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33332 if (SWIG_arg_fail(2)) SWIG_fail
;
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33350 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33351 PyObject
*resultobj
;
33352 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
33354 PyObject
* obj0
= 0 ;
33355 char *kwnames
[] = {
33356 (char *) "self", NULL
33359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
33360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_EXCEPTION
| 0);
33361 if (SWIG_arg_fail(1)) SWIG_fail
;
33363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33364 result
= (bool)(arg1
)->EndContextHelp();
33366 wxPyEndAllowThreads(__tstate
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33378 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
33380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33381 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
33383 return Py_BuildValue((char *)"");
33385 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33386 PyObject
*resultobj
;
33387 wxWindow
*arg1
= (wxWindow
*) 0 ;
33388 int arg2
= (int) wxID_CONTEXT_HELP
;
33389 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33390 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33391 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33392 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33393 long arg5
= (long) wxBU_AUTODRAW
;
33394 wxContextHelpButton
*result
;
33397 PyObject
* obj0
= 0 ;
33398 PyObject
* obj1
= 0 ;
33399 PyObject
* obj2
= 0 ;
33400 PyObject
* obj3
= 0 ;
33401 PyObject
* obj4
= 0 ;
33402 char *kwnames
[] = {
33403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33408 if (SWIG_arg_fail(1)) SWIG_fail
;
33411 arg2
= (int)(SWIG_As_int(obj1
));
33412 if (SWIG_arg_fail(2)) SWIG_fail
;
33418 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33424 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33429 arg5
= (long)(SWIG_As_long(obj4
));
33430 if (SWIG_arg_fail(5)) SWIG_fail
;
33434 if (!wxPyCheckForApp()) SWIG_fail
;
33435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33436 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
33448 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
33450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33451 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
33453 return Py_BuildValue((char *)"");
33455 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33456 PyObject
*resultobj
;
33457 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33458 wxHelpProvider
*result
;
33459 PyObject
* obj0
= 0 ;
33460 char *kwnames
[] = {
33461 (char *) "helpProvider", NULL
33464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
33465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33466 if (SWIG_arg_fail(1)) SWIG_fail
;
33468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33469 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
33471 wxPyEndAllowThreads(__tstate
);
33472 if (PyErr_Occurred()) SWIG_fail
;
33474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33481 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33482 PyObject
*resultobj
;
33483 wxHelpProvider
*result
;
33484 char *kwnames
[] = {
33488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
33490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33491 result
= (wxHelpProvider
*)wxHelpProvider::Get();
33493 wxPyEndAllowThreads(__tstate
);
33494 if (PyErr_Occurred()) SWIG_fail
;
33496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
33503 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33504 PyObject
*resultobj
;
33505 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33506 wxWindow
*arg2
= (wxWindow
*) 0 ;
33508 PyObject
* obj0
= 0 ;
33509 PyObject
* obj1
= 0 ;
33510 char *kwnames
[] = {
33511 (char *) "self",(char *) "window", NULL
33514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33516 if (SWIG_arg_fail(1)) SWIG_fail
;
33517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33518 if (SWIG_arg_fail(2)) SWIG_fail
;
33520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33521 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
33523 wxPyEndAllowThreads(__tstate
);
33524 if (PyErr_Occurred()) SWIG_fail
;
33528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33539 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33540 PyObject
*resultobj
;
33541 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33542 wxWindow
*arg2
= (wxWindow
*) 0 ;
33544 PyObject
* obj0
= 0 ;
33545 PyObject
* obj1
= 0 ;
33546 char *kwnames
[] = {
33547 (char *) "self",(char *) "window", NULL
33550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33552 if (SWIG_arg_fail(1)) SWIG_fail
;
33553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33554 if (SWIG_arg_fail(2)) SWIG_fail
;
33556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33557 result
= (bool)(arg1
)->ShowHelp(arg2
);
33559 wxPyEndAllowThreads(__tstate
);
33560 if (PyErr_Occurred()) SWIG_fail
;
33563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33571 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33572 PyObject
*resultobj
;
33573 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33574 wxWindow
*arg2
= (wxWindow
*) 0 ;
33575 wxString
*arg3
= 0 ;
33576 bool temp3
= false ;
33577 PyObject
* obj0
= 0 ;
33578 PyObject
* obj1
= 0 ;
33579 PyObject
* obj2
= 0 ;
33580 char *kwnames
[] = {
33581 (char *) "self",(char *) "window",(char *) "text", NULL
33584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33586 if (SWIG_arg_fail(1)) SWIG_fail
;
33587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33588 if (SWIG_arg_fail(2)) SWIG_fail
;
33590 arg3
= wxString_in_helper(obj2
);
33591 if (arg3
== NULL
) SWIG_fail
;
33595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33596 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33598 wxPyEndAllowThreads(__tstate
);
33599 if (PyErr_Occurred()) SWIG_fail
;
33601 Py_INCREF(Py_None
); resultobj
= Py_None
;
33616 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33617 PyObject
*resultobj
;
33618 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33620 wxString
*arg3
= 0 ;
33621 bool temp3
= false ;
33622 PyObject
* obj0
= 0 ;
33623 PyObject
* obj1
= 0 ;
33624 PyObject
* obj2
= 0 ;
33625 char *kwnames
[] = {
33626 (char *) "self",(char *) "id",(char *) "text", NULL
33629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33631 if (SWIG_arg_fail(1)) SWIG_fail
;
33633 arg2
= (int)(SWIG_As_int(obj1
));
33634 if (SWIG_arg_fail(2)) SWIG_fail
;
33637 arg3
= wxString_in_helper(obj2
);
33638 if (arg3
== NULL
) SWIG_fail
;
33642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33643 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
33645 wxPyEndAllowThreads(__tstate
);
33646 if (PyErr_Occurred()) SWIG_fail
;
33648 Py_INCREF(Py_None
); resultobj
= Py_None
;
33663 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33664 PyObject
*resultobj
;
33665 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33666 wxWindow
*arg2
= (wxWindow
*) 0 ;
33667 PyObject
* obj0
= 0 ;
33668 PyObject
* obj1
= 0 ;
33669 char *kwnames
[] = {
33670 (char *) "self",(char *) "window", NULL
33673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33675 if (SWIG_arg_fail(1)) SWIG_fail
;
33676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33677 if (SWIG_arg_fail(2)) SWIG_fail
;
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33680 (arg1
)->RemoveHelp(arg2
);
33682 wxPyEndAllowThreads(__tstate
);
33683 if (PyErr_Occurred()) SWIG_fail
;
33685 Py_INCREF(Py_None
); resultobj
= Py_None
;
33692 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33693 PyObject
*resultobj
;
33694 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
33695 PyObject
* obj0
= 0 ;
33696 char *kwnames
[] = {
33697 (char *) "self", NULL
33700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
33701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_EXCEPTION
| 0);
33702 if (SWIG_arg_fail(1)) SWIG_fail
;
33704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33705 wxHelpProvider_Destroy(arg1
);
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 Py_INCREF(Py_None
); resultobj
= Py_None
;
33717 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33720 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
33722 return Py_BuildValue((char *)"");
33724 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33725 PyObject
*resultobj
;
33726 wxSimpleHelpProvider
*result
;
33727 char *kwnames
[] = {
33731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33734 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
33736 wxPyEndAllowThreads(__tstate
);
33737 if (PyErr_Occurred()) SWIG_fail
;
33739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
33746 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
33748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33749 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
33751 return Py_BuildValue((char *)"");
33753 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33754 PyObject
*resultobj
;
33755 wxBitmap
*arg1
= 0 ;
33756 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33757 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33758 wxGenericDragImage
*result
;
33759 PyObject
* obj0
= 0 ;
33760 PyObject
* obj1
= 0 ;
33761 char *kwnames
[] = {
33762 (char *) "image",(char *) "cursor", NULL
33765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
33767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
33768 if (SWIG_arg_fail(1)) SWIG_fail
;
33769 if (arg1
== NULL
) {
33770 SWIG_null_ref("wxBitmap");
33772 if (SWIG_arg_fail(1)) SWIG_fail
;
33776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33777 if (SWIG_arg_fail(2)) SWIG_fail
;
33778 if (arg2
== NULL
) {
33779 SWIG_null_ref("wxCursor");
33781 if (SWIG_arg_fail(2)) SWIG_fail
;
33785 if (!wxPyCheckForApp()) SWIG_fail
;
33786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33799 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33800 PyObject
*resultobj
;
33802 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33803 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33804 wxGenericDragImage
*result
;
33805 PyObject
* obj0
= 0 ;
33806 PyObject
* obj1
= 0 ;
33807 char *kwnames
[] = {
33808 (char *) "image",(char *) "cursor", NULL
33811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
33813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
33814 if (SWIG_arg_fail(1)) SWIG_fail
;
33815 if (arg1
== NULL
) {
33816 SWIG_null_ref("wxIcon");
33818 if (SWIG_arg_fail(1)) SWIG_fail
;
33822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33823 if (SWIG_arg_fail(2)) SWIG_fail
;
33824 if (arg2
== NULL
) {
33825 SWIG_null_ref("wxCursor");
33827 if (SWIG_arg_fail(2)) SWIG_fail
;
33831 if (!wxPyCheckForApp()) SWIG_fail
;
33832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33833 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
33835 wxPyEndAllowThreads(__tstate
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33845 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33846 PyObject
*resultobj
;
33847 wxString
*arg1
= 0 ;
33848 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33849 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33850 wxGenericDragImage
*result
;
33851 bool temp1
= false ;
33852 PyObject
* obj0
= 0 ;
33853 PyObject
* obj1
= 0 ;
33854 char *kwnames
[] = {
33855 (char *) "str",(char *) "cursor", NULL
33858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
33860 arg1
= wxString_in_helper(obj0
);
33861 if (arg1
== NULL
) SWIG_fail
;
33866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
33867 if (SWIG_arg_fail(2)) SWIG_fail
;
33868 if (arg2
== NULL
) {
33869 SWIG_null_ref("wxCursor");
33871 if (SWIG_arg_fail(2)) SWIG_fail
;
33875 if (!wxPyCheckForApp()) SWIG_fail
;
33876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33877 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
33879 wxPyEndAllowThreads(__tstate
);
33880 if (PyErr_Occurred()) SWIG_fail
;
33882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33897 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33898 PyObject
*resultobj
;
33899 wxPyTreeCtrl
*arg1
= 0 ;
33900 wxTreeItemId
*arg2
= 0 ;
33901 wxGenericDragImage
*result
;
33902 PyObject
* obj0
= 0 ;
33903 PyObject
* obj1
= 0 ;
33904 char *kwnames
[] = {
33905 (char *) "treeCtrl",(char *) "id", NULL
33908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33911 if (SWIG_arg_fail(1)) SWIG_fail
;
33912 if (arg1
== NULL
) {
33913 SWIG_null_ref("wxPyTreeCtrl");
33915 if (SWIG_arg_fail(1)) SWIG_fail
;
33918 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_EXCEPTION
| 0);
33919 if (SWIG_arg_fail(2)) SWIG_fail
;
33920 if (arg2
== NULL
) {
33921 SWIG_null_ref("wxTreeItemId");
33923 if (SWIG_arg_fail(2)) SWIG_fail
;
33926 if (!wxPyCheckForApp()) SWIG_fail
;
33927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33928 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
33930 wxPyEndAllowThreads(__tstate
);
33931 if (PyErr_Occurred()) SWIG_fail
;
33933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33940 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33941 PyObject
*resultobj
;
33942 wxPyListCtrl
*arg1
= 0 ;
33944 wxGenericDragImage
*result
;
33945 PyObject
* obj0
= 0 ;
33946 PyObject
* obj1
= 0 ;
33947 char *kwnames
[] = {
33948 (char *) "listCtrl",(char *) "id", NULL
33951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_EXCEPTION
| 0);
33954 if (SWIG_arg_fail(1)) SWIG_fail
;
33955 if (arg1
== NULL
) {
33956 SWIG_null_ref("wxPyListCtrl");
33958 if (SWIG_arg_fail(1)) SWIG_fail
;
33961 arg2
= (long)(SWIG_As_long(obj1
));
33962 if (SWIG_arg_fail(2)) SWIG_fail
;
33965 if (!wxPyCheckForApp()) SWIG_fail
;
33966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33967 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
33969 wxPyEndAllowThreads(__tstate
);
33970 if (PyErr_Occurred()) SWIG_fail
;
33972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
33979 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33980 PyObject
*resultobj
;
33981 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
33982 PyObject
* obj0
= 0 ;
33983 char *kwnames
[] = {
33984 (char *) "self", NULL
33987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
33988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
33989 if (SWIG_arg_fail(1)) SWIG_fail
;
33991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33997 Py_INCREF(Py_None
); resultobj
= Py_None
;
34004 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
;
34006 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34007 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34008 PyObject
* obj0
= 0 ;
34009 PyObject
* obj1
= 0 ;
34010 char *kwnames
[] = {
34011 (char *) "self",(char *) "bitmap", NULL
34014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
34015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34016 if (SWIG_arg_fail(1)) SWIG_fail
;
34017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
34018 if (SWIG_arg_fail(2)) SWIG_fail
;
34020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34021 (arg1
)->SetBackingBitmap(arg2
);
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 Py_INCREF(Py_None
); resultobj
= Py_None
;
34033 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
;
34035 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34036 wxPoint
*arg2
= 0 ;
34037 wxWindow
*arg3
= (wxWindow
*) 0 ;
34038 bool arg4
= (bool) false ;
34039 wxRect
*arg5
= (wxRect
*) NULL
;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 PyObject
* obj2
= 0 ;
34045 PyObject
* obj3
= 0 ;
34046 PyObject
* obj4
= 0 ;
34047 char *kwnames
[] = {
34048 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
34051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34053 if (SWIG_arg_fail(1)) SWIG_fail
;
34056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34058 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34059 if (SWIG_arg_fail(3)) SWIG_fail
;
34062 arg4
= (bool)(SWIG_As_bool(obj3
));
34063 if (SWIG_arg_fail(4)) SWIG_fail
;
34067 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
34068 if (SWIG_arg_fail(5)) SWIG_fail
;
34071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34072 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
34074 wxPyEndAllowThreads(__tstate
);
34075 if (PyErr_Occurred()) SWIG_fail
;
34078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34086 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34087 PyObject
*resultobj
;
34088 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34089 wxPoint
*arg2
= 0 ;
34090 wxWindow
*arg3
= (wxWindow
*) 0 ;
34091 wxWindow
*arg4
= (wxWindow
*) 0 ;
34094 PyObject
* obj0
= 0 ;
34095 PyObject
* obj1
= 0 ;
34096 PyObject
* obj2
= 0 ;
34097 PyObject
* obj3
= 0 ;
34098 char *kwnames
[] = {
34099 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34104 if (SWIG_arg_fail(1)) SWIG_fail
;
34107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34109 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34110 if (SWIG_arg_fail(3)) SWIG_fail
;
34111 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34112 if (SWIG_arg_fail(4)) SWIG_fail
;
34114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34115 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
34117 wxPyEndAllowThreads(__tstate
);
34118 if (PyErr_Occurred()) SWIG_fail
;
34121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34129 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34130 PyObject
*resultobj
;
34131 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34133 PyObject
* obj0
= 0 ;
34134 char *kwnames
[] = {
34135 (char *) "self", NULL
34138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
34139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34140 if (SWIG_arg_fail(1)) SWIG_fail
;
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 result
= (bool)(arg1
)->EndDrag();
34145 wxPyEndAllowThreads(__tstate
);
34146 if (PyErr_Occurred()) SWIG_fail
;
34149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34157 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34158 PyObject
*resultobj
;
34159 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34160 wxPoint
*arg2
= 0 ;
34163 PyObject
* obj0
= 0 ;
34164 PyObject
* obj1
= 0 ;
34165 char *kwnames
[] = {
34166 (char *) "self",(char *) "pt", NULL
34169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
34170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34171 if (SWIG_arg_fail(1)) SWIG_fail
;
34174 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34178 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
34180 wxPyEndAllowThreads(__tstate
);
34181 if (PyErr_Occurred()) SWIG_fail
;
34184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34192 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34193 PyObject
*resultobj
;
34194 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34196 PyObject
* obj0
= 0 ;
34197 char *kwnames
[] = {
34198 (char *) "self", NULL
34201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
34202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34203 if (SWIG_arg_fail(1)) SWIG_fail
;
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 result
= (bool)(arg1
)->Show();
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34220 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
;
34222 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34224 PyObject
* obj0
= 0 ;
34225 char *kwnames
[] = {
34226 (char *) "self", NULL
34229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
34230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34231 if (SWIG_arg_fail(1)) SWIG_fail
;
34233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34234 result
= (bool)(arg1
)->Hide();
34236 wxPyEndAllowThreads(__tstate
);
34237 if (PyErr_Occurred()) SWIG_fail
;
34240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34248 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34249 PyObject
*resultobj
;
34250 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34251 wxPoint
*arg2
= 0 ;
34254 PyObject
* obj0
= 0 ;
34255 PyObject
* obj1
= 0 ;
34256 char *kwnames
[] = {
34257 (char *) "self",(char *) "pos", NULL
34260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
34261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34262 if (SWIG_arg_fail(1)) SWIG_fail
;
34265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34269 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
34271 wxPyEndAllowThreads(__tstate
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34275 wxRect
* resultptr
;
34276 resultptr
= new wxRect((wxRect
&)(result
));
34277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34285 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34286 PyObject
*resultobj
;
34287 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34289 wxPoint
*arg3
= 0 ;
34292 PyObject
* obj0
= 0 ;
34293 PyObject
* obj1
= 0 ;
34294 PyObject
* obj2
= 0 ;
34295 char *kwnames
[] = {
34296 (char *) "self",(char *) "dc",(char *) "pos", NULL
34299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34301 if (SWIG_arg_fail(1)) SWIG_fail
;
34303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34304 if (SWIG_arg_fail(2)) SWIG_fail
;
34305 if (arg2
== NULL
) {
34306 SWIG_null_ref("wxDC");
34308 if (SWIG_arg_fail(2)) SWIG_fail
;
34312 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34316 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
34318 wxPyEndAllowThreads(__tstate
);
34319 if (PyErr_Occurred()) SWIG_fail
;
34322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34330 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34331 PyObject
*resultobj
;
34332 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34334 wxMemoryDC
*arg3
= 0 ;
34340 PyObject
* obj0
= 0 ;
34341 PyObject
* obj1
= 0 ;
34342 PyObject
* obj2
= 0 ;
34343 PyObject
* obj3
= 0 ;
34344 PyObject
* obj4
= 0 ;
34345 char *kwnames
[] = {
34346 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34351 if (SWIG_arg_fail(1)) SWIG_fail
;
34353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
34354 if (SWIG_arg_fail(2)) SWIG_fail
;
34355 if (arg2
== NULL
) {
34356 SWIG_null_ref("wxDC");
34358 if (SWIG_arg_fail(2)) SWIG_fail
;
34361 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_EXCEPTION
| 0);
34362 if (SWIG_arg_fail(3)) SWIG_fail
;
34363 if (arg3
== NULL
) {
34364 SWIG_null_ref("wxMemoryDC");
34366 if (SWIG_arg_fail(3)) SWIG_fail
;
34370 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34374 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
34377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34378 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
34380 wxPyEndAllowThreads(__tstate
);
34381 if (PyErr_Occurred()) SWIG_fail
;
34384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34392 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34393 PyObject
*resultobj
;
34394 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
34395 wxPoint
*arg2
= 0 ;
34396 wxPoint
*arg3
= 0 ;
34402 PyObject
* obj0
= 0 ;
34403 PyObject
* obj1
= 0 ;
34404 PyObject
* obj2
= 0 ;
34405 PyObject
* obj3
= 0 ;
34406 PyObject
* obj4
= 0 ;
34407 char *kwnames
[] = {
34408 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_EXCEPTION
| 0);
34413 if (SWIG_arg_fail(1)) SWIG_fail
;
34416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34423 arg4
= (bool)(SWIG_As_bool(obj3
));
34424 if (SWIG_arg_fail(4)) SWIG_fail
;
34427 arg5
= (bool)(SWIG_As_bool(obj4
));
34428 if (SWIG_arg_fail(5)) SWIG_fail
;
34431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34432 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
34434 wxPyEndAllowThreads(__tstate
);
34435 if (PyErr_Occurred()) SWIG_fail
;
34438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34446 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
34448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34449 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
34451 return Py_BuildValue((char *)"");
34453 static int _wrap_DatePickerCtrlNameStr_set(PyObject
*) {
34454 PyErr_SetString(PyExc_TypeError
,"Variable DatePickerCtrlNameStr is read-only.");
34459 static PyObject
*_wrap_DatePickerCtrlNameStr_get(void) {
34464 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34466 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
34473 static PyObject
*_wrap_new_DatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34474 PyObject
*resultobj
;
34475 wxWindow
*arg1
= (wxWindow
*) 0 ;
34476 int arg2
= (int) -1 ;
34477 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
34478 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
34479 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34480 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34481 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34482 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34483 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34484 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34485 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34486 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
34487 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34488 wxDatePickerCtrl
*result
;
34491 bool temp8
= false ;
34492 PyObject
* obj0
= 0 ;
34493 PyObject
* obj1
= 0 ;
34494 PyObject
* obj2
= 0 ;
34495 PyObject
* obj3
= 0 ;
34496 PyObject
* obj4
= 0 ;
34497 PyObject
* obj5
= 0 ;
34498 PyObject
* obj6
= 0 ;
34499 PyObject
* obj7
= 0 ;
34500 char *kwnames
[] = {
34501 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
34505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34506 if (SWIG_arg_fail(1)) SWIG_fail
;
34509 arg2
= (int)(SWIG_As_int(obj1
));
34510 if (SWIG_arg_fail(2)) SWIG_fail
;
34515 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34516 if (SWIG_arg_fail(3)) SWIG_fail
;
34517 if (arg3
== NULL
) {
34518 SWIG_null_ref("wxDateTime");
34520 if (SWIG_arg_fail(3)) SWIG_fail
;
34526 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34532 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34537 arg6
= (long)(SWIG_As_long(obj5
));
34538 if (SWIG_arg_fail(6)) SWIG_fail
;
34543 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34544 if (SWIG_arg_fail(7)) SWIG_fail
;
34545 if (arg7
== NULL
) {
34546 SWIG_null_ref("wxValidator");
34548 if (SWIG_arg_fail(7)) SWIG_fail
;
34553 arg8
= wxString_in_helper(obj7
);
34554 if (arg8
== NULL
) SWIG_fail
;
34559 if (!wxPyCheckForApp()) SWIG_fail
;
34560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34561 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34563 wxPyEndAllowThreads(__tstate
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34581 static PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34582 PyObject
*resultobj
;
34583 wxDatePickerCtrl
*result
;
34584 char *kwnames
[] = {
34588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDatePickerCtrl",kwnames
)) goto fail
;
34590 if (!wxPyCheckForApp()) SWIG_fail
;
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
34594 wxPyEndAllowThreads(__tstate
);
34595 if (PyErr_Occurred()) SWIG_fail
;
34597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDatePickerCtrl
, 1);
34604 static PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34605 PyObject
*resultobj
;
34606 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34607 wxWindow
*arg2
= (wxWindow
*) 0 ;
34608 int arg3
= (int) -1 ;
34609 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
34610 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
34611 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
34612 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
34613 wxSize
const &arg6_defvalue
= wxDefaultSize
;
34614 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
34615 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
34616 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
34617 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
34618 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
34619 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
34623 bool temp9
= false ;
34624 PyObject
* obj0
= 0 ;
34625 PyObject
* obj1
= 0 ;
34626 PyObject
* obj2
= 0 ;
34627 PyObject
* obj3
= 0 ;
34628 PyObject
* obj4
= 0 ;
34629 PyObject
* obj5
= 0 ;
34630 PyObject
* obj6
= 0 ;
34631 PyObject
* obj7
= 0 ;
34632 PyObject
* obj8
= 0 ;
34633 char *kwnames
[] = {
34634 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
34638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34639 if (SWIG_arg_fail(1)) SWIG_fail
;
34640 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34641 if (SWIG_arg_fail(2)) SWIG_fail
;
34644 arg3
= (int)(SWIG_As_int(obj2
));
34645 if (SWIG_arg_fail(3)) SWIG_fail
;
34650 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34651 if (SWIG_arg_fail(4)) SWIG_fail
;
34652 if (arg4
== NULL
) {
34653 SWIG_null_ref("wxDateTime");
34655 if (SWIG_arg_fail(4)) SWIG_fail
;
34661 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
34667 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
34672 arg7
= (long)(SWIG_As_long(obj6
));
34673 if (SWIG_arg_fail(7)) SWIG_fail
;
34678 SWIG_Python_ConvertPtr(obj7
, (void **)&arg8
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
34679 if (SWIG_arg_fail(8)) SWIG_fail
;
34680 if (arg8
== NULL
) {
34681 SWIG_null_ref("wxValidator");
34683 if (SWIG_arg_fail(8)) SWIG_fail
;
34688 arg9
= wxString_in_helper(obj8
);
34689 if (arg9
== NULL
) SWIG_fail
;
34694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34695 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
34697 wxPyEndAllowThreads(__tstate
);
34698 if (PyErr_Occurred()) SWIG_fail
;
34701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34717 static PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34718 PyObject
*resultobj
;
34719 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34720 wxDateTime
*arg2
= 0 ;
34721 PyObject
* obj0
= 0 ;
34722 PyObject
* obj1
= 0 ;
34723 char *kwnames
[] = {
34724 (char *) "self",(char *) "dt", NULL
34727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
34728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34729 if (SWIG_arg_fail(1)) SWIG_fail
;
34731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34732 if (SWIG_arg_fail(2)) SWIG_fail
;
34733 if (arg2
== NULL
) {
34734 SWIG_null_ref("wxDateTime");
34736 if (SWIG_arg_fail(2)) SWIG_fail
;
34739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34740 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
34742 wxPyEndAllowThreads(__tstate
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34745 Py_INCREF(Py_None
); resultobj
= Py_None
;
34752 static PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34753 PyObject
*resultobj
;
34754 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34756 PyObject
* obj0
= 0 ;
34757 char *kwnames
[] = {
34758 (char *) "self", NULL
34761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
34762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34763 if (SWIG_arg_fail(1)) SWIG_fail
;
34765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34766 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
34768 wxPyEndAllowThreads(__tstate
);
34769 if (PyErr_Occurred()) SWIG_fail
;
34772 wxDateTime
* resultptr
;
34773 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34782 static PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
;
34784 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34785 wxDateTime
*arg2
= 0 ;
34786 wxDateTime
*arg3
= 0 ;
34787 PyObject
* obj0
= 0 ;
34788 PyObject
* obj1
= 0 ;
34789 PyObject
* obj2
= 0 ;
34790 char *kwnames
[] = {
34791 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34796 if (SWIG_arg_fail(1)) SWIG_fail
;
34798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34799 if (SWIG_arg_fail(2)) SWIG_fail
;
34800 if (arg2
== NULL
) {
34801 SWIG_null_ref("wxDateTime");
34803 if (SWIG_arg_fail(2)) SWIG_fail
;
34806 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
34807 if (SWIG_arg_fail(3)) SWIG_fail
;
34808 if (arg3
== NULL
) {
34809 SWIG_null_ref("wxDateTime");
34811 if (SWIG_arg_fail(3)) SWIG_fail
;
34814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34815 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
34817 wxPyEndAllowThreads(__tstate
);
34818 if (PyErr_Occurred()) SWIG_fail
;
34820 Py_INCREF(Py_None
); resultobj
= Py_None
;
34827 static PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
;
34829 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34831 PyObject
* obj0
= 0 ;
34832 char *kwnames
[] = {
34833 (char *) "self", NULL
34836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames
,&obj0
)) goto fail
;
34837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34838 if (SWIG_arg_fail(1)) SWIG_fail
;
34840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34841 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
34843 wxPyEndAllowThreads(__tstate
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34847 wxDateTime
* resultptr
;
34848 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34857 static PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34858 PyObject
*resultobj
;
34859 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
34861 PyObject
* obj0
= 0 ;
34862 char *kwnames
[] = {
34863 (char *) "self", NULL
34866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames
,&obj0
)) goto fail
;
34867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_EXCEPTION
| 0);
34868 if (SWIG_arg_fail(1)) SWIG_fail
;
34870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34871 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
34873 wxPyEndAllowThreads(__tstate
);
34874 if (PyErr_Occurred()) SWIG_fail
;
34877 wxDateTime
* resultptr
;
34878 resultptr
= new wxDateTime((wxDateTime
&)(result
));
34879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
34887 static PyObject
* DatePickerCtrl_swigregister(PyObject
*, PyObject
*args
) {
34889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34890 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl
, obj
);
34892 return Py_BuildValue((char *)"");
34894 static PyMethodDef SwigMethods
[] = {
34895 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
34902 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
34917 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
34929 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
34934 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
34965 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
34979 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
34984 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
34991 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
34996 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
35004 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
35027 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
35036 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
35067 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
35123 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
35128 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
35140 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
35153 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
35165 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
35169 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
35187 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
35194 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
35220 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
35228 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
35250 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
35256 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
) _wrap_Notebook_GetThemeBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
35267 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
35269 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
35275 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
35277 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
35283 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
35285 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
35290 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
35295 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35296 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35297 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35298 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35306 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35307 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35308 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35309 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35315 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
35325 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35330 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35331 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35332 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35333 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35334 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35335 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35336 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35337 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35340 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35350 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35351 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35355 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35357 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35360 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35361 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35362 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35363 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35364 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35365 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35366 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
35370 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35373 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35374 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
35376 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
35388 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
35440 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
35467 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35513 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35517 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
35538 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
35550 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35555 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
35558 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35563 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
35565 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"TreeEvent_GetToolTip", (PyCFunction
) _wrap_TreeEvent_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
35582 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
35658 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35675 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
35680 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
35685 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35689 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35698 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35710 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
35711 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
35719 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
35724 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
35726 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35727 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35729 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35732 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
35735 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
35737 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35743 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35744 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35746 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
35755 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"new_PreDatePickerCtrl", (PyCFunction
) _wrap_new_PreDatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35757 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35758 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35759 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
) _wrap_DatePickerCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetLowerLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
) _wrap_DatePickerCtrl_GetUpperLimit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
35764 { NULL
, NULL
, 0, NULL
}
35768 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35770 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
35771 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
35773 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
35774 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35776 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
35777 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35779 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
35780 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35782 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
35783 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
35785 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
35786 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35788 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
35789 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
35791 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
35792 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
35794 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
35795 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
35797 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
35798 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35800 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
35801 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
35803 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
35804 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
35806 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
35807 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
35809 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
35810 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
35812 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
35813 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
35815 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
35816 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
35818 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
35819 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
35821 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
35822 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
35824 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
35825 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
35827 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
35828 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
35830 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
35831 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
35833 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
35834 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35836 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
35837 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
35839 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
35840 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
35842 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
35843 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
35845 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
35846 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
35848 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
35849 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
35851 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
35852 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
35854 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
35855 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35857 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
35858 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35860 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
35861 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
35863 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
35864 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
35866 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
35867 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
35869 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
35870 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
35872 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
35873 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
35875 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
35876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
35878 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
35879 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
35881 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
35882 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
35884 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
35885 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35887 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
35888 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35890 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
35891 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35893 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
35894 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35896 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
35897 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35899 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
35900 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
35902 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
35903 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
35905 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
35906 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35908 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
35909 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
35911 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
35912 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
35914 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
35915 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35917 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
35918 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35920 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
35921 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35923 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
35924 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
35926 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
35927 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
35929 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
35930 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
35932 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
35933 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
35935 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
35936 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35938 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
35939 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
35941 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
35942 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
35944 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
35945 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
35947 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
35948 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
35950 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
35951 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
35953 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
35954 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
35956 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
35957 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
35959 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
35960 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
35962 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
35963 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
35965 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
35966 return (void *)((wxControl
*) ((wxPyControl
*) x
));
35968 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
35969 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
35971 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
35972 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
35974 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
35975 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
35977 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
35978 return (void *)((wxControl
*) ((wxComboBox
*) x
));
35980 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
35981 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
35983 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
35984 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
35986 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
35987 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
35989 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
35990 return (void *)((wxControl
*) ((wxGauge
*) x
));
35992 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
35993 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
35995 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
35996 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
35998 static void *_p_wxListbookTo_p_wxControl(void *x
) {
35999 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
36001 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
36002 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
36004 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
36005 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
36007 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
36008 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
36010 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
36011 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
36013 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
36014 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
36016 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
36017 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36019 static void *_p_wxListViewTo_p_wxControl(void *x
) {
36020 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
36022 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
36023 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
36025 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
36026 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
36028 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
36029 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
36031 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
36032 return (void *)((wxControl
*) ((wxStaticText
*) x
));
36034 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
36035 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
36037 static void *_p_wxSliderTo_p_wxControl(void *x
) {
36038 return (void *)((wxControl
*) ((wxSlider
*) x
));
36040 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
36041 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36043 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
36044 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
36046 static void *_p_wxButtonTo_p_wxControl(void *x
) {
36047 return (void *)((wxControl
*) ((wxButton
*) x
));
36049 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
36050 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
36052 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
36053 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
36055 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
36056 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
36058 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
36059 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
36061 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
36062 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36064 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
36065 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36067 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
36068 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36070 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
36071 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
36073 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
36074 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36076 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
36077 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36079 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
36080 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36082 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
36083 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36085 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
36086 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36088 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
36089 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
36091 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
36092 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
36094 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36095 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36097 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
36098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36100 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36101 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36103 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36104 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36106 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
36107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36109 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36110 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36112 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
36113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36115 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
36116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36118 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36119 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36121 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36122 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36124 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
36125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36127 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
36128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36130 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
36131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36133 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
36134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36136 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
36137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36139 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36140 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36142 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
36143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36145 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
36146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36148 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36151 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
36152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36154 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
36155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36157 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
36158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36160 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
36161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36163 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
36164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36166 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
36167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36169 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
36170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36172 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
36173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36175 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
36176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36178 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
36179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36181 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
36182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36184 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
36185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36187 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
36188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36190 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
36191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36193 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
36194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36196 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
36197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36199 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
36200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36202 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
36203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36205 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
36206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36208 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
36209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36211 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
36212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36214 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
36215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36217 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
36218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36220 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
36221 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
36223 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
36224 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
36226 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
36227 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36229 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
36230 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36232 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
36233 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
36235 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36236 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36238 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36239 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36241 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36242 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36244 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36247 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36248 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36250 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
36251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36253 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36254 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36256 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36257 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36259 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36260 return (void *)((wxObject
*) ((wxSizer
*) x
));
36262 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36263 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36265 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
36266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
36268 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
36269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
36271 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36274 static void *_p_wxEventTo_p_wxObject(void *x
) {
36275 return (void *)((wxObject
*) ((wxEvent
*) x
));
36277 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36278 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36280 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36281 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36283 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36284 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36286 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
36287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
36289 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
36290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
36292 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
36293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36295 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36296 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36298 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36299 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36301 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36302 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36304 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36305 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36307 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36308 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36310 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36311 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36313 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
36314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
36316 static void *_p_wxControlTo_p_wxObject(void *x
) {
36317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36319 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
36320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
36322 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
36323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
36325 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
36326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
36328 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
36329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
36331 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
36332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
36334 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36335 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36337 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
36338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36340 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36341 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36343 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36344 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36346 static void *_p_wxListViewTo_p_wxObject(void *x
) {
36347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36349 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
36350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
36352 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
36353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36355 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36356 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36358 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36359 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36361 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
36362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36364 static void *_p_wxListbookTo_p_wxObject(void *x
) {
36365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36367 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36368 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36370 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
36371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
36373 static void *_p_wxSliderTo_p_wxObject(void *x
) {
36374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
36376 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36377 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36379 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36380 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36382 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36383 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36385 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36388 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36389 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36391 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36392 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36394 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36395 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36397 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36398 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36400 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36401 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36403 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36404 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36406 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
36407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
36409 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
36410 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
36412 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
36413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
36415 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36416 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36418 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36419 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36421 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36422 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36424 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36425 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36427 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36428 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36430 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36431 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36433 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36434 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36436 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36437 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36439 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36440 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36442 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36445 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36446 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36448 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36451 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36452 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36454 static void *_p_wxListEventTo_p_wxObject(void *x
) {
36455 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
36457 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
36458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36460 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
36461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36463 static void *_p_wxButtonTo_p_wxObject(void *x
) {
36464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
36466 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
36467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36469 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
36470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
36472 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
36473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36475 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36476 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36478 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36479 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36481 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
36482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
36484 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
36485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
36487 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
36488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
36490 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
36491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
36493 static void *_p_wxListItemTo_p_wxObject(void *x
) {
36494 return (void *)((wxObject
*) ((wxListItem
*) x
));
36496 static void *_p_wxImageTo_p_wxObject(void *x
) {
36497 return (void *)((wxObject
*) ((wxImage
*) x
));
36499 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
36500 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
36502 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36503 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36505 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
36506 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36508 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
36509 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
36511 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
36512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
36514 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
36515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36517 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
36518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36520 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
36521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36523 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36526 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36527 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36529 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36530 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36532 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36533 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36535 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36536 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36538 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36541 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36542 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36544 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36547 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36548 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36550 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36551 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36553 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36554 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36556 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36557 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36559 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36560 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36562 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
36563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36565 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
36566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36568 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36569 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36571 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36572 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36574 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
36575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
36577 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36578 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36580 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36581 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36583 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36584 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36586 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
36587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
36589 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36592 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
36593 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
36595 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
36596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36598 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36601 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36602 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36604 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
36605 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
36607 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36608 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36610 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
36611 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
36613 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
36614 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
36616 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
36617 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
36619 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
36620 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
36622 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36623 return (void *)((wxWindow
*) ((wxControl
*) x
));
36625 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
36626 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
36628 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
36629 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36631 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
36632 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
36634 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
36635 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
36637 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
36638 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
36640 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
36641 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
36643 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
36644 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
36646 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36647 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36649 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
36650 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
36652 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
36653 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
36655 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
36656 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
36658 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
36659 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
36661 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
36662 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
36664 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
36665 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
36667 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
36668 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
36670 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
36671 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
36673 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
36674 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
36676 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
36677 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
36679 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
36680 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
36682 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
36683 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
36685 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
36686 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
36688 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
36689 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
36691 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
36692 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
36694 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
36695 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
36697 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
36698 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
36700 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
36701 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
36703 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
36704 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
36706 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
36707 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
36709 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
36710 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
36712 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
36713 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
36715 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
36716 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
36718 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36719 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36721 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36722 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36724 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
36725 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36727 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36728 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36730 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
36731 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
36733 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36734 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36736 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36737 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36739 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36740 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36742 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36743 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36745 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
36746 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
36748 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
36749 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
36751 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
36752 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
36754 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
36755 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
36757 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36758 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36760 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
36761 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
36763 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
36764 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
36766 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
36767 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
36769 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
36770 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
36772 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
36773 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
36775 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36776 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36778 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36779 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36781 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
36782 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
36784 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
36785 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
36787 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
36788 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
36790 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
36791 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
36793 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36794 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36796 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}};
36797 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}};
36798 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}};
36799 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}};
36800 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}};
36801 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}};
36802 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}};
36803 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}};
36804 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}};
36805 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}};
36806 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}};
36807 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}};
36808 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}};
36809 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}};
36810 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}};
36811 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}};
36812 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}};
36813 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}};
36814 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}};
36815 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}};
36816 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}};
36817 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}};
36818 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}};
36819 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}};
36820 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}};
36821 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}};
36822 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}};
36823 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}};
36824 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}};
36825 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}};
36826 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}};
36827 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}};
36828 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}};
36829 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}};
36830 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}};
36831 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}};
36832 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}};
36833 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}};
36834 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}};
36835 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}};
36836 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}};
36837 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}};
36838 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}};
36839 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}};
36840 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}};
36841 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}};
36842 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}};
36843 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}};
36844 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}};
36845 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}};
36846 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}};
36847 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}};
36848 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}};
36849 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}};
36850 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}};
36851 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}};
36852 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}};
36853 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}};
36854 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}};
36855 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}};
36856 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}};
36857 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}};
36858 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}};
36859 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}};
36860 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}};
36861 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}};
36862 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}};
36863 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}};
36864 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}};
36865 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}};
36866 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}};
36867 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}};
36868 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}};
36869 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}};
36870 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}};
36871 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}};
36872 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}};
36873 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}};
36874 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}};
36875 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}};
36876 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}};
36877 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}};
36878 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}};
36879 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}};
36880 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}};
36881 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}};
36882 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}};
36883 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}};
36884 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}};
36885 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}};
36886 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}};
36887 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}};
36888 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}};
36889 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}};
36890 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}};
36891 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}};
36892 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}};
36893 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}};
36895 static swig_type_info
*swig_types_initial
[] = {
36896 _swigt__p_wxTextUrlEvent
,
36898 _swigt__p_wxCheckBox
,
36899 _swigt__p_wxPyTreeCtrl
,
36901 _swigt__p_wxGenericDirCtrl
,
36903 _swigt__p_wxItemContainer
,
36904 _swigt__p_wxPyListCtrl
,
36905 _swigt__p_wxPyTreeItemData
,
36906 _swigt__p_wxDirFilterListCtrl
,
36907 _swigt__p_wxStaticLine
,
36908 _swigt__p_wxControl
,
36909 _swigt__p_wxPyControl
,
36911 _swigt__p_wxToolBarBase
,
36913 _swigt__p_wxToggleButton
,
36914 _swigt__p_wxRadioButton
,
36915 _swigt__p_wxChoice
,
36916 _swigt__p_wxMemoryDC
,
36918 _swigt__std__ptrdiff_t
,
36919 _swigt__p_wxListItemAttr
,
36924 _swigt__p_wxListView
,
36926 _swigt__p_wxVisualAttributes
,
36927 _swigt__p_wxTextCtrl
,
36928 _swigt__p_wxNotebook
,
36929 _swigt__p_wxChoicebook
,
36930 _swigt__p_wxNotifyEvent
,
36931 _swigt__p_wxArrayString
,
36932 _swigt__p_form_ops_t
,
36933 _swigt__p_wxListbook
,
36934 _swigt__p_wxStaticBitmap
,
36935 _swigt__p_wxSlider
,
36936 _swigt__p_wxStaticBox
,
36937 _swigt__p_wxArrayInt
,
36938 _swigt__p_wxContextHelp
,
36940 _swigt__p_wxDuplexMode
,
36941 _swigt__p_wxBookCtrlBase
,
36942 _swigt__p_wxEvtHandler
,
36943 _swigt__p_wxListEvent
,
36944 _swigt__p_wxCheckListBox
,
36945 _swigt__p_wxListBox
,
36946 _swigt__p_wxSpinButton
,
36947 _swigt__p_wxButton
,
36948 _swigt__p_wxBitmapButton
,
36950 _swigt__p_wxContextHelpButton
,
36951 _swigt__p_wxRadioBox
,
36952 _swigt__p_wxScrollBar
,
36954 _swigt__p_wxComboBox
,
36955 _swigt__p_wxTreeItemId
,
36956 _swigt__p_wxHelpEvent
,
36957 _swigt__p_wxListItem
,
36958 _swigt__p_wxNotebookSizer
,
36959 _swigt__p_wxSpinEvent
,
36960 _swigt__p_wxGenericDragImage
,
36961 _swigt__p_wxSpinCtrl
,
36962 _swigt__p_wxPaperSize
,
36963 _swigt__p_wxImageList
,
36964 _swigt__p_wxHelpProvider
,
36965 _swigt__p_wxTextAttr
,
36966 _swigt__p_wxSimpleHelpProvider
,
36967 _swigt__p_wxChoicebookEvent
,
36968 _swigt__p_wxListbookEvent
,
36969 _swigt__p_wxNotebookEvent
,
36971 _swigt__p_wxObject
,
36972 _swigt__p_wxCursor
,
36973 _swigt__p_wxDateTime
,
36974 _swigt__p_wxKeyEvent
,
36975 _swigt__p_unsigned_long
,
36976 _swigt__p_wxWindow
,
36977 _swigt__p_wxString
,
36978 _swigt__p_wxBitmap
,
36979 _swigt__unsigned_int
,
36980 _swigt__p_unsigned_int
,
36981 _swigt__p_unsigned_char
,
36982 _swigt__p_wxMouseEvent
,
36983 _swigt__p_wxBookCtrlBaseEvent
,
36984 _swigt__p_wxTreeEvent
,
36985 _swigt__p_wxCommandEvent
,
36986 _swigt__p_wxStaticText
,
36987 _swigt__p_wxDatePickerCtrl
,
36988 _swigt__p_wxControlWithItems
,
36989 _swigt__p_wxToolBarToolBase
,
36990 _swigt__p_wxColour
,
36991 _swigt__p_wxToolBar
,
36992 _swigt__p_wxBookCtrlSizer
,
36993 _swigt__p_wxValidator
,
36998 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37000 static swig_const_info swig_const_table
[] = {
37001 {0, 0, 0, 0.0, 0, 0}};
37012 /* Python-specific SWIG API */
37013 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37014 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37015 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37017 /* -----------------------------------------------------------------------------
37018 * global variable support code.
37019 * ----------------------------------------------------------------------------- */
37021 typedef struct swig_globalvar
{
37022 char *name
; /* Name of global variable */
37023 PyObject
*(*get_attr
)(); /* Return the current value */
37024 int (*set_attr
)(PyObject
*); /* Set the value */
37025 struct swig_globalvar
*next
;
37028 typedef struct swig_varlinkobject
{
37030 swig_globalvar
*vars
;
37031 } swig_varlinkobject
;
37034 swig_varlink_repr(swig_varlinkobject
*v
) {
37036 return PyString_FromString("<Swig global variables>");
37040 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
37041 swig_globalvar
*var
;
37043 fprintf(fp
,"Swig global variables { ");
37044 for (var
= v
->vars
; var
; var
=var
->next
) {
37045 fprintf(fp
,"%s", var
->name
);
37046 if (var
->next
) fprintf(fp
,", ");
37048 fprintf(fp
," }\n");
37053 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37054 swig_globalvar
*var
= v
->vars
;
37056 if (strcmp(var
->name
,n
) == 0) {
37057 return (*var
->get_attr
)();
37061 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37066 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37067 swig_globalvar
*var
= v
->vars
;
37069 if (strcmp(var
->name
,n
) == 0) {
37070 return (*var
->set_attr
)(p
);
37074 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37078 static PyTypeObject varlinktype
= {
37079 PyObject_HEAD_INIT(0)
37080 0, /* Number of items in variable part (ob_size) */
37081 (char *)"swigvarlink", /* Type name (tp_name) */
37082 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37083 0, /* Itemsize (tp_itemsize) */
37084 0, /* Deallocator (tp_dealloc) */
37085 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37086 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37087 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37088 0, /* tp_compare */
37089 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37090 0, /* tp_as_number */
37091 0, /* tp_as_sequence */
37092 0, /* tp_as_mapping */
37096 0, /* tp_getattro */
37097 0, /* tp_setattro */
37098 0, /* tp_as_buffer */
37101 #if PY_VERSION_HEX >= 0x02000000
37102 0, /* tp_traverse */
37105 #if PY_VERSION_HEX >= 0x02010000
37106 0, /* tp_richcompare */
37107 0, /* tp_weaklistoffset */
37109 #if PY_VERSION_HEX >= 0x02020000
37110 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37112 #if PY_VERSION_HEX >= 0x02030000
37115 #ifdef COUNT_ALLOCS
37116 0,0,0,0 /* tp_alloc -> tp_next */
37120 /* Create a variable linking object for use later */
37122 SWIG_Python_newvarlink(void) {
37123 swig_varlinkobject
*result
= 0;
37124 result
= PyMem_NEW(swig_varlinkobject
,1);
37125 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
37126 result
->ob_type
= &varlinktype
;
37128 result
->ob_refcnt
= 0;
37129 Py_XINCREF((PyObject
*) result
);
37130 return ((PyObject
*) result
);
37134 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37135 swig_varlinkobject
*v
;
37136 swig_globalvar
*gv
;
37137 v
= (swig_varlinkobject
*) p
;
37138 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37139 gv
->name
= (char *) malloc(strlen(name
)+1);
37140 strcpy(gv
->name
,name
);
37141 gv
->get_attr
= get_attr
;
37142 gv
->set_attr
= set_attr
;
37143 gv
->next
= v
->vars
;
37147 /* -----------------------------------------------------------------------------
37148 * constants/methods manipulation
37149 * ----------------------------------------------------------------------------- */
37151 /* Install Constants */
37153 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37156 for (i
= 0; constants
[i
].type
; i
++) {
37157 switch(constants
[i
].type
) {
37159 obj
= PyInt_FromLong(constants
[i
].lvalue
);
37161 case SWIG_PY_FLOAT
:
37162 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
37164 case SWIG_PY_STRING
:
37165 if (constants
[i
].pvalue
) {
37166 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
37168 Py_INCREF(Py_None
);
37172 case SWIG_PY_POINTER
:
37173 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37175 case SWIG_PY_BINARY
:
37176 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37183 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
37189 /* -----------------------------------------------------------------------------*/
37190 /* Fix SwigMethods to carry the callback ptrs when needed */
37191 /* -----------------------------------------------------------------------------*/
37194 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37195 swig_const_info
*const_table
,
37196 swig_type_info
**types
,
37197 swig_type_info
**types_initial
) {
37199 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37200 char *c
= methods
[i
].ml_doc
;
37201 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37203 swig_const_info
*ci
= 0;
37204 char *name
= c
+ 10;
37205 for (j
= 0; const_table
[j
].type
; j
++) {
37206 if (strncmp(const_table
[j
].name
, name
,
37207 strlen(const_table
[j
].name
)) == 0) {
37208 ci
= &(const_table
[j
]);
37213 size_t shift
= (ci
->ptype
) - types
;
37214 swig_type_info
*ty
= types_initial
[shift
];
37215 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37216 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37217 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37219 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
37220 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37222 strncpy(buff
, "swig_ptr: ", 10);
37224 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37225 methods
[i
].ml_doc
= ndoc
;
37231 /* -----------------------------------------------------------------------------*
37232 * Initialize type list
37233 * -----------------------------------------------------------------------------*/
37235 #if PY_MAJOR_VERSION < 2
37236 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37237 is copied out of Python/modsupport.c in python version 2.3.4 */
37239 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
37242 if (!PyModule_Check(m
)) {
37243 PyErr_SetString(PyExc_TypeError
,
37244 "PyModule_AddObject() needs module as first arg");
37248 PyErr_SetString(PyExc_TypeError
,
37249 "PyModule_AddObject() needs non-NULL value");
37253 dict
= PyModule_GetDict(m
);
37254 if (dict
== NULL
) {
37255 /* Internal error -- modules must have a dict! */
37256 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
37257 PyModule_GetName(m
));
37260 if (PyDict_SetItemString(dict
, name
, o
))
37267 static swig_type_info
**
37268 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
37269 static PyMethodDef swig_empty_runtime_method_table
[] = {
37271 NULL
, NULL
, 0, NULL
37275 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
37276 swig_empty_runtime_method_table
);
37277 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
37278 if (pointer
&& module) {
37279 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
37281 return type_list_handle
;
37284 static swig_type_info
**
37285 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
37286 swig_type_info
**type_pointer
;
37288 /* first check if module already created */
37289 type_pointer
= SWIG_Python_GetTypeListHandle();
37290 if (type_pointer
) {
37291 return type_pointer
;
37293 /* create a new module and variable */
37294 return SWIG_Python_SetTypeListHandle(type_list_handle
);
37302 /* -----------------------------------------------------------------------------*
37303 * Partial Init method
37304 * -----------------------------------------------------------------------------*/
37306 #ifdef SWIG_LINK_RUNTIME
37310 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37316 SWIGEXPORT(void) SWIG_init(void) {
37317 static PyObject
*SWIG_globals
= 0;
37318 static int typeinit
= 0;
37321 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37323 /* Fix SwigMethods to carry the callback ptrs when needed */
37324 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
37326 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37327 d
= PyModule_GetDict(m
);
37330 #ifdef SWIG_LINK_RUNTIME
37331 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
37333 # ifndef SWIG_STATIC_RUNTIME
37334 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
37337 for (i
= 0; swig_types_initial
[i
]; i
++) {
37338 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37342 SWIG_InstallConstants(d
,swig_const_table
);
37344 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37345 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
37347 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT
)));
37350 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)(wxBU_TOP
)));
37353 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT
)));
37356 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM
)));
37359 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK
)));
37362 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT
)));
37365 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW
)));
37367 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
37369 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE
)));
37372 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE
)));
37375 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
37378 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED
)));
37381 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED
)));
37384 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED
)));
37386 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
37387 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
37388 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
37390 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL
)));
37393 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL
)));
37396 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH
)));
37399 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR
)));
37401 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
37402 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
37403 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
37404 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
37405 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
37407 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL
)));
37410 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL
)));
37413 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY
)));
37416 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE
)));
37419 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB
)));
37422 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT
)));
37425 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER
)));
37428 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT
)));
37431 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE
)));
37434 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)(wxTE_RICH
)));
37437 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER
)));
37440 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD
)));
37443 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL
)));
37446 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL
)));
37449 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP
)));
37452 PyDict_SetItemString(d
,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP
)));
37455 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP
)));
37458 PyDict_SetItemString(d
,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP
)));
37461 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP
)));
37464 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2
)));
37467 PyDict_SetItemString(d
,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE
)));
37470 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT
)));
37473 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT
)));
37476 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE
)));
37479 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER
)));
37482 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT
)));
37485 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED
)));
37488 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR
)));
37491 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
37494 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE
)));
37497 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE
)));
37500 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT
)));
37503 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC
)));
37506 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE
)));
37509 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT
)));
37512 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT
)));
37515 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT
)));
37518 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT
)));
37521 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS
)));
37524 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN
)));
37527 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE
)));
37530 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT
)));
37533 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW
)));
37536 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND
)));
37539 PyDict_SetItemString(d
,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord
)));
37542 PyDict_SetItemString(d
,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord
)));
37544 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
37545 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
37546 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
37547 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
37548 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
37549 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
37550 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
37552 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL
)));
37555 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL
)));
37558 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS
)));
37561 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP
)));
37563 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
37564 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
37565 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
37566 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
37568 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
37571 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
37574 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
37577 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
37580 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
37583 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
37586 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
37589 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
37592 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
37595 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
37598 PyDict_SetItemString(d
,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE
)));
37600 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
37601 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
37602 SWIG_addvarlink(SWIG_globals
,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get
, _wrap_NotebookNameStr_set
);
37604 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH
)));
37607 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)(wxNB_TOP
)));
37610 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT
)));
37613 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT
)));
37616 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM
)));
37619 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE
)));
37622 PyDict_SetItemString(d
,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME
)));
37625 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE
)));
37628 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON
)));
37631 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL
)));
37634 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM
)));
37636 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
37637 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
37639 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT
)));
37642 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)(wxLB_TOP
)));
37645 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM
)));
37648 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT
)));
37651 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT
)));
37654 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK
)));
37656 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
37657 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
37659 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT
)));
37662 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP
)));
37665 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM
)));
37668 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT
)));
37671 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT
)));
37674 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK
)));
37676 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
37677 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
37679 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON
)));
37682 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR
)));
37685 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL
)));
37688 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL
)));
37691 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL
)));
37694 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS
)));
37697 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT
)));
37700 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE
)));
37703 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS
)));
37706 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT
)));
37709 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER
)));
37712 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN
)));
37715 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT
)));
37718 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT
)));
37720 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
37722 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES
)));
37725 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES
)));
37728 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)(wxLC_ICON
)));
37731 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON
)));
37734 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)(wxLC_LIST
)));
37737 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT
)));
37740 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP
)));
37743 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT
)));
37746 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE
)));
37749 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL
)));
37752 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS
)));
37755 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER
)));
37758 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER
)));
37761 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL
)));
37764 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING
)));
37767 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING
)));
37770 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE
)));
37773 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN
)));
37776 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT
)));
37779 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE
)));
37782 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT
)));
37785 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE
)));
37788 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA
)));
37791 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM
)));
37794 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH
)));
37797 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT
)));
37800 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE
)));
37803 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED
)));
37806 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED
)));
37809 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED
)));
37812 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT
)));
37815 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED
)));
37818 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED
)));
37821 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE
)));
37824 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED
)));
37827 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE
)));
37830 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE
)));
37833 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW
)));
37836 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE
)));
37839 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON
)));
37842 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL
)));
37845 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT
)));
37848 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON
)));
37851 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT
)));
37854 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT
)));
37857 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM
)));
37860 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE
)));
37863 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL
)));
37866 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW
)));
37869 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT
)));
37872 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT
)));
37875 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT
)));
37878 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT
)));
37881 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP
)));
37884 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID
)));
37887 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT
)));
37890 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT
)));
37893 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE
)));
37896 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER
)));
37899 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE
)));
37902 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER
)));
37905 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS
)));
37908 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON
)));
37911 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL
)));
37914 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP
)));
37917 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN
)));
37920 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT
)));
37923 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT
)));
37925 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
37926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
37927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
37928 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
37929 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
37930 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
37931 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
37932 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
37933 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
37934 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
37935 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
37936 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
37937 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
37938 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
37939 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
37940 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
37941 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
37942 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
37943 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
37944 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
37945 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
37946 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
37948 // Map renamed classes back to their common name for OOR
37949 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37951 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
37953 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS
)));
37956 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS
)));
37959 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES
)));
37962 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT
)));
37965 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE
)));
37968 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE
)));
37971 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED
)));
37974 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
37977 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS
)));
37980 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT
)));
37983 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES
)));
37986 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT
)));
37989 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE
)));
37992 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS
)));
37995 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS
)));
37998 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS
)));
38001 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal
)));
38004 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected
)));
38007 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded
)));
38010 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded
)));
38013 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max
)));
38016 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE
)));
38019 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW
)));
38022 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE
)));
38025 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON
)));
38028 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON
)));
38031 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT
)));
38034 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL
)));
38037 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT
)));
38040 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON
)));
38043 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT
)));
38046 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT
)));
38049 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART
)));
38052 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART
)));
38055 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM
)));
38057 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
38058 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
38059 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
38060 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
38061 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
38062 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
38063 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
38064 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
38065 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
38066 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
38067 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
38068 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
38069 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
38070 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
38071 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
38072 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
38073 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
38074 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
38075 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
38076 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
38077 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
38079 // Map renamed classes back to their common name for OOR
38080 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38081 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38083 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
38085 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY
)));
38088 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST
)));
38091 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS
)));
38094 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL
)));
38097 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS
)));
38100 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP
)));
38103 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP
)));
38105 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
38106 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
38108 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38110 SWIG_addvarlink(SWIG_globals
,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get
, _wrap_DatePickerCtrlNameStr_set
);
38112 PyDict_SetItemString(d
,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT
)));
38115 PyDict_SetItemString(d
,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN
)));
38118 PyDict_SetItemString(d
,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN
)));
38121 PyDict_SetItemString(d
,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY
)));
38124 PyDict_SetItemString(d
,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE
)));